// SPDX-License-Identifier: GPL-2.0-only /* * POWER Platform specific code for non-volatile SED key access * Copyright (C) 2022 IBM Corporation * * Define operations for SED Opal to read/write keys * from POWER LPAR Platform KeyStore(PLPKS). * * Self Encrypting Drives(SED) key storage using PLPKS
*/
/* * Read the SED Opal key from PLPKS given the label
*/ int sed_read_key(char *keyname, char *key, u_int *keylen)
{ struct plpks_var var; struct plpks_sed_object_data data; int ret;
u_int len;
/* * Write the SED Opal key to PLPKS given the label
*/ int sed_write_key(char *keyname, char *key, u_int keylen)
{ struct plpks_var var; struct plpks_sed_object_data data; struct plpks_var_name vname;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.