Searched refs:seckey (Results 1 – 3 of 3) sorted by relevance
/drivers/s390/crypto/ |
D | pkey_api.c | 266 static int pkey_verifykey(const struct pkey_seckey *seckey, in pkey_verifykey() argument 270 struct secaeskeytoken *t = (struct secaeskeytoken *) seckey; in pkey_verifykey() 275 rc = cca_check_secaeskeytoken(debug_info, 3, (u8 *) seckey, 0); in pkey_verifykey() 284 rc = cca_findcard(seckey->seckey, &cardnr, &domain, 1); in pkey_verifykey() 1153 kgs.keytype, kgs.seckey.seckey); in pkey_unlocked_ioctl() 1168 kcs.clrkey.clrkey, kcs.seckey.seckey); in pkey_unlocked_ioctl() 1184 ksp.seckey.seckey, ksp.protkey.protkey, in pkey_unlocked_ioctl() 1215 rc = cca_findcard(kfc.seckey.seckey, in pkey_unlocked_ioctl() 1230 rc = pkey_skey2pkey(ksp.seckey.seckey, &ksp.protkey); in pkey_unlocked_ioctl() 1244 rc = pkey_verifykey(&kvk.seckey, &kvk.cardnr, &kvk.domain, in pkey_unlocked_ioctl() [all …]
|
D | zcrypt_ccamisc.h | 162 int cca_genseckey(u16 cardnr, u16 domain, u32 keybitsize, u8 *seckey); 168 const u8 *clrkey, u8 *seckey); 174 const u8 *seckey, u8 *protkey, u32 *protkeylen,
|
D | zcrypt_ccamisc.c | 298 u32 keybitsize, u8 *seckey) in cca_genseckey() argument 429 memcpy(seckey, prepparm->lv3.keyblock.tok, SECKEYBLOBSIZE); in cca_genseckey() 441 const u8 *clrkey, u8 *seckey) in cca_clr2seckey() argument 567 if (seckey) in cca_clr2seckey() 568 memcpy(seckey, prepparm->lv3.keyblock.tok, SECKEYBLOBSIZE); in cca_clr2seckey() 580 const u8 *seckey, u8 *protkey, u32 *protkeylen, in cca_sec2protkey() argument 645 memcpy(preqparm->lv2.token, seckey, SECKEYBLOBSIZE); in cca_sec2protkey()
|