/linux-6.1.9/include/uapi/linux/ |
D | xfrm.h | 105 char alg_key[]; member 112 char alg_key[]; member 119 char alg_key[]; member
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ipsec.c | 149 memcpy(aes_gcm->aes_key, x->aead->alg_key, key_len); in mlx5e_ipsec_build_accel_xfrm_attrs() 157 memcpy(&aes_gcm->salt, x->aead->alg_key + key_len, in mlx5e_ipsec_build_accel_xfrm_attrs()
|
/linux-6.1.9/net/xfrm/ |
D | xfrm_user.c | 449 memcpy(p->alg_key, ualg->alg_key, (ualg->alg_key_len + 7) / 8); in attach_auth() 971 memset(algo->alg_key, 0, (auth->alg_key_len + 7) / 8); in copy_to_user_auth() 973 memcpy(algo->alg_key, auth->alg_key, in copy_to_user_auth() 983 memset(ap->alg_key, 0, (auth->alg_key_len + 7) / 8); in copy_to_user_auth() 985 memcpy(ap->alg_key, auth->alg_key, in copy_to_user_auth() 1003 memset(ap->alg_key, 0, (aead->alg_key_len + 7) / 8); in copy_to_user_aead() 1005 memcpy(ap->alg_key, aead->alg_key, in copy_to_user_aead() 1023 memset(ap->alg_key, 0, (ealg->alg_key_len + 7) / 8); in copy_to_user_ealg() 1025 memcpy(ap->alg_key, ealg->alg_key, in copy_to_user_ealg()
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbevf/ |
D | ipsec.c | 37 memcpy(sam->key, xs->aead->alg_key, sizeof(sam->key)); in ixgbevf_ipsec_set_pf_sa() 230 key_data = &xs->aead->alg_key[0]; in ixgbevf_ipsec_parse_proto_keys()
|
/linux-6.1.9/drivers/net/netdevsim/ |
D | ipsec.c | 104 key_data = &xs->aead->alg_key[0]; in nsim_ipsec_parse_proto_keys()
|
/linux-6.1.9/net/ipv4/ |
D | esp4.c | 1030 err = crypto_aead_setkey(aead, x->aead->alg_key, in esp_init_aead() 1108 memcpy(p, x->aalg->alg_key, (x->aalg->alg_key_len + 7) / 8); in esp_init_authenc() 1130 memcpy(p, x->ealg->alg_key, (x->ealg->alg_key_len + 7) / 8); in esp_init_authenc()
|
D | ah4.c | 501 if (crypto_ahash_setkey(ahash, x->aalg->alg_key, in ah_init_state()
|
/linux-6.1.9/net/ipv6/ |
D | esp6.c | 1073 err = crypto_aead_setkey(aead, x->aead->alg_key, in esp_init_aead() 1151 memcpy(p, x->aalg->alg_key, (x->aalg->alg_key_len + 7) / 8); in esp_init_authenc() 1173 memcpy(p, x->ealg->alg_key, (x->ealg->alg_key_len + 7) / 8); in esp_init_authenc()
|
D | ah6.c | 696 if (crypto_ahash_setkey(ahash, x->aalg->alg_key, in ah6_init_state()
|
/linux-6.1.9/tools/testing/selftests/net/ |
D | ipsec.c | 853 if (xfrm_fill_key(desc->a_algo, alg.u.alg.alg_key, in xfrm_state_pack_algo() 864 if (xfrm_fill_key(desc->c_algo, alg.u.alg.alg_key, in xfrm_state_pack_algo() 877 if (xfrm_fill_key(desc->ae_algo, alg.u.aead.alg_key, in xfrm_state_pack_algo() 885 if (xfrm_fill_key(desc->e_algo, alg.u.alg.alg_key, in xfrm_state_pack_algo() 893 if (xfrm_fill_key(desc->a_algo, alg.u.alg.alg_key, in xfrm_state_pack_algo()
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ipsec.c | 446 key_data = &xs->aead->alg_key[0]; in ixgbe_ipsec_parse_proto_keys() 944 memcpy(xs->aead->alg_key, sam->key, sizeof(sam->key)); in ixgbe_ipsec_vf_add_sa()
|
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/ |
D | chcr_ipsec.c | 170 unsigned char *key = x->aead->alg_key; in ch_ipsec_setkey()
|
/linux-6.1.9/net/key/ |
D | af_key.c | 970 memcpy(key + 1, x->aalg->alg_key, (x->aalg->alg_key_len+7)/8); in __pfkey_xfrm_state2msg() 980 memcpy(key + 1, x->ealg->alg_key, in __pfkey_xfrm_state2msg() 1186 memcpy(x->aalg->alg_key, key+1, keysize); in pfkey_msg2xfrm_state() 1225 memcpy(x->ealg->alg_key, key+1, keysize); in pfkey_msg2xfrm_state()
|