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.
228 * Find card and transform EP11 secure key into protected key.
307 * Generate a random protected key
334 /* convert it to a dummy protected key */ in pkey_genprotkey()
339 /* replace the key part of the protected key with random bytes */ in pkey_genprotkey()
346 * Verify if a protected key is still valid
383 DEBUG_ERR("%s protected key is not valid\n", __func__); in pkey_verifyprotkey()
391 * Transform a non-CCA key token into a protected key
457 /* now we should really have an protected key */ in pkey_nonccatok2pkey()
458 DEBUG_ERR("%s unable to build protected key from clear", in pkey_nonccatok2pkey()
463 /* check ep11 key for exportable as protected key */ in pkey_nonccatok2pkey()
471 /* check ep11 key with header for exportable as protected key */ in pkey_nonccatok2pkey()
490 * Transform a CCA internal key token into a protected key
516 * Transform a key blob (of any type) into a protected key
1582 * Sysfs attribute read function for all protected key binary attributes.
1584 * protected key blob is generated with each read. In case of partial reads
1704 * protected key blob is generated with each read. In case of partial reads
2084 * are able to work with protected keys. in pkey_init()