Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dipsec.c299 hw_sa->ipsec_sa_v1.cmd = htonl(opcode); in mlx5_fpga_ipsec_update_hw_sa()
303 sa_cmd_size = sizeof(hw_sa->ipsec_sa_v1); in mlx5_fpga_ipsec_update_hw_sa()
315 if (sa->ipsec_sa_v1.sw_sa_handle != cmd_context->resp.sw_sa_handle) { in mlx5_fpga_ipsec_update_hw_sa()
317 ntohl(sa->ipsec_sa_v1.sw_sa_handle), in mlx5_fpga_ipsec_update_hw_sa()
468 memcpy(&hw_sa->ipsec_sa_v1.key_enc, aes_gcm->aes_key, in mlx5_fpga_ipsec_build_hw_xfrm()
472 memcpy(&hw_sa->ipsec_sa_v1.key_enc[16], in mlx5_fpga_ipsec_build_hw_xfrm()
476 memcpy(&hw_sa->ipsec_sa_v1.gcm.salt_iv, &aes_gcm->seq_iv, in mlx5_fpga_ipsec_build_hw_xfrm()
478 memcpy(&hw_sa->ipsec_sa_v1.gcm.salt, &aes_gcm->salt, in mlx5_fpga_ipsec_build_hw_xfrm()
483 hw_sa->ipsec_sa_v1.flags |= MLX5_FPGA_IPSEC_SA_ESN_EN; in mlx5_fpga_ipsec_build_hw_xfrm()
484 hw_sa->ipsec_sa_v1.flags |= in mlx5_fpga_ipsec_build_hw_xfrm()
[all …]
/Linux-v5.10/include/linux/mlx5/
Dmlx5_ifc_fpga.h567 struct mlx5_ifc_fpga_ipsec_sa_v1 ipsec_sa_v1; member