Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.c884 ctx->enc_key_len = enckeylen; in otx_cpt_aead_cbc_aes_sha_setkey()
925 ctx->enc_key_len = enckeylen; in otx_cpt_aead_ecb_null_sha_setkey()
945 ctx->enc_key_len = AES_KEYSIZE_128; in otx_cpt_aead_gcm_aes_setkey()
949 ctx->enc_key_len = AES_KEYSIZE_192; in otx_cpt_aead_gcm_aes_setkey()
953 ctx->enc_key_len = AES_KEYSIZE_256; in otx_cpt_aead_gcm_aes_setkey()
984 ctx->enc_key_len); in create_aead_ctx_hdr()
1000 memcpy(fctx->enc.encr_key, ctx->key, ctx->enc_key_len); in create_aead_ctx_hdr()
1002 memcpy(fctx->enc.encr_iv, ctx->key + ctx->enc_key_len, in create_aead_ctx_hdr()
Dotx_cptvf_algs.h175 u32 enc_key_len; member
/Linux-v6.6/drivers/crypto/marvell/octeontx2/
Dotx2_cptvf_algs.c938 ctx->enc_key_len = enckeylen; in otx2_cpt_aead_cbc_aes_sha_setkey()
973 ctx->enc_key_len = enckeylen; in otx2_cpt_aead_ecb_null_sha_setkey()
992 ctx->enc_key_len = AES_KEYSIZE_128; in otx2_cpt_aead_gcm_aes_setkey()
996 ctx->enc_key_len = AES_KEYSIZE_192; in otx2_cpt_aead_gcm_aes_setkey()
1000 ctx->enc_key_len = AES_KEYSIZE_256; in otx2_cpt_aead_gcm_aes_setkey()
1034 ctx->enc_key_len); in create_aead_ctx_hdr()
1053 memcpy(fctx->enc.encr_key, ctx->key, ctx->enc_key_len); in create_aead_ctx_hdr()
1055 memcpy(fctx->enc.encr_iv, ctx->key + ctx->enc_key_len, in create_aead_ctx_hdr()
Dotx2_cptvf_algs.h166 u32 enc_key_len; member
/Linux-v6.6/drivers/crypto/bcm/
Dspu2.h179 u16 spu2_response_hdr_len(u16 auth_key_len, u16 enc_key_len, bool is_hash);
Dspu.h228 u16 spum_response_hdr_len(u16 auth_key_len, u16 enc_key_len, bool is_hash);
Dcipher.h362 u16 (*spu_response_hdr_len)(u16 auth_key_len, u16 enc_key_len,
Dspu.c404 u16 spum_response_hdr_len(u16 auth_key_len, u16 enc_key_len, bool is_hash) in spum_response_hdr_len() argument
Dspu2.c827 u16 spu2_response_hdr_len(u16 auth_key_len, u16 enc_key_len, bool is_hash) in spu2_response_hdr_len() argument