Searched refs:enc_key_len (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptvf_algs.h | 166 u32 enc_key_len; member
|
H A D | otx2_cptvf_algs.c | 830 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 D | otx_cptvf_algs.h | 175 u32 enc_key_len; member
|
H A D | otx_cptvf_algs.c | 775 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 D | spu2.h | 179 u16 spu2_response_hdr_len(u16 auth_key_len, u16 enc_key_len, bool is_hash);
|
H A D | spu.h | 228 u16 spum_response_hdr_len(u16 auth_key_len, u16 enc_key_len, bool is_hash);
|
H A D | cipher.h | 362 u16 (*spu_response_hdr_len)(u16 auth_key_len, u16 enc_key_len,
|
H A D | spu.c | 404 u16 spum_response_hdr_len(u16 auth_key_len, u16 enc_key_len, bool is_hash) in spum_response_hdr_len() argument
|
H A D | spu2.c | 827 u16 spu2_response_hdr_len(u16 auth_key_len, u16 enc_key_len, bool is_hash) in spu2_response_hdr_len() argument
|