Home
last modified time | relevance | path

Searched defs:authsize (Results 1 – 25 of 65) sorted by relevance

123

/linux-6.6.21/include/crypto/
Dgcm.h16 static inline int crypto_gcm_check_authsize(unsigned int authsize) in crypto_gcm_check_authsize()
37 static inline int crypto_rfc4106_check_authsize(unsigned int authsize) in crypto_rfc4106_check_authsize()
70 unsigned int authsize; member
/linux-6.6.21/drivers/crypto/nx/
Dnx-aes-ccm.c70 unsigned int authsize) in ccm_aes_nx_setauthsize()
89 unsigned int authsize) in ccm4309_aes_nx_setauthsize()
133 static int generate_b0(u8 *iv, unsigned int assoclen, unsigned int authsize, in generate_b0()
156 unsigned int authsize, in generate_pat()
333 unsigned int authsize = crypto_aead_authsize(crypto_aead_reqtfm(req)); in ccm_nx_decrypt() local
411 unsigned int authsize = crypto_aead_authsize(crypto_aead_reqtfm(req)); in ccm_nx_encrypt() local
/linux-6.6.21/crypto/
Daegis128-core.c379 unsigned int authsize) in crypto_aegis128_setauthsize()
392 unsigned int authsize = crypto_aead_authsize(tfm); in crypto_aegis128_encrypt_generic() local
415 unsigned int authsize = crypto_aead_authsize(tfm); in crypto_aegis128_decrypt_generic() local
453 unsigned int authsize = crypto_aead_authsize(tfm); in crypto_aegis128_encrypt_simd() local
478 unsigned int authsize = crypto_aead_authsize(tfm); in crypto_aegis128_decrypt_simd() local
Dauthencesn.c50 unsigned int authsize) in crypto_authenc_esn_setauthsize()
95 unsigned int authsize = crypto_aead_authsize(authenc_esn); in crypto_authenc_esn_genicv_tail() local
128 unsigned int authsize = crypto_aead_authsize(authenc_esn); in crypto_authenc_esn_genicv() local
221 unsigned int authsize = crypto_aead_authsize(authenc_esn); in crypto_authenc_esn_decrypt_tail() local
273 unsigned int authsize = crypto_aead_authsize(authenc_esn); in crypto_authenc_esn_decrypt() local
Dgcm.c147 unsigned int authsize) in crypto_gcm_setauthsize()
469 unsigned int authsize = crypto_aead_authsize(aead); in crypto_gcm_verify() local
504 unsigned int authsize = crypto_aead_authsize(aead); in crypto_gcm_decrypt() local
708 unsigned int authsize) in crypto_rfc4106_setauthsize()
916 unsigned int authsize) in crypto_rfc4543_setauthsize()
932 unsigned int authsize = crypto_aead_authsize(aead); in crypto_rfc4543_crypt() local
961 unsigned int authsize = crypto_aead_authsize(aead); in crypto_rfc4543_copy_src_to_dst() local
Dccm.c109 unsigned int authsize) in crypto_ccm_setauthsize()
328 unsigned int authsize = crypto_aead_authsize(aead); in crypto_ccm_decrypt_done() local
351 unsigned int authsize = crypto_aead_authsize(aead); in crypto_ccm_decrypt() local
587 unsigned int authsize) in crypto_rfc4309_setauthsize()
Daegis128-neon.c59 unsigned int authsize) in crypto_aegis128_final_simd()
Dgeniv.c28 unsigned int authsize) in aead_geniv_setauthsize()
Dauthenc.c239 unsigned int authsize = crypto_aead_authsize(authenc); in crypto_authenc_decrypt_tail() local
279 unsigned int authsize = crypto_aead_authsize(authenc); in crypto_authenc_decrypt() local
/linux-6.6.21/arch/x86/crypto/
Daegis128-aesni-glue.c156 unsigned int authsize) in crypto_aegis128_aesni_setauthsize()
197 unsigned int authsize = crypto_aead_authsize(tfm); in crypto_aegis128_aesni_encrypt() local
219 unsigned int authsize = crypto_aead_authsize(tfm); in crypto_aegis128_aesni_decrypt() local
/linux-6.6.21/arch/arm64/crypto/
Daes-ce-ccm-glue.c52 static int ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in ccm_setauthsize()
203 unsigned int authsize = crypto_aead_authsize(aead); in ccm_decrypt() local
Dsm4-ce-ccm-glue.c46 static int ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in ccm_setauthsize()
243 unsigned int authsize = crypto_aead_authsize(aead); in ccm_decrypt() local
Dsm4-ce-gcm-glue.c61 static int gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in gcm_setauthsize()
220 unsigned int authsize = crypto_aead_authsize(aead); in gcm_decrypt() local
Dghash-ce-glue.c264 static int gcm_aes_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in gcm_aes_setauthsize()
402 unsigned int authsize = crypto_aead_authsize(aead); in gcm_decrypt() local
495 static int rfc4106_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in rfc4106_setauthsize()
/linux-6.6.21/drivers/crypto/cavium/nitrox/
Dnitrox_aead.c59 unsigned int authsize) in nitrox_aead_setauthsize()
75 unsigned int authsize) in nitrox_aes_gcm_setauthsize()
379 unsigned int authsize) in nitrox_rfc4106_setauthsize()
/linux-6.6.21/drivers/crypto/ccree/
Dcc_buffer_mgr.c538 static bool cc_is_icv_frag(unsigned int sgl_nents, unsigned int authsize, in cc_is_icv_frag()
657 unsigned int authsize = areq_ctx->req_authsize; in cc_prepare_aead_data_dlli() local
683 unsigned int authsize = areq_ctx->req_authsize; in cc_prepare_aead_data_mlli() local
796 unsigned int authsize = areq_ctx->req_authsize; in cc_aead_chain_data() local
952 unsigned int authsize = areq_ctx->req_authsize; in cc_map_aead_request() local
Dcc_aead.c57 unsigned int authsize; /* Actual (reduced?) size of the MAC/ICv */ member
670 unsigned int authsize) in cc_aead_setauthsize()
688 unsigned int authsize) in cc_rfc4309_ccm_setauthsize()
703 unsigned int authsize) in cc_ccm_setauthsize()
2142 unsigned int authsize) in cc_gcm_setauthsize()
2161 unsigned int authsize) in cc_rfc4106_gcm_setauthsize()
2181 unsigned int authsize) in cc_rfc4543_gcm_setauthsize()
/linux-6.6.21/drivers/crypto/chelsio/
Dchcr_algo.c175 int authsize = crypto_aead_authsize(tfm); in chcr_verify_tag() local
2378 unsigned int authsize = crypto_aead_authsize(tfm); in chcr_aead_common_init() local
2407 unsigned int authsize = crypto_aead_authsize(crypto_aead_reqtfm(req)); in chcr_aead_need_fallback() local
2450 unsigned int authsize = crypto_aead_authsize(tfm); in create_authenc_wr() local
2582 unsigned int authsize = crypto_aead_authsize(tfm); in chcr_aead_dma_map() local
2643 unsigned int authsize = crypto_aead_authsize(tfm); in chcr_aead_dma_unmap() local
2711 unsigned int authsize = crypto_aead_authsize(tfm); in chcr_add_aead_dst_ent() local
3048 unsigned int authsize = crypto_aead_authsize(tfm); in create_aead_ccm_wr() local
3146 unsigned int authsize = crypto_aead_authsize(tfm); in create_gcm_wr() local
3274 unsigned int authsize) in chcr_authenc_null_setauthsize()
[all …]
/linux-6.6.21/drivers/crypto/caam/
Dcaamalg.c126 unsigned int authsize; member
322 unsigned int authsize) in aead_setauthsize()
382 static int gcm_setauthsize(struct crypto_aead *authenc, unsigned int authsize) in gcm_setauthsize()
450 unsigned int authsize) in rfc4106_setauthsize()
518 unsigned int authsize) in rfc4543_setauthsize()
557 unsigned int authsize) in chachapoly_setauthsize()
1077 int authsize = ctx->authsize; in init_aead_job() local
1319 unsigned int authsize = ctx->authsize; in aead_edesc_alloc() local
Dcaamalg_qi.c73 unsigned int authsize; member
190 static int aead_setauthsize(struct crypto_aead *authenc, unsigned int authsize) in aead_setauthsize()
348 static int gcm_setauthsize(struct crypto_aead *authenc, unsigned int authsize) in gcm_setauthsize()
452 unsigned int authsize) in rfc4106_setauthsize()
560 unsigned int authsize) in rfc4543_setauthsize()
956 unsigned int authsize = ctx->authsize; in aead_edesc_alloc() local
/linux-6.6.21/drivers/crypto/
Domap-aes-gcm.c349 int omap_aes_gcm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in omap_aes_gcm_setauthsize()
355 unsigned int authsize) in omap_aes_4106gcm_setauthsize()
/linux-6.6.21/drivers/crypto/hisilicon/sec2/
Dsec_crypto.c901 size_t authsize; in GEN_SEC_SETKEY_FUNC() local
952 size_t authsize = crypto_aead_authsize(tfm); in sec_aead_mac_init() local
1118 static int sec_aead_setauthsize(struct crypto_aead *aead, unsigned int authsize) in sec_aead_setauthsize()
1474 size_t authsize = ctx->a_ctx.mac_len; in set_aead_auth_iv() local
1516 size_t authsize = crypto_aead_authsize(tfm); in sec_aead_set_iv() local
1707 size_t authsize = crypto_aead_authsize(tfm); in sec_aead_callback() local
2262 size_t authsize = crypto_aead_authsize(tfm); in sec_aead_spec_check() local
2310 size_t authsize = crypto_aead_authsize(tfm); in sec_aead_param_check() local
/linux-6.6.21/arch/arm/crypto/
Dghash-ce-glue.c416 static int gcm_aes_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in gcm_aes_setauthsize()
584 int authsize = crypto_aead_authsize(aead); in gcm_decrypt() local
688 static int rfc4106_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in rfc4106_setauthsize()
/linux-6.6.21/drivers/crypto/xilinx/
Dzynqmp-aes-gcm.c68 u32 authsize; member
271 unsigned int authsize) in zynqmp_aes_aead_setauthsize()
/linux-6.6.21/drivers/crypto/intel/ixp4xx/
Dixp4xx_crypto.c356 int authsize = crypto_aead_authsize(tfm); in finish_scattered_hmac() local
736 static int setup_auth(struct crypto_tfm *tfm, int encrypt, unsigned int authsize, in setup_auth()
1094 unsigned int authsize = crypto_aead_authsize(tfm); in aead_perform() local
1203 static int aead_setup(struct crypto_aead *tfm, unsigned int authsize) in aead_setup()
1235 static int aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in aead_setauthsize()

123