Home
last modified time | relevance | path

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

/Linux-v5.15/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
/Linux-v5.15/drivers/s390/crypto/
Dpkey_api.c88 const struct pkey_clrkey *clrkey, in pkey_clr2protkey() argument
131 memcpy(paramblock, clrkey->clrkey, keysize); in pkey_clr2protkey()
195 static int pkey_clr2ep11key(const u8 *clrkey, size_t clrkeylen, in pkey_clr2ep11key() argument
215 0, clrkey, keybuf, keybuflen); in pkey_clr2ep11key()
311 struct pkey_clrkey clrkey; in pkey_genprotkey() local
332 get_random_bytes(clrkey.clrkey, keysize); in pkey_genprotkey()
335 rc = pkey_clr2protkey(keytype, &clrkey, protkey); in pkey_genprotkey()
431 memcpy(ckey.clrkey, t->clearkey, t->len); in pkey_nonccatok2pkey()
447 ckey.clrkey, tmpbuf); in pkey_nonccatok2pkey()
453 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.h123 const u8 *clrkey, u8 *keybuf, size_t *keybufsize);
Dzcrypt_ccamisc.c441 const u8 *clrkey, u8 *seckey) in cca_clr2seckey() argument
453 u8 clrkey[0]; in cca_clr2seckey() member
514 memcpy(preqparm->lv1.clrkey, clrkey, keysize); in cca_clr2seckey()
1098 const u8 *clrkey, u8 *keybuf, size_t *keybufsize) in cca_clr2cipherkey() argument
1141 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()