/openbmc/linux/drivers/crypto/nx/ |
H A D | nx-aes-gcm.c | 173 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gmac() 246 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_empty() 293 crypto_aead_authsize(crypto_aead_reqtfm(req))); in gcm_empty() 311 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_aes_nx_crypt() 350 nbytes -= crypto_aead_authsize(crypto_aead_reqtfm(req)); in gcm_aes_nx_crypt() 397 crypto_aead_authsize(crypto_aead_reqtfm(req)), in gcm_aes_nx_crypt() 405 crypto_aead_authsize(crypto_aead_reqtfm(req)), in gcm_aes_nx_crypt() 408 crypto_aead_authsize(crypto_aead_reqtfm(req))) ? in gcm_aes_nx_crypt() 439 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm4106_aes_nx_encrypt() 456 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm4106_aes_nx_decrypt()
|
/openbmc/linux/crypto/ |
H A D | chacha20poly1305.c | 86 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in chacha_iv() 125 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in chacha_decrypt() 171 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in poly_tail() 201 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_cipherpad() 230 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_cipher() 260 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_adpad() 289 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_ad() 313 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_setkey() 339 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_init() 362 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in poly_genkey() [all …]
|
H A D | seqiv.c | 32 geniv = crypto_aead_reqtfm(req); in seqiv_aead_encrypt_complete2() 49 struct crypto_aead *geniv = crypto_aead_reqtfm(req); in seqiv_aead_encrypt() 110 struct crypto_aead *geniv = crypto_aead_reqtfm(req); in seqiv_aead_decrypt()
|
H A D | authenc.c | 115 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in authenc_geniv_ahash_done() 134 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_genicv() 178 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_copy_assoc() 193 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_encrypt() 231 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_decrypt_tail() 278 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_decrypt()
|
H A D | authencesn.c | 89 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_genicv_tail() 121 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_genicv() 167 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_copy() 181 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_encrypt() 220 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_decrypt_tail() 269 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_decrypt()
|
H A D | ccm.c | 64 unsigned long align = crypto_aead_alignmask(crypto_aead_reqtfm(req)); in crypto_ccm_reqctx() 130 struct crypto_aead *aead = crypto_aead_reqtfm(req); in format_input() 172 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_auth() 230 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_encrypt_done() 287 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_encrypt() 327 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_decrypt_done() 346 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_decrypt() 607 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4309_crypt()
|
H A D | gcm.c | 87 unsigned long align = crypto_aead_alignmask(crypto_aead_reqtfm(req)); in crypto_gcm_reqctx() 180 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_gcm_init_crypt() 400 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_hash() 412 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_enc_copy_hash() 466 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_gcm_verify() 501 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_gcm_decrypt() 723 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4106_crypt() 928 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4543_crypt() 959 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4543_copy_src_to_dst()
|
H A D | echainiv.c | 28 struct crypto_aead *geniv = crypto_aead_reqtfm(req); in echainiv_encrypt() 87 struct crypto_aead *geniv = crypto_aead_reqtfm(req); in echainiv_decrypt()
|
H A D | aegis128-core.c | 390 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_encrypt_generic() 413 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_decrypt_generic() 451 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_encrypt_simd() 476 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_decrypt_simd()
|
H A D | pcrypt.c | 98 struct crypto_aead *aead = crypto_aead_reqtfm(req); in pcrypt_aead_encrypt() 149 struct crypto_aead *aead = crypto_aead_reqtfm(req); in pcrypt_aead_decrypt()
|
H A D | aead.c | 105 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_aead_encrypt() 128 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_aead_decrypt()
|
/openbmc/linux/drivers/crypto/ |
H A D | omap-aes-gcm.c | 95 struct crypto_aead *aead = crypto_aead_reqtfm(req); in omap_aes_gcm_copy_buffers() 179 struct omap_aes_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in do_encrypt_iv() 222 struct omap_aes_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_gcm_prepare_req() 242 struct crypto_aead *aead = crypto_aead_reqtfm(req); in omap_aes_gcm_crypt() 291 struct omap_aes_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_4106gcm_encrypt() 303 struct omap_aes_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_4106gcm_decrypt()
|
/openbmc/linux/arch/arm64/crypto/ |
H A D | sm4-ce-gcm-glue.c | 75 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_calculate_auth_mac() 144 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_crypt() 200 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_encrypt() 219 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_decrypt()
|
H A D | sm4-ce-ccm-glue.c | 56 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_format_input() 93 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_calculate_auth_mac() 215 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_encrypt() 242 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_decrypt()
|
H A D | aes-ce-ccm-glue.c | 61 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_init_mac() 99 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_calculate_auth_mac() 148 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_encrypt() 201 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_decrypt()
|
H A D | ghash-ce-glue.c | 302 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_calculate_auth_mac() 337 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_encrypt() 400 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_decrypt() 502 struct crypto_aead *aead = crypto_aead_reqtfm(req); in rfc4106_encrypt() 515 struct crypto_aead *aead = crypto_aead_reqtfm(req); in rfc4106_decrypt()
|
/openbmc/linux/drivers/crypto/qce/ |
H A D | aead.c | 29 struct qce_alg_template *tmpl = to_aead_tmpl(crypto_aead_reqtfm(req)); in qce_aead_done() 96 struct qce_alg_template *tmpl = to_aead_tmpl(crypto_aead_reqtfm(req)); in qce_aead_prepare_result_buf() 116 struct qce_alg_template *tmpl = to_aead_tmpl(crypto_aead_reqtfm(req)); in qce_aead_prepare_dst_buf() 188 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in qce_aead_ccm_prepare_buf_assoclen() 304 struct qce_alg_template *tmpl = to_aead_tmpl(crypto_aead_reqtfm(req)); in qce_aead_prepare_buf() 332 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in qce_aead_ccm_prepare_buf() 412 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in qce_aead_async_req_handle() 414 struct qce_alg_template *tmpl = to_aead_tmpl(crypto_aead_reqtfm(req)); in qce_aead_async_req_handle() 504 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in qce_aead_crypt()
|
/openbmc/linux/drivers/crypto/xilinx/ |
H A D | zynqmp-aes-gcm.c | 79 struct crypto_aead *aead = crypto_aead_reqtfm(req); in zynqmp_aes_aead_cipher() 209 struct crypto_aead *aead = crypto_aead_reqtfm(req); in zynqmp_handle_aes_req() 287 struct crypto_aead *aead = crypto_aead_reqtfm(req); in zynqmp_aes_aead_encrypt() 300 struct crypto_aead *aead = crypto_aead_reqtfm(req); in zynqmp_aes_aead_decrypt()
|
/openbmc/linux/arch/x86/crypto/ |
H A D | aegis128-aesni-glue.c | 170 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_aesni_crypt() 195 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_aesni_encrypt() 217 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_aesni_decrypt()
|
H A D | aesni-intel_glue.c | 782 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in gcmaes_encrypt() 801 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in gcmaes_decrypt() 827 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in helper_rfc4106_encrypt() 855 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in helper_rfc4106_decrypt() 1156 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in generic_gcmaes_encrypt() 1173 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in generic_gcmaes_decrypt()
|
/openbmc/linux/drivers/crypto/ccree/ |
H A D | cc_aead.c | 212 struct crypto_aead *tfm = crypto_aead_reqtfm(cc_req); in cc_aead_complete() 724 struct crypto_aead *tfm = crypto_aead_reqtfm(areq); in cc_set_assoc_desc() 768 struct crypto_aead *tfm = crypto_aead_reqtfm(areq); in cc_proc_authen_desc() 832 struct crypto_aead *tfm = crypto_aead_reqtfm(areq); in cc_proc_cipher_desc() 874 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_proc_digest_desc() 924 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_set_cipher_desc() 991 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_set_hmac_desc() 1024 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_set_xcbc_desc() 1100 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_proc_scheme_desc() 1162 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cc_mlli_to_sram() [all …]
|
/openbmc/linux/drivers/crypto/intel/keembay/ |
H A D | keembay-ocs-aes-core.c | 598 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in kmb_ocs_aead_validate_input() 640 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aead_common() 655 crypto_aead_authsize(crypto_aead_reqtfm(req))); in kmb_ocs_aead_common() 684 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aead_dma_cleanup() 721 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aead_dma_prepare() 722 const int tag_size = crypto_aead_authsize(crypto_aead_reqtfm(req)); in kmb_ocs_aead_dma_prepare() 889 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aead_run() 890 const int tag_size = crypto_aead_authsize(crypto_aead_reqtfm(req)); in kmb_ocs_aead_run() 977 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aes_aead_do_one_request()
|
/openbmc/linux/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_aead.c | 215 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in nitrox_aes_gcm_enc() 249 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in nitrox_aes_gcm_dec() 442 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in nitrox_rfc4106_enc() 474 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in nitrox_rfc4106_dec()
|
/openbmc/linux/arch/arm/crypto/ |
H A D | ghash-ce-glue.c | 453 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_calculate_auth_mac() 492 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_encrypt() 582 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_decrypt() 695 struct crypto_aead *aead = crypto_aead_reqtfm(req); in rfc4106_encrypt() 708 struct crypto_aead *aead = crypto_aead_reqtfm(req); in rfc4106_decrypt()
|
/openbmc/linux/drivers/crypto/hisilicon/sec2/ |
H A D | sec_crypto.c | 919 tfm = crypto_aead_reqtfm(aead_req); in GEN_SEC_SETKEY_FUNC() 954 struct crypto_aead *tfm = crypto_aead_reqtfm(aead_req); in sec_aead_mac_init() 1462 struct crypto_aead *tfm = crypto_aead_reqtfm(aead_req); in set_aead_auth_iv() 1529 struct crypto_aead *tfm = crypto_aead_reqtfm(aq); in sec_auth_bd_fill_xcm() 1557 struct crypto_aead *tfm = crypto_aead_reqtfm(aq); in sec_auth_bd_fill_xcm_v3() 1585 struct crypto_aead *tfm = crypto_aead_reqtfm(aq); in sec_auth_bd_fill_ex() 1640 struct crypto_aead *tfm = crypto_aead_reqtfm(aq); in sec_auth_bd_fill_ex_v3() 1696 struct crypto_aead *tfm = crypto_aead_reqtfm(a_req); in sec_aead_callback() 2262 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in sec_aead_spec_check() 2309 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in sec_aead_param_check() [all …]
|