Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/crypto/vmx/
Daesp8-ppc.h5 struct aes_key { struct
17 struct aes_key *key); argument
19 struct aes_key *key);
20 void aes_p8_encrypt(const u8 *in, u8 *out, const struct aes_key *key);
21 void aes_p8_decrypt(const u8 *in, u8 *out, const struct aes_key *key);
23 const struct aes_key *key, u8 *iv, const int enc);
25 size_t len, const struct aes_key *key,
28 const struct aes_key *key1, const struct aes_key *key2, u8 *iv);
30 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;
/Linux-v6.6/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()
/Linux-v6.6/arch/arm64/crypto/
Dghash-ce-glue.c47 struct crypto_aes_ctx aes_key; member
240 ret = aes_expandkey(&ctx->aes_key, inkey, keylen); in gcm_aes_setkey()
244 aes_encrypt(&ctx->aes_key, key, (u8[AES_BLOCK_SIZE]){}); in gcm_aes_setkey()
339 int nrounds = num_rounds(&ctx->aes_key); in gcm_encrypt()
374 dg, iv, ctx->aes_key.key_enc, nrounds, in gcm_encrypt()
403 int nrounds = num_rounds(&ctx->aes_key); in gcm_decrypt()
444 dg, iv, ctx->aes_key.key_enc, in gcm_decrypt()
/Linux-v6.6/drivers/crypto/marvell/octeontx2/
Dotx2_cptvf_algs.h65 u64 aes_key:2; member
85 u64 aes_key:2;
Dotx2_cptvf_algs.c258 fctx->enc.enc_ctrl.e.aes_key = ctx->key_type; in create_ctx_hdr()
1082 fctx->enc.enc_ctrl.e.aes_key = ctx->key_type; in create_aead_ctx_hdr()
/Linux-v6.6/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.h75 u64 aes_key:2; member
95 u64 aes_key:2;
Dotx_cptvf_algs.c273 fctx->enc.enc_ctrl.e.aes_key = ctx->key_type; in create_ctx_hdr()
1029 fctx->enc.enc_ctrl.e.aes_key = ctx->key_type; in create_aead_ctx_hdr()
/Linux-v6.6/arch/powerpc/crypto/
Daes-gcm-p10-glue.c44 struct aes_key { struct
62 struct aes_key enc_key; argument
/Linux-v6.6/include/uapi/rdma/
Dib_user_ioctl_verbs.h162 __u32 aes_key[256 / 32]; member
/Linux-v6.6/drivers/crypto/axis/
Dartpec6_crypto.c326 unsigned char aes_key[2*AES_MAX_KEY_SIZE]; member
1199 ret = crypto_sync_skcipher_setkey(ctx->fallback, ctx->aes_key, in artpec6_crypto_ctr_crypt()
1258 memcpy(ctx->aes_key, key, len); in artpec6_crypto_aead_set_key()
1611 memcpy(ctx->aes_key, key, keylen); in artpec6_crypto_cipher_set_key()
1637 memcpy(ctx->aes_key, key, keylen); in artpec6_crypto_xts_set_key()
1691 ret = artpec6_crypto_setup_out_descr(common, ctx->aes_key, in artpec6_crypto_prepare_crypto()
1855 ret = artpec6_crypto_setup_out_descr(common, ctx->aes_key, in artpec6_crypto_prepare_aead()
/Linux-v6.6/drivers/net/wireless/marvell/mwifiex/
Dinit.c124 memset(&priv->aes_key, 0, sizeof(priv->aes_key)); in mwifiex_init_priv()
Dsta_cmdresp.c588 memset(priv->aes_key.key_param_set.key, 0, in mwifiex_ret_802_11_key_material_v1()
590 priv->aes_key.key_param_set.key_len = cpu_to_le16(len); in mwifiex_ret_802_11_key_material_v1()
591 memcpy(priv->aes_key.key_param_set.key, key->key_param_set.key, len); in mwifiex_ret_802_11_key_material_v1()
Dsta_ioctl.c1015 ibss_key = &priv->aes_key; in mwifiex_sec_ioctl_set_wpa_key()
Dmain.h583 struct host_cmd_ds_802_11_key_material aes_key; member
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec.h52 u32 aes_key[256 / 32]; member
Dipsec_offload.c202 err = mlx5_create_encryption_key(mdev, aes_gcm->aes_key, in mlx5_ipsec_create_sa_ctx()
Dipsec.c316 memcpy(aes_gcm->aes_key, x->aead->alg_key, key_len); in mlx5e_ipsec_build_accel_xfrm_attrs()
/Linux-v6.6/drivers/crypto/
Dmxs-dcp.c65 uint8_t aes_key[2 * AES_KEYSIZE_128]; member
229 key_phys = dma_map_single(sdcp->dev, sdcp->coh->aes_key, in mxs_dcp_run_aes()
313 uint8_t *key = sdcp->coh->aes_key; in mxs_dcp_aes_block_crypt()
Ds5p-sss.c255 u8 aes_key[AES_MAX_KEY_SIZE]; member
1952 s5p_set_aes(dev, dev->ctx->aes_key, iv, ctr, dev->ctx->keylen); in s5p_aes_crypt_start()
2055 memcpy(ctx->aes_key, key, keylen); in s5p_aes_setkey()