Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/s390/include/uapi/asm/
Dpkey.h92 __u8 clrkey[MAXCLRKEYSIZE]; /* 16, 24, or 32 byte clear key value */ member
127 struct pkey_clrkey clrkey; /* in: the clear key value */ member
148 struct pkey_clrkey clrkey; /* in: the clear key value */ member
280 struct pkey_clrkey clrkey; /* in: the clear key value */ member
/kernel/linux/linux-5.10/drivers/s390/crypto/
Dpkey_api.c88 const struct pkey_clrkey *clrkey, in pkey_clr2protkey() argument
131 memcpy(paramblock, clrkey->clrkey, keysize); in pkey_clr2protkey()
193 static int pkey_clr2ep11key(const u8 *clrkey, size_t clrkeylen, in pkey_clr2ep11key() argument
211 0, clrkey, keybuf, keybuflen); in pkey_clr2ep11key()
305 struct pkey_clrkey clrkey; in pkey_genprotkey() local
326 get_random_bytes(clrkey.clrkey, keysize); in pkey_genprotkey()
329 rc = pkey_clr2protkey(keytype, &clrkey, protkey); in pkey_genprotkey()
425 memcpy(ckey.clrkey, t->clearkey, t->len); in pkey_nonccatok2pkey()
440 ckey.clrkey, tmpbuf); in pkey_nonccatok2pkey()
446 rc = pkey_clr2ep11key(ckey.clrkey, t->len, in pkey_nonccatok2pkey()
[all …]
Dzcrypt_ccamisc.h168 const u8 *clrkey, u8 *seckey);
193 const u8 *clrkey, u8 *keybuf, size_t *keybufsize);
Dzcrypt_ep11misc.h116 const u8 *clrkey, u8 *keybuf, size_t *keybufsize);
Dzcrypt_ccamisc.c441 const u8 *clrkey, u8 seckey[SECKEYBLOBSIZE]) in cca_clr2seckey() argument
453 u8 clrkey[0]; in cca_clr2seckey() member
514 memcpy(preqparm->lv1.clrkey, clrkey, keysize); in cca_clr2seckey()
1095 const u8 *clrkey, u8 *keybuf, size_t *keybufsize) in cca_clr2cipherkey() argument
1138 clrkey, keybitsize, token, &tokensize); in cca_clr2cipherkey()
Dzcrypt_ep11misc.c1202 const u8 *clrkey, u8 *keybuf, size_t *keybufsize) in ep11_clr2keyblob() argument
1241 clrkey, clrkeylen, encbuf, &encbuflen); in ep11_clr2keyblob()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0016_linux_drivers_crypto.patch9239 +static u8 clrkey[] = {
9360 + memcpy(clrkey8, clrkey, 8);
9361 + memcpy(clrkey16, clrkey, 16);
9362 + memcpy(clrkey24, clrkey, 24);
9363 + memcpy(clrkey32, clrkey, 32);