/linux-6.12.1/drivers/s390/crypto/ |
D | pkey_cca.c | 305 u32 keybitsize, u32 flags, in cca_gen_key() argument 317 if (keybitsize && keybitsize != 8 * len) { in cca_gen_key() 319 __func__, keybitsize); in cca_gen_key() 322 keybitsize = 8 * len; in cca_gen_key() 358 keybitsize, flags, in cca_gen_key() 363 keybitsize, keybuf); in cca_gen_key() 385 u32 keybitsize, u32 flags, in cca_clr2key() argument 398 if (keybitsize && keybitsize != 8 * len) { in cca_clr2key() 400 __func__, keybitsize); in cca_clr2key() 403 keybitsize = 8 * len; in cca_clr2key() [all …]
|
D | pkey_base.h | 85 static inline u32 pkey_aes_bitsize_to_keytype(u32 keybitsize) in pkey_aes_bitsize_to_keytype() argument 87 switch (keybitsize) { in pkey_aes_bitsize_to_keytype() 134 u32 keybitsize, u32 flags, 138 u32 keybitsize, u32 flags, 143 u32 *keytype, u32 *keybitsize, u32 *flags); 174 u32 keybitsize, u32 flags, 178 u32 keybitsize, u32 flags, 183 u32 *keytype, u32 *keybitsize, u32 *flags);
|
D | pkey_ep11.c | 281 u32 keybitsize, u32 flags, in ep11_gen_key() argument 293 if (keybitsize && keybitsize != 8 * len) { in ep11_gen_key() 295 __func__, keybitsize); in ep11_gen_key() 298 keybitsize = 8 * len; in ep11_gen_key() 333 keybitsize, flags, in ep11_gen_key() 354 u32 keybitsize, u32 flags, in ep11_clr2key() argument 367 if (keybitsize && keybitsize != 8 * len) { in ep11_clr2key() 369 __func__, keybitsize); in ep11_clr2key() 372 keybitsize = 8 * len; in ep11_clr2key() 412 keybitsize, flags, clrkey, in ep11_clr2key() [all …]
|
D | zcrypt_ccamisc.h | 138 const u8 *token, int keybitsize); 148 const u8 *token, int keybitsize, 162 int cca_genseckey(u16 cardnr, u16 domain, u32 keybitsize, u8 *seckey); 167 int cca_clr2seckey(u16 cardnr, u16 domain, u32 keybitsize, 180 int cca_gencipherkey(u16 cardnr, u16 domain, u32 keybitsize, u32 keygenflags, 192 int cca_clr2cipherkey(u16 cardnr, u16 domain, u32 keybitsize, u32 keygenflags,
|
D | pkey_base.c | 212 u32 keybitsize, u32 flags, in pkey_handler_gen_key() argument 221 keybitsize, flags, in pkey_handler_gen_key() 232 u32 keybitsize, u32 flags, in pkey_handler_clr_to_key() argument 242 keybitsize, flags, clrkey, clrkeylen, in pkey_handler_clr_to_key() 253 u32 *keytype, u32 *keybitsize, u32 *flags) in pkey_handler_verify_key() argument 261 keytype, keybitsize, flags); in pkey_handler_verify_key()
|
D | zcrypt_ccamisc.c | 49 const u8 *token, int keybitsize) in cca_check_secaeskeytoken() argument 67 if (keybitsize > 0 && t->bitsize != keybitsize) { in cca_check_secaeskeytoken() 70 __func__, (int)t->bitsize, keybitsize); in cca_check_secaeskeytoken() 88 const u8 *token, int keybitsize, in cca_check_secaescipherkey() argument 132 if (keybitsize > 0) { in cca_check_secaescipherkey() 133 switch (keybitsize) { in cca_check_secaescipherkey() 153 __func__, keybitsize); in cca_check_secaescipherkey() 293 u32 keybitsize, u8 *seckey) in cca_genseckey() argument 348 switch (keybitsize) { in cca_genseckey() 366 __func__, keybitsize); in cca_genseckey() [all …]
|
D | zcrypt_ep11misc.c | 790 u32 keybitsize, u32 keygenflags, in _ep11_genaeskey() argument 830 switch (keybitsize) { in _ep11_genaeskey() 837 __func__, keybitsize); in _ep11_genaeskey() 863 req_pl->keybytes = keybitsize / 8; in _ep11_genaeskey() 873 req_pl->attr_val_len_value = keybitsize / 8; in _ep11_genaeskey() 934 int ep11_genaeskey(u16 card, u16 domain, u32 keybitsize, u32 keygenflags, in ep11_genaeskey() argument 955 rc = _ep11_genaeskey(card, domain, keybitsize, keygenflags, in ep11_genaeskey() 966 hdr->bitlen = keybitsize; in ep11_genaeskey() 1108 u32 keybitsize, u32 keygenflags, in _ep11_unwrapkey() argument 1177 req_pl->attr_val_len_value = keybitsize / 8; in _ep11_unwrapkey() [all …]
|
D | zcrypt_ep11misc.h | 117 int ep11_genaeskey(u16 card, u16 domain, u32 keybitsize, u32 keygenflags, 123 int ep11_clr2keyblob(u16 cardnr, u16 domain, u32 keybitsize, u32 keygenflags,
|
D | pkey_sysfs.c | 25 u32 keybitsize, u32 flags, in sys_pkey_handler_gen_key() argument 32 keybitsize, flags, in sys_pkey_handler_gen_key() 38 keybitsize, flags, in sys_pkey_handler_gen_key()
|
D | pkey_api.c | 276 u32 keytype, keybitsize, flags; in pkey_ioctl_verifykey() local 288 &keytype, &keybitsize, &flags); in pkey_ioctl_verifykey() 293 kvk.keysize = (u16)keybitsize; in pkey_ioctl_verifykey()
|