Home
last modified time | relevance | path

Searched refs:seckey (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/arch/s390/include/uapi/asm/
Dpkey.h80 __u8 seckey[SECKEYBLOBSIZE]; /* the secure key blob */ member
116 struct pkey_seckey seckey; /* out: the secure key blob */ member
128 struct pkey_seckey seckey; /* out: the secure key blob */ member
138 struct pkey_seckey seckey; /* in: the secure key blob */ member
158 struct pkey_seckey seckey; /* in: the secure key blob */ member
168 struct pkey_seckey seckey; /* in: the secure key blob */ member
182 struct pkey_seckey seckey; /* in: the secure key blob */ member
/Linux-v5.15/drivers/s390/crypto/
Dpkey_api.c266 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 …]
Dzcrypt_ccamisc.h162 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,
Dzcrypt_ccamisc.c298 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()