Lines Matching full:protected
32 MODULE_DESCRIPTION("s390 protected key interface");
35 #define PROTKEYBLOBBUFSIZE 256 /* protected key buffer size used internal */
62 /* inside view of a protected key token (only type 0x00 version 0x01) */
66 u8 version; /* should be 0x01 for protected AES key token */
70 u8 protkey[MAXPROTKEYSIZE]; /* the protected key blob */
85 * Create a protected key from a clear key value.
136 /* copy created protected key */ in pkey_clr2protkey()
145 * Find card and transform secure key into protected key.
224 * Find card and transform EP11 secure key into protected key.
301 * Generate a random protected key
328 /* convert it to a dummy protected key */ in pkey_genprotkey()
333 /* replace the key part of the protected key with random bytes */ in pkey_genprotkey()
340 * Verify if a protected key is still valid
377 DEBUG_ERR("%s protected key is not valid\n", __func__); in pkey_verifyprotkey()
385 * Transform a non-CCA key token into a protected key
450 /* now we should really have an protected key */ in pkey_nonccatok2pkey()
451 DEBUG_ERR("%s unable to build protected key from clear", in pkey_nonccatok2pkey()
456 /* check ep11 key for exportable as protected key */ in pkey_nonccatok2pkey()
464 /* check ep11 key with header for exportable as protected key */ in pkey_nonccatok2pkey()
483 * Transform a CCA internal key token into a protected key
509 * Transform a key blob (of any type) into a protected key
1567 * Sysfs attribute read function for all protected key binary attributes.
1569 * protected key blob is generated with each read. In case of partial reads
1689 * protected key blob is generated with each read. In case of partial reads
2069 * are able to work with protected keys. in pkey_init()