Home
last modified time | relevance | path

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

/linux/drivers/s390/crypto/
H A 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 …]
H A Dpkey_sysfs.c312 struct pkey_seckey *seckey = (struct pkey_seckey *)buf; in pkey_ccadata_aes_attr_read() local
322 buflen = sizeof(seckey->seckey); in pkey_ccadata_aes_attr_read()
324 seckey->seckey, &buflen, NULL); in pkey_ccadata_aes_attr_read()
329 seckey++; in pkey_ccadata_aes_attr_read()
330 buflen = sizeof(seckey->seckey); in pkey_ccadata_aes_attr_read()
332 seckey->seckey, &buflen, NULL); in pkey_ccadata_aes_attr_read()
H A Dzcrypt_ccamisc.h163 int cca_genseckey(u16 cardnr, u16 domain, u32 keybitsize, u8 *seckey);
169 const u8 *clrkey, u8 *seckey);
175 const u8 *seckey, u8 *protkey, u32 *protkeylen,
H A 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/arch/s390/include/uapi/asm/
H A Dpkey.h91 __u8 seckey[SECKEYBLOBSIZE]; /* the secure key blob */ member
127 struct pkey_seckey seckey; /* out: the secure key blob */ member
140 struct pkey_seckey seckey; /* out: the secure key blob */ member
151 struct pkey_seckey seckey; /* in: the secure key blob */ member
173 struct pkey_seckey seckey; /* in: the secure key blob */ member
184 struct pkey_seckey seckey; /* in: the secure key blob */ member
199 struct pkey_seckey seckey; /* in: the secure key blob */ member