Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/s390/crypto/
Dpkey_api.c103 keybuflen = sizeof(kgs.seckey.seckey); in pkey_ioctl_genseck()
106 kgs.seckey.seckey, &keybuflen, NULL); in pkey_ioctl_genseck()
127 keybuflen = sizeof(kcs.seckey.seckey); in pkey_ioctl_clr2seck()
132 kcs.seckey.seckey, &keybuflen, NULL); in pkey_ioctl_clr2seck()
154 ksp.seckey.seckey, in pkey_ioctl_sec2protk()
155 sizeof(ksp.seckey.seckey), in pkey_ioctl_sec2protk()
228 rc = pkey_handler_apqns_for_key(kfc.seckey.seckey, in pkey_ioctl_findcard()
229 sizeof(kfc.seckey.seckey), in pkey_ioctl_findcard()
233 rc = pkey_handler_apqns_for_key(kfc.seckey.seckey, in pkey_ioctl_findcard()
234 sizeof(kfc.seckey.seckey), in pkey_ioctl_findcard()
[all …]
Dpkey_sysfs.c313 struct pkey_seckey *seckey = (struct pkey_seckey *)buf; in pkey_ccadata_aes_attr_read() local
323 buflen = sizeof(seckey->seckey); in pkey_ccadata_aes_attr_read()
325 seckey->seckey, &buflen, NULL); in pkey_ccadata_aes_attr_read()
330 seckey++; in pkey_ccadata_aes_attr_read()
331 buflen = sizeof(seckey->seckey); in pkey_ccadata_aes_attr_read()
333 seckey->seckey, &buflen, NULL); in pkey_ccadata_aes_attr_read()
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.c293 u32 keybitsize, u8 *seckey) in cca_genseckey() argument
424 memcpy(seckey, prepparm->lv3.keyblock.tok, SECKEYBLOBSIZE); in cca_genseckey()
436 const u8 *clrkey, u8 *seckey) in cca_clr2seckey() argument
562 if (seckey) in cca_clr2seckey()
563 memcpy(seckey, prepparm->lv3.keyblock.tok, SECKEYBLOBSIZE); in cca_clr2seckey()
575 const u8 *seckey, u8 *protkey, u32 *protkeylen, in cca_sec2protkey() argument
640 memcpy(preqparm->lv2.token, seckey, SECKEYBLOBSIZE); in cca_sec2protkey()
/linux-6.12.1/arch/s390/include/uapi/asm/
Dpkey.h90 __u8 seckey[SECKEYBLOBSIZE]; /* the secure key blob */ member
126 struct pkey_seckey seckey; /* out: the secure key blob */ member
138 struct pkey_seckey seckey; /* out: the secure key blob */ member
148 struct pkey_seckey seckey; /* in: the secure key blob */ member
168 struct pkey_seckey seckey; /* in: the secure key blob */ member
178 struct pkey_seckey seckey; /* in: the secure key blob */ member
192 struct pkey_seckey seckey; /* in: the secure key blob */ member