Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/s390/crypto/
Dpkey_pckmo.c82 u8 *protkey, u32 *protkeylen, u32 *protkeytype) in pckmo_clr2protkey() argument
176 if (*protkeylen < keysize + AES_WK_VP_SIZE) { in pckmo_clr2protkey()
178 __func__, *protkeylen, keysize + AES_WK_VP_SIZE); in pckmo_clr2protkey()
206 *protkeylen = keysize + AES_WK_VP_SIZE; in pckmo_clr2protkey()
207 memcpy(protkey, paramblock, *protkeylen); in pckmo_clr2protkey()
221 static int pckmo_verify_protkey(const u8 *protkey, u32 protkeylen, in pckmo_verify_protkey() argument
252 if (protkeylen != pkeylen) { in pckmo_verify_protkey()
254 __func__, protkeylen, protkeytype); in pckmo_verify_protkey()
261 memcpy(param.key, protkey, protkeylen); in pckmo_verify_protkey()
279 u8 *protkey, u32 *protkeylen, u32 *protkeytype) in pckmo_key2protkey() argument
[all …]
Dpkey_api.c27 u8 *protkey, u32 *protkeylen, u32 *protkeytype) in key2protkey() argument
34 protkey, protkeylen, in key2protkey()
41 protkey, protkeylen, in key2protkey()
55 u8 *protkey, u32 *protkeylen, u32 *protkeytype) in pkey_key2protkey() argument
60 protkey, protkeylen, protkeytype); in pkey_key2protkey()
64 protkey, protkeylen, protkeytype); in pkey_key2protkey()
658 u32 protkeylen = PROTKEYBLOBBUFSIZE; in pkey_ioctl_kblob2protk3() local
674 protkey = kmalloc(protkeylen, GFP_KERNEL); in pkey_ioctl_kblob2protk3()
681 protkey, &protkeylen, &ktp.pkeytype); in pkey_ioctl_kblob2protk3()
690 if (protkeylen > ktp.pkeylen) { in pkey_ioctl_kblob2protk3()
[all …]
Dpkey_base.h126 u8 *protkey, u32 *protkeylen, u32 *protkeytype);
130 u8 *protkey, u32 *protkeylen,
166 u8 *protkey, u32 *protkeylen, u32 *protkeytype);
170 u8 *protkey, u32 *protkeylen,
Dpkey_ep11.c189 u8 *protkey, u32 *protkeylen, u32 *protkeytype) in ep11_key2protkey() argument
245 protkeylen, protkeytype); in ep11_key2protkey()
251 protkeylen, protkeytype); in ep11_key2protkey()
257 protkeylen, protkeytype); in ep11_key2protkey()
503 u8 *protkey, u32 *protkeylen, in ep11_slowpath_key2protkey() argument
536 protkey, protkeylen, protkeytype); in ep11_slowpath_key2protkey()
Dpkey_base.c153 u8 *protkey, u32 *protkeylen, u32 *protkeytype) in pkey_handler_key_to_protkey() argument
161 protkey, protkeylen, in pkey_handler_key_to_protkey()
179 u8 *protkey, u32 *protkeylen, in pkey_handler_slowpath_key_to_protkey() argument
201 protkey, protkeylen, in pkey_handler_slowpath_key_to_protkey()
Dzcrypt_ccamisc.h174 const u8 *seckey, u8 *protkey, u32 *protkeylen,
187 u8 *protkey, u32 *protkeylen, u32 *protkeytype);
199 u8 *protkey, u32 *protkeylen, u32 *protkeytype);
Dpkey_cca.c216 u8 *protkey, u32 *protkeylen, u32 *protkeytype) in cca_key2protkey() argument
272 protkeylen, protkeytype); in cca_key2protkey()
277 protkeylen, protkeytype); in cca_key2protkey()
281 protkeylen, protkeytype); in cca_key2protkey()
554 u8 *protkey, u32 *protkeylen, in cca_slowpath_key2protkey() argument
587 protkey, protkeylen, protkeytype); in cca_slowpath_key2protkey()
Dzcrypt_ccamisc.c575 const u8 *seckey, u8 *protkey, u32 *protkeylen, in cca_sec2protkey() argument
711 if (protkeylen) in cca_sec2protkey()
712 *protkeylen = prepparm->lv3.ckb.len; in cca_sec2protkey()
1170 u8 *protkey, u32 *protkeylen, u32 *protkeytype) in cca_cipher2protkey() argument
1322 if (protkeylen) in cca_cipher2protkey()
1323 *protkeylen = prepparm->vud.ckb.keylen; in cca_cipher2protkey()
1335 u8 *protkey, u32 *protkeylen, u32 *protkeytype) in cca_ecc2protkey() argument
1461 if (prepparm->vud.ckb.keylen > *protkeylen) { in cca_ecc2protkey()
1463 __func__, prepparm->vud.ckb.keylen, *protkeylen); in cca_ecc2protkey()
1468 *protkeylen = prepparm->vud.ckb.keylen; in cca_ecc2protkey()
Dzcrypt_ep11misc.h153 u8 *protkey, u32 *protkeylen, u32 *protkeytype);
Dzcrypt_ep11misc.c1475 u8 *protkey, u32 *protkeylen, u32 *protkeytype) in ep11_kblob2protkey() argument
1566 if (wki->pkeysize > *protkeylen) { in ep11_kblob2protkey()
1568 __func__, wki->pkeysize, *protkeylen); in ep11_kblob2protkey()
1573 *protkeylen = wki->pkeysize; in ep11_kblob2protkey()
/linux-6.12.1/arch/s390/include/asm/
Dpkey.h26 u8 *protkey, u32 *protkeylen, u32 *protkeytype);