aes_gcm            54 drivers/crypto/nx/nx-aes-gcm.c 	memcpy(csbcpb->cpb.aes_gcm.key, in_key, key_len);
aes_gcm           193 drivers/crypto/nx/nx-aes-gcm.c 	memcpy(csbcpb->cpb.aes_gcm.iv_or_cnt, desc->info, AES_BLOCK_SIZE);
aes_gcm           216 drivers/crypto/nx/nx-aes-gcm.c 		csbcpb->cpb.aes_gcm.bit_length_data = 0;
aes_gcm           217 drivers/crypto/nx/nx-aes-gcm.c 		csbcpb->cpb.aes_gcm.bit_length_aad = 8 * nbytes;
aes_gcm           224 drivers/crypto/nx/nx-aes-gcm.c 		memcpy(csbcpb->cpb.aes_gcm.in_pat_or_aad,
aes_gcm           225 drivers/crypto/nx/nx-aes-gcm.c 			csbcpb->cpb.aes_gcm.out_pat_or_mac, AES_BLOCK_SIZE);
aes_gcm           226 drivers/crypto/nx/nx-aes-gcm.c 		memcpy(csbcpb->cpb.aes_gcm.in_s0,
aes_gcm           227 drivers/crypto/nx/nx-aes-gcm.c 			csbcpb->cpb.aes_gcm.out_s0, AES_BLOCK_SIZE);
aes_gcm           261 drivers/crypto/nx/nx-aes-gcm.c 	memcpy(csbcpb->cpb.aes_ecb.key, csbcpb->cpb.aes_gcm.key,
aes_gcm           294 drivers/crypto/nx/nx-aes-gcm.c 	memcpy(csbcpb->cpb.aes_gcm.out_pat_or_mac, out,
aes_gcm           340 drivers/crypto/nx/nx-aes-gcm.c 	csbcpb->cpb.aes_gcm.bit_length_aad = assoclen * 8;
aes_gcm           342 drivers/crypto/nx/nx-aes-gcm.c 		rc = nx_gca(nx_ctx, req, csbcpb->cpb.aes_gcm.in_pat_or_aad,
aes_gcm           360 drivers/crypto/nx/nx-aes-gcm.c 		csbcpb->cpb.aes_gcm.bit_length_data = nbytes * 8;
aes_gcm           364 drivers/crypto/nx/nx-aes-gcm.c 				       csbcpb->cpb.aes_gcm.iv_or_cnt);
aes_gcm           380 drivers/crypto/nx/nx-aes-gcm.c 		memcpy(desc.info, csbcpb->cpb.aes_gcm.out_cnt, AES_BLOCK_SIZE);
aes_gcm           381 drivers/crypto/nx/nx-aes-gcm.c 		memcpy(csbcpb->cpb.aes_gcm.in_pat_or_aad,
aes_gcm           382 drivers/crypto/nx/nx-aes-gcm.c 			csbcpb->cpb.aes_gcm.out_pat_or_mac, AES_BLOCK_SIZE);
aes_gcm           383 drivers/crypto/nx/nx-aes-gcm.c 		memcpy(csbcpb->cpb.aes_gcm.in_s0,
aes_gcm           384 drivers/crypto/nx/nx-aes-gcm.c 			csbcpb->cpb.aes_gcm.out_s0, AES_BLOCK_SIZE);
aes_gcm           399 drivers/crypto/nx/nx-aes-gcm.c 			csbcpb->cpb.aes_gcm.out_pat_or_mac,
aes_gcm           405 drivers/crypto/nx/nx-aes-gcm.c 		u8 *otag = csbcpb->cpb.aes_gcm.out_pat_or_mac;
aes_gcm           125 drivers/crypto/nx/nx_csbcpb.h 		struct cop_symcpb_aes_gcm  aes_gcm;
aes_gcm            68 drivers/infiniband/core/uverbs_std_types_flow_action.c 	struct ib_uverbs_flow_action_esp_keymat_aes_gcm *aes_gcm =
aes_gcm            69 drivers/infiniband/core/uverbs_std_types_flow_action.c 		&keymat->keymat.aes_gcm;
aes_gcm            71 drivers/infiniband/core/uverbs_std_types_flow_action.c 	if (aes_gcm->iv_algo > IB_UVERBS_FLOW_ACTION_IV_ALGO_SEQ)
aes_gcm            74 drivers/infiniband/core/uverbs_std_types_flow_action.c 	if (aes_gcm->key_len != 32 &&
aes_gcm            75 drivers/infiniband/core/uverbs_std_types_flow_action.c 	    aes_gcm->key_len != 24 &&
aes_gcm            76 drivers/infiniband/core/uverbs_std_types_flow_action.c 	    aes_gcm->key_len != 16)
aes_gcm            79 drivers/infiniband/core/uverbs_std_types_flow_action.c 	if (aes_gcm->icv_len != 16 &&
aes_gcm            80 drivers/infiniband/core/uverbs_std_types_flow_action.c 	    aes_gcm->icv_len != 8 &&
aes_gcm            81 drivers/infiniband/core/uverbs_std_types_flow_action.c 	    aes_gcm->icv_len != 12)
aes_gcm          4191 drivers/infiniband/hw/mlx5/main.c 	struct ib_uverbs_flow_action_esp_keymat_aes_gcm *aes_gcm;
aes_gcm          4221 drivers/infiniband/hw/mlx5/main.c 	aes_gcm = &attr->keymat->keymat.aes_gcm;
aes_gcm          4223 drivers/infiniband/hw/mlx5/main.c 	if (aes_gcm->icv_len != 16 ||
aes_gcm          4224 drivers/infiniband/hw/mlx5/main.c 	    aes_gcm->iv_algo != IB_UVERBS_FLOW_ACTION_IV_ALGO_SEQ)
aes_gcm          4232 drivers/infiniband/hw/mlx5/main.c 	memcpy(&accel_attrs.keymat.aes_gcm.aes_key, &aes_gcm->aes_key,
aes_gcm          4233 drivers/infiniband/hw/mlx5/main.c 	       sizeof(accel_attrs.keymat.aes_gcm.aes_key));
aes_gcm          4234 drivers/infiniband/hw/mlx5/main.c 	accel_attrs.keymat.aes_gcm.key_len = aes_gcm->key_len * 8;
aes_gcm          4235 drivers/infiniband/hw/mlx5/main.c 	memcpy(&accel_attrs.keymat.aes_gcm.salt, &aes_gcm->salt,
aes_gcm          4236 drivers/infiniband/hw/mlx5/main.c 	       sizeof(accel_attrs.keymat.aes_gcm.salt));
aes_gcm          4237 drivers/infiniband/hw/mlx5/main.c 	memcpy(&accel_attrs.keymat.aes_gcm.seq_iv, &aes_gcm->iv,
aes_gcm          4238 drivers/infiniband/hw/mlx5/main.c 	       sizeof(accel_attrs.keymat.aes_gcm.seq_iv));
aes_gcm          4239 drivers/infiniband/hw/mlx5/main.c 	accel_attrs.keymat.aes_gcm.icv_len = aes_gcm->icv_len * 8;
aes_gcm          4240 drivers/infiniband/hw/mlx5/main.c 	accel_attrs.keymat.aes_gcm.iv_algo = MLX5_ACCEL_ESP_AES_GCM_IV_ALGO_SEQ;
aes_gcm           154 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c 	struct aes_gcm_keymat *aes_gcm = &attrs->keymat.aes_gcm;
aes_gcm           166 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c 	memcpy(aes_gcm->aes_key, x->aead->alg_key, key_len);
aes_gcm           167 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c 	aes_gcm->key_len = key_len * 8;
aes_gcm           173 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c 	memcpy(&aes_gcm->seq_iv, &geniv_ctx->salt, ivsize);
aes_gcm           174 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c 	memcpy(&aes_gcm->salt, x->aead->alg_key + key_len,
aes_gcm           175 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c 	       sizeof(aes_gcm->salt));
aes_gcm           178 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c 	aes_gcm->icv_len = x->aead->alg_icv_len;
aes_gcm           462 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	const struct aes_gcm_keymat *aes_gcm = &xfrm_attrs->keymat.aes_gcm;
aes_gcm           465 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	memcpy(&hw_sa->ipsec_sa_v1.key_enc, aes_gcm->aes_key,
aes_gcm           466 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	       aes_gcm->key_len / 8);
aes_gcm           468 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	if (aes_gcm->key_len == 128)
aes_gcm           470 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 		       aes_gcm->aes_key, aes_gcm->key_len / 8);
aes_gcm           473 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	memcpy(&hw_sa->ipsec_sa_v1.gcm.salt_iv, &aes_gcm->seq_iv,
aes_gcm           474 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	       sizeof(aes_gcm->seq_iv));
aes_gcm           475 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	memcpy(&hw_sa->ipsec_sa_v1.gcm.salt, &aes_gcm->salt,
aes_gcm           476 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	       sizeof(aes_gcm->salt));
aes_gcm           499 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	switch (aes_gcm->key_len) {
aes_gcm          1404 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	if (attrs->keymat.aes_gcm.iv_algo !=
aes_gcm          1410 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	if (attrs->keymat.aes_gcm.icv_len != 128) {
aes_gcm          1415 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	if (attrs->keymat.aes_gcm.key_len != 128 &&
aes_gcm          1416 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	    attrs->keymat.aes_gcm.key_len != 256) {
aes_gcm            93 include/linux/mlx5/accel.h 		struct aes_gcm_keymat aes_gcm;
aes_gcm          2073 include/rdma/ib_verbs.h 		struct ib_uverbs_flow_action_esp_keymat_aes_gcm aes_gcm;