Searched refs:protkey (Results 1 – 5 of 5) sorted by relevance
/drivers/s390/crypto/ |
D | pkey_api.c | 70 u8 protkey[MAXPROTKEYSIZE]; /* the protected key blob */ member 89 struct pkey_protkey *protkey) in pkey_clr2protkey() argument 137 protkey->type = keytype; in pkey_clr2protkey() 138 protkey->len = keysize + 32; in pkey_clr2protkey() 139 memcpy(protkey->protkey, paramblock, keysize + 32); in pkey_clr2protkey() 171 key, pkey->protkey, in pkey_skey2pkey() 176 key, pkey->protkey, in pkey_skey2pkey() 249 pkey->len = sizeof(pkey->protkey); in pkey_ep11key2pkey() 251 pkey->protkey, &pkey->len, &pkey->type); in pkey_ep11key2pkey() 309 static int pkey_genprotkey(u32 keytype, struct pkey_protkey *protkey) in pkey_genprotkey() argument [all …]
|
D | zcrypt_ccamisc.h | 174 const u8 *seckey, u8 *protkey, u32 *protkeylen, 187 u8 *protkey, u32 *protkeylen, u32 *protkeytype); 199 u8 *protkey, u32 *protkeylen, u32 *protkeytype);
|
D | zcrypt_ep11misc.h | 144 u8 *protkey, u32 *protkeylen, u32 *protkeytype);
|
D | zcrypt_ccamisc.c | 580 const u8 *seckey, u8 *protkey, u32 *protkeylen, in cca_sec2protkey() argument 715 memcpy(protkey, prepparm->lv3.ckb.key, prepparm->lv3.ckb.len); in cca_sec2protkey() 1184 u8 *protkey, u32 *protkeylen, u32 *protkeytype) in cca_cipher2protkey() argument 1339 memcpy(protkey, prepparm->vud.ckb.key, prepparm->vud.ckb.keylen); in cca_cipher2protkey() 1353 u8 *protkey, u32 *protkeylen, u32 *protkeytype) in cca_ecc2protkey() argument 1491 memcpy(protkey, prepparm->vud.ckb.key, prepparm->vud.ckb.keylen); in cca_ecc2protkey()
|
D | zcrypt_ep11misc.c | 1267 u8 *protkey, u32 *protkeylen, u32 *protkeytype) in ep11_kblob2protkey() argument 1378 memcpy(protkey, wki->pkey, wki->pkeysize); in ep11_kblob2protkey()
|