Searched refs:seckey (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/arch/s390/include/uapi/asm/ |
D | pkey.h | 85 __u8 seckey[SECKEYBLOBSIZE]; /* the secure key blob */ member 121 struct pkey_seckey seckey; /* out: the secure key blob */ member 133 struct pkey_seckey seckey; /* out: the secure key blob */ member 143 struct pkey_seckey seckey; /* in: the secure key blob */ member 163 struct pkey_seckey seckey; /* in: the secure key blob */ member 173 struct pkey_seckey seckey; /* in: the secure key blob */ member 187 struct pkey_seckey seckey; /* in: the secure key blob */ member
|
/Linux-v6.6/drivers/s390/crypto/ |
D | pkey_api.c | 330 static int pkey_verifykey(const struct pkey_seckey *seckey, in pkey_verifykey() argument 334 struct secaeskeytoken *t = (struct secaeskeytoken *)seckey; in pkey_verifykey() 339 rc = cca_check_secaeskeytoken(debug_info, 3, (u8 *)seckey, 0); in pkey_verifykey() 348 rc = cca_findcard(seckey->seckey, &cardnr, &domain, 1); in pkey_verifykey() 1352 kgs.keytype, kgs.seckey.seckey); in pkey_unlocked_ioctl() 1367 kcs.clrkey.clrkey, kcs.seckey.seckey); in pkey_unlocked_ioctl() 1384 ksp.seckey.seckey, ksp.protkey.protkey, in pkey_unlocked_ioctl() 1417 rc = cca_findcard(kfc.seckey.seckey, in pkey_unlocked_ioctl() 1433 rc = pkey_skey2pkey(ksp.seckey.seckey, ksp.protkey.protkey, in pkey_unlocked_ioctl() 1448 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()
|