Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dmain.c4196 struct mlx5_accel_esp_xfrm_attrs accel_attrs = {}; in mlx5_ib_create_flow_action_esp() local
4236 memcpy(&accel_attrs.keymat.aes_gcm.aes_key, &aes_gcm->aes_key, in mlx5_ib_create_flow_action_esp()
4237 sizeof(accel_attrs.keymat.aes_gcm.aes_key)); in mlx5_ib_create_flow_action_esp()
4238 accel_attrs.keymat.aes_gcm.key_len = aes_gcm->key_len * 8; in mlx5_ib_create_flow_action_esp()
4239 memcpy(&accel_attrs.keymat.aes_gcm.salt, &aes_gcm->salt, in mlx5_ib_create_flow_action_esp()
4240 sizeof(accel_attrs.keymat.aes_gcm.salt)); in mlx5_ib_create_flow_action_esp()
4241 memcpy(&accel_attrs.keymat.aes_gcm.seq_iv, &aes_gcm->iv, in mlx5_ib_create_flow_action_esp()
4242 sizeof(accel_attrs.keymat.aes_gcm.seq_iv)); in mlx5_ib_create_flow_action_esp()
4243 accel_attrs.keymat.aes_gcm.icv_len = aes_gcm->icv_len * 8; in mlx5_ib_create_flow_action_esp()
4244 accel_attrs.keymat.aes_gcm.iv_algo = MLX5_ACCEL_ESP_AES_GCM_IV_ALGO_SEQ; in mlx5_ib_create_flow_action_esp()
[all …]