Home
last modified time | relevance | path

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

/drivers/crypto/vmx/
Daesp8-ppc.h5 struct aes_key { struct
11 struct aes_key *key); argument
13 struct aes_key *key);
14 void aes_p8_encrypt(const u8 *in, u8 *out, const struct aes_key *key);
15 void aes_p8_decrypt(const u8 *in, u8 *out, const struct aes_key *key);
17 const struct aes_key *key, u8 *iv, const int enc);
19 size_t len, const struct aes_key *key,
22 const struct aes_key *key1, const struct aes_key *key2, u8 *iv);
24 const struct aes_key *key1, const struct aes_key *key2, u8 *iv);
Daes_xts.c21 struct aes_key enc_key;
22 struct aes_key dec_key;
23 struct aes_key tweak_key;
Daes.c24 struct aes_key enc_key;
25 struct aes_key dec_key;
Daes_cbc.c20 struct aes_key enc_key;
21 struct aes_key dec_key;
Daes_ctr.c20 struct aes_key enc_key;
/drivers/crypto/cavium/cpt/
Dcptvf_algs.h50 u64 aes_key:2; member
70 u64 aes_key:2;
Dcptvf_algs.c122 fctx->enc.enc_ctrl.e.aes_key = ctx->key_type; in create_ctx_hdr()
/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.h75 u64 aes_key:2; member
95 u64 aes_key:2;
Dotx_cptvf_algs.c272 fctx->enc.enc_ctrl.e.aes_key = ctx->key_type; in create_ctx_hdr()
1027 fctx->enc.enc_ctrl.e.aes_key = ctx->key_type; in create_aead_ctx_hdr()
/drivers/crypto/axis/
Dartpec6_crypto.c325 unsigned char aes_key[2*AES_MAX_KEY_SIZE]; member
1198 ret = crypto_sync_skcipher_setkey(ctx->fallback, ctx->aes_key, in artpec6_crypto_ctr_crypt()
1257 memcpy(ctx->aes_key, key, len); in artpec6_crypto_aead_set_key()
1610 memcpy(ctx->aes_key, key, keylen); in artpec6_crypto_cipher_set_key()
1636 memcpy(ctx->aes_key, key, keylen); in artpec6_crypto_xts_set_key()
1690 ret = artpec6_crypto_setup_out_descr(common, ctx->aes_key, in artpec6_crypto_prepare_crypto()
1854 ret = artpec6_crypto_setup_out_descr(common, ctx->aes_key, in artpec6_crypto_prepare_aead()
/drivers/net/wireless/marvell/mwifiex/
Dinit.c135 memset(&priv->aes_key, 0, sizeof(priv->aes_key)); in mwifiex_init_priv()
Dsta_cmdresp.c599 memset(priv->aes_key.key_param_set.key, 0, in mwifiex_ret_802_11_key_material_v1()
601 priv->aes_key.key_param_set.key_len = cpu_to_le16(len); in mwifiex_ret_802_11_key_material_v1()
602 memcpy(priv->aes_key.key_param_set.key, key->key_param_set.key, len); in mwifiex_ret_802_11_key_material_v1()
Dsta_ioctl.c1027 ibss_key = &priv->aes_key; in mwifiex_sec_ioctl_set_wpa_key()
Dmain.h601 struct host_cmd_ds_802_11_key_material aes_key; member
/drivers/crypto/
Dmxs-dcp.c64 uint8_t aes_key[2 * AES_KEYSIZE_128]; member
228 key_phys = dma_map_single(sdcp->dev, sdcp->coh->aes_key, in mxs_dcp_run_aes()
312 uint8_t *key = sdcp->coh->aes_key; in mxs_dcp_aes_block_crypt()
Ds5p-sss.c254 u8 aes_key[AES_MAX_KEY_SIZE]; member
1955 s5p_set_aes(dev, dev->ctx->aes_key, iv, ctr, dev->ctx->keylen); in s5p_aes_crypt_start()
2058 memcpy(ctx->aes_key, key, keylen); in s5p_aes_setkey()
/drivers/infiniband/core/
Duverbs_std_types_flow_action.c366 aes_key),
/drivers/net/ethernet/mellanox/mlx5/core/accel/
Dipsec_offload.c230 err = mlx5_create_encryption_key(mdev, aes_gcm->aes_key, in mlx5_ipsec_offload_create_sa_ctx()
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec.c161 memcpy(aes_gcm->aes_key, x->aead->alg_key, key_len); in mlx5e_ipsec_build_accel_xfrm_attrs()
/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dipsec.c468 memcpy(&hw_sa->ipsec_sa_v1.key_enc, aes_gcm->aes_key, in mlx5_fpga_ipsec_build_hw_xfrm()
473 aes_gcm->aes_key, aes_gcm->key_len / 8); in mlx5_fpga_ipsec_build_hw_xfrm()
/drivers/infiniband/hw/mlx5/
Dfs.c1616 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()