Lines Matching refs:aes_gcm
1575 struct ib_uverbs_flow_action_esp_keymat_aes_gcm *aes_gcm; in mlx5_ib_create_flow_action_esp() local
1605 aes_gcm = &attr->keymat->keymat.aes_gcm; in mlx5_ib_create_flow_action_esp()
1607 if (aes_gcm->icv_len != 16 || in mlx5_ib_create_flow_action_esp()
1608 aes_gcm->iv_algo != IB_UVERBS_FLOW_ACTION_IV_ALGO_SEQ) in mlx5_ib_create_flow_action_esp()
1616 memcpy(&accel_attrs.keymat.aes_gcm.aes_key, &aes_gcm->aes_key, in mlx5_ib_create_flow_action_esp()
1617 sizeof(accel_attrs.keymat.aes_gcm.aes_key)); in mlx5_ib_create_flow_action_esp()
1618 accel_attrs.keymat.aes_gcm.key_len = aes_gcm->key_len * 8; in mlx5_ib_create_flow_action_esp()
1619 memcpy(&accel_attrs.keymat.aes_gcm.salt, &aes_gcm->salt, in mlx5_ib_create_flow_action_esp()
1620 sizeof(accel_attrs.keymat.aes_gcm.salt)); in mlx5_ib_create_flow_action_esp()
1621 memcpy(&accel_attrs.keymat.aes_gcm.seq_iv, &aes_gcm->iv, in mlx5_ib_create_flow_action_esp()
1622 sizeof(accel_attrs.keymat.aes_gcm.seq_iv)); in mlx5_ib_create_flow_action_esp()
1623 accel_attrs.keymat.aes_gcm.icv_len = aes_gcm->icv_len * 8; in mlx5_ib_create_flow_action_esp()
1624 accel_attrs.keymat.aes_gcm.iv_algo = MLX5_ACCEL_ESP_AES_GCM_IV_ALGO_SEQ; in mlx5_ib_create_flow_action_esp()