/linux/include/crypto/ |
H A D | gcm.h | 16 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/drivers/crypto/nx/ |
H A D | nx-aes-ccm.c | 70 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/crypto/ |
H A D | authencesn.c | 50 unsigned int authsize) in crypto_authenc_esn_setauthsize() 92 unsigned int authsize = crypto_aead_authsize(authenc_esn); in crypto_authenc_esn_genicv_tail() local 124 unsigned int authsize = crypto_aead_authsize(authenc_esn); in crypto_authenc_esn_genicv() local 217 unsigned int authsize = crypto_aead_authsize(authenc_esn); in crypto_authenc_esn_decrypt_tail() local 268 unsigned int authsize = crypto_aead_authsize(authenc_esn); in crypto_authenc_esn_decrypt() local
|
H A D | aegis128-core.c | 380 unsigned int authsize) in crypto_aegis128_setauthsize() 393 unsigned int authsize = crypto_aead_authsize(tfm); in crypto_aegis128_encrypt_generic() local 416 unsigned int authsize = crypto_aead_authsize(tfm); in crypto_aegis128_decrypt_generic() local 454 unsigned int authsize = crypto_aead_authsize(tfm); in crypto_aegis128_encrypt_simd() local 479 unsigned int authsize = crypto_aead_authsize(tfm); in crypto_aegis128_decrypt_simd() local
|
H A D | gcm.c | 147 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 706 unsigned int authsize) in crypto_rfc4106_setauthsize() 914 unsigned int authsize) in crypto_rfc4543_setauthsize() 930 unsigned int authsize = crypto_aead_authsize(aead); in crypto_rfc4543_crypt() local 959 unsigned int authsize = crypto_aead_authsize(aead); in crypto_rfc4543_copy_src_to_dst() local
|
H A D | ccm.c | 110 unsigned int authsize) in crypto_ccm_setauthsize() 329 unsigned int authsize = crypto_aead_authsize(aead); in crypto_ccm_decrypt_done() local 352 unsigned int authsize = crypto_aead_authsize(aead); in crypto_ccm_decrypt() local 586 unsigned int authsize) in crypto_rfc4309_setauthsize()
|
H A D | aegis128-neon.c | 59 unsigned int authsize) in crypto_aegis128_final_simd()
|
H A D | geniv.c | 28 unsigned int authsize) in aead_geniv_setauthsize()
|
/linux/arch/x86/crypto/ |
H A D | aegis128-aesni-glue.c | 156 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/arch/arm64/crypto/ |
H A D | sm4-ce-ccm-glue.c | 46 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
|
H A D | sm4-ce-gcm-glue.c | 61 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
|
H A D | aes-ce-ccm-glue.c | 55 static int ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in ccm_setauthsize() 249 unsigned int authsize = crypto_aead_authsize(aead); in ccm_decrypt() local
|
H A D | ghash-ce-glue.c | 264 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/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_aead.c | 59 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/drivers/crypto/ccree/ |
H A D | cc_buffer_mgr.c | 538 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
|
H A D | cc_aead.c | 57 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/drivers/crypto/chelsio/ |
H A D | chcr_algo.c | 175 int authsize = crypto_aead_authsize(tfm); in chcr_verify_tag() local 2385 unsigned int authsize = crypto_aead_authsize(tfm); in chcr_aead_common_init() local 2414 unsigned int authsize = crypto_aead_authsize(crypto_aead_reqtfm(req)); in chcr_aead_need_fallback() local 2457 unsigned int authsize = crypto_aead_authsize(tfm); in create_authenc_wr() local 2589 unsigned int authsize = crypto_aead_authsize(tfm); in chcr_aead_dma_map() local 2650 unsigned int authsize = crypto_aead_authsize(tfm); in chcr_aead_dma_unmap() local 2718 unsigned int authsize = crypto_aead_authsize(tfm); in chcr_add_aead_dst_ent() local 3055 unsigned int authsize = crypto_aead_authsize(tfm); in create_aead_ccm_wr() local 3153 unsigned int authsize = crypto_aead_authsize(tfm); in create_gcm_wr() local 3281 unsigned int authsize) in chcr_authenc_null_setauthsize() [all …]
|
/linux/drivers/crypto/caam/ |
H A D | caamalg.c | 126 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
|
H A D | caamalg_qi.c | 73 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/drivers/crypto/ |
H A D | omap-aes-gcm.c | 349 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/tools/testing/selftests/bpf/progs/ |
H A D | crypto_bench.c | 15 u32 key_len, authsize; variable
|
H A D | crypto_sanity.c | 15 u32 authsize, key_len; variable
|
/linux/drivers/crypto/hisilicon/sec2/ |
H A D | sec_crypto.c | 899 size_t authsize; in GEN_SEC_SETKEY_FUNC() local 950 size_t authsize = crypto_aead_authsize(tfm); in sec_aead_mac_init() local 1117 static int sec_aead_setauthsize(struct crypto_aead *aead, unsigned int authsize) in sec_aead_setauthsize() 1475 size_t authsize = ctx->a_ctx.mac_len; in set_aead_auth_iv() local 1517 size_t authsize = crypto_aead_authsize(tfm); in sec_aead_set_iv() local 1708 size_t authsize = crypto_aead_authsize(tfm); in sec_aead_callback() local 2236 size_t authsize = crypto_aead_authsize(tfm); in sec_aead_spec_check() local 2284 size_t authsize = crypto_aead_authsize(tfm); in sec_aead_param_check() local
|
/linux/arch/arm/crypto/ |
H A D | ghash-ce-glue.c | 416 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/drivers/crypto/xilinx/ |
H A D | zynqmp-aes-gcm.c | 68 u32 authsize; member 274 unsigned int authsize) in zynqmp_aes_aead_setauthsize()
|