Home
last modified time | relevance | path

Searched refs:enc_key_len (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_algs.h166 u32 enc_key_len; member
H A Dotx2_cptvf_algs.c830 ctx->enc_key_len = keys->enckeylen; in aead_hmac_init()
918 ctx->enc_key_len = AES_KEYSIZE_128; in otx2_cpt_aead_gcm_aes_setkey()
922 ctx->enc_key_len = AES_KEYSIZE_192; in otx2_cpt_aead_gcm_aes_setkey()
926 ctx->enc_key_len = AES_KEYSIZE_256; in otx2_cpt_aead_gcm_aes_setkey()
960 ctx->enc_key_len); in create_aead_ctx_hdr()
979 memcpy(fctx->enc.encr_key, ctx->key, ctx->enc_key_len); in create_aead_ctx_hdr()
981 memcpy(fctx->enc.encr_iv, ctx->key + ctx->enc_key_len, in create_aead_ctx_hdr()
/openbmc/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_algs.h175 u32 enc_key_len; member
H A Dotx_cptvf_algs.c775 ctx->enc_key_len = keys->enckeylen; in aead_hmac_init()
870 ctx->enc_key_len = AES_KEYSIZE_128; in otx_cpt_aead_gcm_aes_setkey()
874 ctx->enc_key_len = AES_KEYSIZE_192; in otx_cpt_aead_gcm_aes_setkey()
878 ctx->enc_key_len = AES_KEYSIZE_256; in otx_cpt_aead_gcm_aes_setkey()
909 ctx->enc_key_len); in create_aead_ctx_hdr()
925 memcpy(fctx->enc.encr_key, ctx->key, ctx->enc_key_len); in create_aead_ctx_hdr()
927 memcpy(fctx->enc.encr_iv, ctx->key + ctx->enc_key_len, in create_aead_ctx_hdr()
/openbmc/linux/drivers/crypto/bcm/
H A Dspu2.h179 u16 spu2_response_hdr_len(u16 auth_key_len, u16 enc_key_len, bool is_hash);
H A Dspu.h228 u16 spum_response_hdr_len(u16 auth_key_len, u16 enc_key_len, bool is_hash);
H A Dcipher.h362 u16 (*spu_response_hdr_len)(u16 auth_key_len, u16 enc_key_len,
H A Dspu.c404 u16 spum_response_hdr_len(u16 auth_key_len, u16 enc_key_len, bool is_hash) in spum_response_hdr_len() argument
H A Dspu2.c827 u16 spu2_response_hdr_len(u16 auth_key_len, u16 enc_key_len, bool is_hash) in spu2_response_hdr_len() argument