/kernel/linux/linux-5.10/include/crypto/ |
D | akcipher.h | 291 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_akcipher_encrypt() local 295 crypto_stats_get(calg); in crypto_akcipher_encrypt() 297 crypto_stats_akcipher_encrypt(src_len, ret, calg); in crypto_akcipher_encrypt() 315 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_akcipher_decrypt() local 319 crypto_stats_get(calg); in crypto_akcipher_decrypt() 321 crypto_stats_akcipher_decrypt(src_len, ret, calg); in crypto_akcipher_decrypt() 339 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_akcipher_sign() local 342 crypto_stats_get(calg); in crypto_akcipher_sign() 344 crypto_stats_akcipher_sign(ret, calg); in crypto_akcipher_sign() 366 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_akcipher_verify() local [all …]
|
D | kpp.h | 287 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_kpp_set_secret() local 290 crypto_stats_get(calg); in crypto_kpp_set_secret() 292 crypto_stats_kpp_set_secret(calg, ret); in crypto_kpp_set_secret() 313 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_kpp_generate_public_key() local 316 crypto_stats_get(calg); in crypto_kpp_generate_public_key() 318 crypto_stats_kpp_generate_public_key(calg, ret); in crypto_kpp_generate_public_key() 336 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_kpp_compute_shared_secret() local 339 crypto_stats_get(calg); in crypto_kpp_compute_shared_secret() 341 crypto_stats_kpp_compute_shared_secret(calg, ret); in crypto_kpp_compute_shared_secret()
|
/kernel/linux/linux-5.10/crypto/ |
D | scompress.c | 188 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_scomp_ops_async() local 193 if (!crypto_mod_get(calg)) in crypto_init_scomp_ops_async() 196 scomp = crypto_create_tfm(calg, &crypto_scomp_type); in crypto_init_scomp_ops_async() 198 crypto_mod_put(calg); in crypto_init_scomp_ops_async()
|
D | shash.c | 379 struct crypto_alg *calg = tfm->__crt_alg; in crypto_init_shash_ops_async() local 380 struct shash_alg *alg = __crypto_shash_alg(calg); in crypto_init_shash_ops_async() 385 if (!crypto_mod_get(calg)) in crypto_init_shash_ops_async() 388 shash = crypto_create_tfm(calg, &crypto_shash_type); in crypto_init_shash_ops_async() 390 crypto_mod_put(calg); in crypto_init_shash_ops_async()
|
/kernel/linux/linux-5.10/net/xfrm/ |
D | xfrm_ipcomp.c | 345 if (!x->calg) in ipcomp_init_state() 360 ipcd->tfms = ipcomp_alloc_tfms(x->calg->alg_name); in ipcomp_init_state() 365 calg_desc = xfrm_calg_get_byname(x->calg->alg_name, 0); in ipcomp_init_state()
|
D | xfrm_user.c | 620 if ((err = attach_one_algo(&x->calg, &x->props.calgo, in xfrm_state_construct() 934 if (x->calg) { in copy_to_user_state_extra() 935 ret = nla_put(skb, XFRMA_ALG_COMP, sizeof(*(x->calg)), x->calg); in copy_to_user_state_extra() 3002 if (x->calg) in xfrm_sa_len() 3003 l += nla_total_size(sizeof(*x->calg)); in xfrm_sa_len()
|
D | xfrm_state.c | 486 kfree(x->calg); in ___xfrm_state_destroy() 1509 if (orig->calg) { in xfrm_state_clone() 1510 x->calg = xfrm_algo_clone(orig->calg); in xfrm_state_clone() 1511 if (!x->calg) in xfrm_state_clone()
|
/kernel/linux/linux-5.10/drivers/net/netdevsim/ |
D | ipsec.c | 147 if (xs->calg) { in nsim_ipsec_add_sa()
|
/kernel/linux/linux-5.10/net/key/ |
D | af_key.c | 863 BUG_ON(x->ealg && x->calg); in __pfkey_xfrm_state2msg() 870 if (x->calg) { in __pfkey_xfrm_state2msg() 871 struct xfrm_algo_desc *a = xfrm_calg_get_byname(x->calg->alg_name, 0); in __pfkey_xfrm_state2msg() 1203 x->calg = kmalloc(sizeof(*x->calg), GFP_KERNEL); in pfkey_msg2xfrm_state() 1204 if (!x->calg) { in pfkey_msg2xfrm_state() 1208 strcpy(x->calg->alg_name, a->name); in pfkey_msg2xfrm_state()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/ |
D | ipsec.c | 286 if (xs->calg) { in ixgbevf_ipsec_add_sa()
|
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec2/ |
D | sec_crypto.c | 921 #define GEN_SEC_AEAD_SETKEY_FUNC(name, aalg, calg, maclen, cmode) \ argument 925 return sec_aead_setkey(tfm, key, keylen, aalg, calg, maclen, cmode);\
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ipsec.c | 591 if (xs->calg) { in ixgbe_ipsec_add_sa()
|
/kernel/linux/linux-5.10/include/net/ |
D | xfrm.h | 192 struct xfrm_algo *calg; member
|