Home
last modified time | relevance | path

Searched refs:salt_p (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_offload.c56 void *obj, *salt_p, *salt_iv_p; in mlx5_create_ipsec_obj() local
62 salt_p = MLX5_ADDR_OF(ipsec_obj, obj, salt); in mlx5_create_ipsec_obj()
63 memcpy(salt_p, &aes_gcm->salt, sizeof(aes_gcm->salt)); in mlx5_create_ipsec_obj()
Dmacsec.c277 void *salt_p; in mlx5e_macsec_create_object() local
285 salt_p = MLX5_ADDR_OF(macsec_offload_obj, obj, salt); in mlx5e_macsec_create_object()
287 memcpy((u32 *)salt_p + i, &attrs->salt.bytes[4 * (2 - i)], 4); in mlx5e_macsec_create_object()