Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/vmx/
H A 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);
H A Daes_xts.c21 struct aes_key enc_key;
22 struct aes_key dec_key;
23 struct aes_key tweak_key;
H A Daes.c24 struct aes_key enc_key;
25 struct aes_key dec_key;
H A Daes_cbc.c20 struct aes_key enc_key;
21 struct aes_key dec_key;
H A Daes_ctr.c20 struct aes_key enc_key;
/openbmc/linux/drivers/crypto/cavium/cpt/
H A Dcptvf_algs.h50 u64 aes_key:2; member
70 u64 aes_key:2;
H A Dcptvf_algs.c122 fctx->enc.enc_ctrl.e.aes_key = ctx->key_type; in create_ctx_hdr()
/openbmc/linux/arch/arm64/crypto/
H A 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()
/openbmc/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_algs.h65 u64 aes_key:2; member
85 u64 aes_key:2;
H A Dotx2_cptvf_algs.c259 fctx->enc.enc_ctrl.e.aes_key = ctx->key_type; in create_ctx_hdr()
1008 fctx->enc.enc_ctrl.e.aes_key = ctx->key_type; in create_aead_ctx_hdr()
/openbmc/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_algs.h75 u64 aes_key:2; member
95 u64 aes_key:2;
H A Dotx_cptvf_algs.c274 fctx->enc.enc_ctrl.e.aes_key = ctx->key_type; in create_ctx_hdr()
954 fctx->enc.enc_ctrl.e.aes_key = ctx->key_type; in create_aead_ctx_hdr()
/openbmc/linux/arch/powerpc/crypto/
H A Daes-gcm-p10-glue.c44 struct aes_key { struct
62 struct aes_key enc_key; argument
/openbmc/linux/include/uapi/rdma/
H A Dib_user_ioctl_verbs.h162 __u32 aes_key[256 / 32]; member
/openbmc/u-boot/drivers/crypto/
H A Dace_sha.h46 unsigned int aes_key[8]; member
/openbmc/linux/drivers/crypto/axis/
H A 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()
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Dinit.c124 memset(&priv->aes_key, 0, sizeof(priv->aes_key)); in mwifiex_init_priv()
H A 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()
H A Dsta_ioctl.c1015 ibss_key = &priv->aes_key; in mwifiex_sec_ioctl_set_wpa_key()
H A Dmain.h583 struct host_cmd_ds_802_11_key_material aes_key; member
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.h52 u32 aes_key[256 / 32]; member
H A Dipsec_offload.c208 err = mlx5_create_encryption_key(mdev, aes_gcm->aes_key, in mlx5_ipsec_create_sa_ctx()
H A Dipsec.c329 memcpy(aes_gcm->aes_key, x->aead->alg_key, key_len); in mlx5e_ipsec_build_accel_xfrm_attrs()
/openbmc/linux/drivers/crypto/
H A 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()
H A 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()