Home
last modified time | relevance | path

Searched refs:clrkey (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/arch/s390/include/uapi/asm/
Dpkey.h102 __u8 clrkey[MAXCLRKEYSIZE]; /* 16, 24, or 32 byte clear key value */ member
137 struct pkey_clrkey clrkey; /* in: the clear key value */ member
158 struct pkey_clrkey clrkey; /* in: the clear key value */ member
290 struct pkey_clrkey clrkey; /* in: the clear key value */ member
/linux-6.12.1/drivers/s390/crypto/
Dpkey_pckmo.c81 static int pckmo_clr2protkey(u32 keytype, const u8 *clrkey, u32 clrkeylen, in pckmo_clr2protkey() argument
200 memcpy(paramblock, clrkey, keysize); in pckmo_clr2protkey()
406 u8 clrkey[128]; in pckmo_gen_protkey() local
438 get_random_bytes(clrkey, keysize); in pckmo_gen_protkey()
441 rc = pckmo_clr2protkey(keytype, clrkey, keysize, in pckmo_gen_protkey()
Dpkey_api.c130 kcs.clrkey.clrkey, in pkey_ioctl_clr2seck()
195 memcpy(t->clearkey, kcp.clrkey.clrkey, keylen); in pkey_ioctl_clr2protk()
473 kcs.clrkey.clrkey, kcs.size / 8, in pkey_ioctl_clr2seck2()
Dpkey_base.h139 const u8 *clrkey, u32 clrkeylen,
179 const u8 *clrkey, u32 clrkeylen,
Dzcrypt_ccamisc.h168 const u8 *clrkey, u8 *seckey);
193 const u8 *clrkey, u8 *keybuf, u32 *keybufsize);
Dpkey_base.c233 const u8 *clrkey, u32 clrkeylen, in pkey_handler_clr_to_key() argument
242 keybitsize, flags, clrkey, clrkeylen, in pkey_handler_clr_to_key()
Dzcrypt_ep11misc.h124 const u8 *clrkey, u8 *keybuf, u32 *keybufsize,
Dpkey_cca.c386 const u8 *clrkey, u32 clrkeylen, in cca_clr2key() argument
444 keybitsize, flags, clrkey, in cca_clr2key()
449 keybitsize, clrkey, keybuf); in cca_clr2key()
Dzcrypt_ccamisc.c436 const u8 *clrkey, u8 *seckey) in cca_clr2seckey() argument
448 u8 clrkey[]; in cca_clr2seckey() member
509 memcpy(preqparm->lv1.clrkey, clrkey, keysize); in cca_clr2seckey()
1088 const u8 *clrkey, u8 *keybuf, u32 *keybufsize) in cca_clr2cipherkey() argument
1130 clrkey, keybitsize, token, &tokensize); in cca_clr2cipherkey()
Dpkey_ep11.c355 const u8 *clrkey, u32 clrkeylen, in ep11_clr2key() argument
412 keybitsize, flags, clrkey, in ep11_clr2key()
Dzcrypt_ep11misc.c1415 const u8 *clrkey, u8 *keybuf, u32 *keybufsize, in ep11_clr2keyblob() argument
1450 clrkey, clrkeylen, encbuf, &encbuflen); in ep11_clr2keyblob()