Lines Matching defs:key
3 * POWER Platform specific code for non-volatile SED key access
9 * Self Encrypting Drives(SED) key storage using PLPKS
16 #include <linux/sed-opal-key.h>
31 u_char key[32];
68 * Read the SED Opal key from PLPKS given the label
70 int sed_read_key(char *keyname, char *key, u_int *keylen)
90 memcpy(key, data.key, len);
91 key[len] = '\0';
98 * Write the SED Opal key to PLPKS given the label
100 int sed_write_key(char *keyname, char *key, u_int keylen)
120 memcpy(data.key, (char *)key, keylen);
124 * is ignored since it's okay if the key doesn't exist.