Searched refs:calg (Results 1 – 13 of 13) sorted by relevance
/linux/include/crypto/ |
A 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() 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 369 crypto_stats_get(calg); in crypto_akcipher_verify() [all …]
|
A 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()
|
/linux/crypto/ |
A 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()
|
A 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()
|
/linux/net/xfrm/ |
A D | xfrm_ipcomp.c | 335 if (!x->calg) in ipcomp_init_state() 350 ipcd->tfms = ipcomp_alloc_tfms(x->calg->alg_name); in ipcomp_init_state() 355 calg_desc = xfrm_calg_get_byname(x->calg->alg_name, 0); in ipcomp_init_state()
|
A D | xfrm_user.c | 612 if ((err = attach_one_algo(&x->calg, &x->props.calgo, in xfrm_state_construct() 986 if (x->calg) { in copy_to_user_state_extra() 987 ret = nla_put(skb, XFRMA_ALG_COMP, sizeof(*(x->calg)), x->calg); in copy_to_user_state_extra() 3043 if (x->calg) in xfrm_sa_len() 3044 l += nla_total_size(sizeof(*x->calg)); in xfrm_sa_len()
|
A D | xfrm_state.c | 507 kfree(x->calg); in ___xfrm_state_destroy() 1543 if (orig->calg) { in xfrm_state_clone() 1544 x->calg = xfrm_algo_clone(orig->calg); in xfrm_state_clone() 1545 if (!x->calg) in xfrm_state_clone()
|
/linux/drivers/net/netdevsim/ |
A D | ipsec.c | 147 if (xs->calg) { in nsim_ipsec_add_sa()
|
/linux/net/key/ |
A D | af_key.c | 859 BUG_ON(x->ealg && x->calg); in __pfkey_xfrm_state2msg() 866 if (x->calg) { in __pfkey_xfrm_state2msg() 867 struct xfrm_algo_desc *a = xfrm_calg_get_byname(x->calg->alg_name, 0); in __pfkey_xfrm_state2msg() 1199 x->calg = kmalloc(sizeof(*x->calg), GFP_KERNEL); in pfkey_msg2xfrm_state() 1200 if (!x->calg) { in pfkey_msg2xfrm_state() 1204 strcpy(x->calg->alg_name, a->name); in pfkey_msg2xfrm_state()
|
/linux/drivers/net/ethernet/intel/ixgbevf/ |
A D | ipsec.c | 286 if (xs->calg) { in ixgbevf_ipsec_add_sa()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_ipsec.c | 591 if (xs->calg) { in ixgbe_ipsec_add_sa()
|
/linux/drivers/crypto/hisilicon/sec2/ |
A D | sec_crypto.c | 1156 #define GEN_SEC_AEAD_SETKEY_FUNC(name, aalg, calg, maclen, cmode) \ argument 1160 return sec_aead_setkey(tfm, key, keylen, aalg, calg, maclen, cmode);\
|
/linux/include/net/ |
A D | xfrm.h | 199 struct xfrm_algo *calg; member
|
Completed in 46 milliseconds