Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.c883 ctx->enc_key_len = enckeylen; in otx_cpt_aead_cbc_aes_sha_setkey()
924 ctx->enc_key_len = enckeylen; in otx_cpt_aead_ecb_null_sha_setkey()
944 ctx->enc_key_len = AES_KEYSIZE_128; in otx_cpt_aead_gcm_aes_setkey()
948 ctx->enc_key_len = AES_KEYSIZE_192; in otx_cpt_aead_gcm_aes_setkey()
952 ctx->enc_key_len = AES_KEYSIZE_256; in otx_cpt_aead_gcm_aes_setkey()
983 ctx->enc_key_len); in create_aead_ctx_hdr()
999 memcpy(fctx->enc.encr_key, ctx->key, ctx->enc_key_len); in create_aead_ctx_hdr()
1001 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.1/drivers/crypto/marvell/octeontx2/
Dotx2_cptvf_algs.c937 ctx->enc_key_len = enckeylen; in otx2_cpt_aead_cbc_aes_sha_setkey()
972 ctx->enc_key_len = enckeylen; in otx2_cpt_aead_ecb_null_sha_setkey()
991 ctx->enc_key_len = AES_KEYSIZE_128; in otx2_cpt_aead_gcm_aes_setkey()
995 ctx->enc_key_len = AES_KEYSIZE_192; in otx2_cpt_aead_gcm_aes_setkey()
999 ctx->enc_key_len = AES_KEYSIZE_256; in otx2_cpt_aead_gcm_aes_setkey()
1033 ctx->enc_key_len); in create_aead_ctx_hdr()
1052 memcpy(fctx->enc.encr_key, ctx->key, ctx->enc_key_len); in create_aead_ctx_hdr()
1054 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.1/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.h365 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