| /Linux-v5.4/crypto/ |
| D | chacha20poly1305.c | 88 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in chacha_iv() 127 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in chacha_decrypt() 174 struct chachapoly_ctx *ctx = crypto_aead_ctx(tfm); in poly_tail() 203 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_cipherpad() 232 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_cipher() 262 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_adpad() 291 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_ad() 315 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_setkey() 341 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_init() 365 struct chachapoly_ctx *ctx = crypto_aead_ctx(tfm); in poly_genkey() [all …]
|
| D | authencesn.c | 61 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_setkey() 100 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_genicv_tail() 134 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_genicv() 180 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_copy() 195 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_encrypt() 235 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_decrypt_tail() 284 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_decrypt() 336 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_esn_init_tfm() 384 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_esn_exit_tfm()
|
| D | pcrypt.c | 38 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(parent); in pcrypt_aead_setkey() 46 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(parent); in pcrypt_aead_setauthsize() 91 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(aead); in pcrypt_aead_encrypt() 133 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(aead); in pcrypt_aead_decrypt() 160 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(tfm); in pcrypt_aead_init_tfm() 185 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(tfm); in pcrypt_aead_exit_tfm()
|
| D | authenc.c | 87 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_setkey() 146 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_genicv() 190 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_copy_assoc() 206 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_encrypt() 244 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_decrypt_tail() 293 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_decrypt() 321 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_init_tfm() 366 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_exit_tfm()
|
| D | gcm.c | 96 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(aead); in crypto_gcm_setkey() 187 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(aead); in crypto_gcm_init_crypt() 408 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_hash() 531 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(tfm); in crypto_gcm_init_tfm() 567 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(tfm); in crypto_gcm_exit_tfm() 728 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4106_setkey() 751 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4106_setauthsize() 765 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(aead); in crypto_rfc4106_crypt() 832 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(tfm); in crypto_rfc4106_init_tfm() 855 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(tfm); in crypto_rfc4106_exit_tfm() [all …]
|
| D | simd.c | 296 struct simd_aead_ctx *ctx = crypto_aead_ctx(tfm); in simd_aead_setkey() 311 struct simd_aead_ctx *ctx = crypto_aead_ctx(tfm); in simd_aead_setauthsize() 320 struct simd_aead_ctx *ctx = crypto_aead_ctx(tfm); in simd_aead_encrypt() 341 struct simd_aead_ctx *ctx = crypto_aead_ctx(tfm); in simd_aead_decrypt() 361 struct simd_aead_ctx *ctx = crypto_aead_ctx(tfm); in simd_aead_exit() 368 struct simd_aead_ctx *ctx = crypto_aead_ctx(tfm); in simd_aead_init()
|
| D | ccm.c | 91 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_setkey() 181 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_auth() 296 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_encrypt() 356 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_decrypt() 405 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(tfm); in crypto_ccm_init_tfm() 439 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(tfm); in crypto_ccm_exit_tfm() 605 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4309_setkey() 628 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4309_setauthsize() 647 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(aead); in crypto_rfc4309_crypt() 710 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(tfm); in crypto_rfc4309_init_tfm() [all …]
|
| D | cryptd.c | 737 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(parent); in cryptd_aead_setkey() 746 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(parent); in cryptd_aead_setauthsize() 774 ctx = crypto_aead_ctx(tfm); in cryptd_aead_crypt() 832 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(tfm); in cryptd_aead_init_tfm() 848 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(tfm); in cryptd_aead_exit_tfm() 1088 ctx = crypto_aead_ctx(tfm); in cryptd_alloc_aead() 1098 ctx = crypto_aead_ctx(&tfm->base); in cryptd_aead_child() 1105 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(&tfm->base); in cryptd_aead_queued() 1113 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(&tfm->base); in cryptd_free_aead()
|
| D | echainiv.c | 29 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in echainiv_encrypt() 88 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in echainiv_decrypt()
|
| D | aead.c | 218 struct aead_geniv_ctx *ctx = crypto_aead_ctx(tfm); in aead_geniv_setkey() 226 struct aead_geniv_ctx *ctx = crypto_aead_ctx(tfm); in aead_geniv_setauthsize() 320 struct aead_geniv_ctx *ctx = crypto_aead_ctx(aead); in aead_init_geniv() 364 struct aead_geniv_ctx *ctx = crypto_aead_ctx(tfm); in aead_exit_geniv()
|
| D | essiv.c | 105 struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); in essiv_aead_setkey() 146 struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); in essiv_aead_setauthsize() 199 const struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); in essiv_aead_crypt() 339 struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); in essiv_aead_init_tfm() 379 struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); in essiv_aead_exit_tfm()
|
| D | seqiv.c | 53 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in seqiv_aead_encrypt() 114 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in seqiv_aead_decrypt()
|
| /Linux-v5.4/drivers/crypto/cavium/nitrox/ |
| D | nitrox_aead.c | 38 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_aes_gcm_setkey() 64 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_aead_setauthsize() 192 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_aes_gcm_enc() 223 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_aes_gcm_dec() 253 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_aead_init() 278 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_gcm_common_init() 313 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_aead_exit() 332 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_rfc4106_setkey() 413 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_rfc4106_enc() 445 struct nitrox_crypto_ctx *nctx = crypto_aead_ctx(aead); in nitrox_rfc4106_dec()
|
| /Linux-v5.4/drivers/crypto/ccree/ |
| D | cc_aead.c | 70 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_aead_exit() 73 dev_dbg(dev, "Clearing context @%p for %s\n", crypto_aead_ctx(tfm), in cc_aead_exit() 124 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_get_aead_hash_len() 132 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_aead_init() 217 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_aead_complete() 417 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_get_plain_hmac_key() 546 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_aead_setkey() 668 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_rfc4309_ccm_setkey() 682 struct cc_aead_ctx *ctx = crypto_aead_ctx(authenc); in cc_aead_setauthsize() 735 struct cc_aead_ctx *ctx = crypto_aead_ctx(tfm); in cc_set_assoc_desc() [all …]
|
| /Linux-v5.4/drivers/crypto/ |
| D | omap-aes-gcm.c | 180 struct omap_aes_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in do_encrypt_iv() 275 ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_gcm_handle_queue() 353 struct omap_aes_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_4106gcm_encrypt() 364 struct omap_aes_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in omap_aes_4106gcm_decrypt() 375 struct omap_aes_ctx *ctx = crypto_aead_ctx(tfm); in omap_aes_gcm_setkey() 390 struct omap_aes_ctx *ctx = crypto_aead_ctx(tfm); in omap_aes_4106gcm_setkey()
|
| /Linux-v5.4/drivers/crypto/nx/ |
| D | nx-aes-gcm.c | 27 struct nx_crypto_ctx *nx_ctx = crypto_aead_ctx(tfm); in gcm_aes_nx_set_key() 66 struct nx_crypto_ctx *nx_ctx = crypto_aead_ctx(tfm); in gcm4106_aes_nx_set_key() 174 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gmac() 248 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_empty() 313 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_aes_nx_crypt() 443 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm4106_aes_nx_encrypt() 460 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm4106_aes_nx_decrypt()
|
| D | nx.c | 696 return nx_crypto_ctx_init(crypto_aead_ctx(tfm), NX_FC_AES, in nx_crypto_ctx_aes_ccm_init() 703 return nx_crypto_ctx_init(crypto_aead_ctx(tfm), NX_FC_AES, in nx_crypto_ctx_aes_gcm_init() 757 struct nx_crypto_ctx *nx_ctx = crypto_aead_ctx(tfm); in nx_crypto_ctx_aead_exit()
|
| /Linux-v5.4/drivers/crypto/caam/ |
| D | caamalg.c | 119 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_null_set_sh_desc() 172 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_set_sh_desc() 300 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in aead_setauthsize() 310 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_set_sh_desc() 360 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in gcm_setauthsize() 375 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_set_sh_desc() 428 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4106_setauthsize() 443 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4543_set_sh_desc() 496 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4543_setauthsize() 509 struct caam_ctx *ctx = crypto_aead_ctx(aead); in chachapoly_set_sh_desc() [all …]
|
| D | caamalg_qi.c | 76 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_set_sh_desc() 179 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in aead_setauthsize() 190 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_setkey() 295 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_set_sh_desc() 338 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in gcm_setauthsize() 354 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_setkey() 400 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_set_sh_desc() 444 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4106_setauthsize() 460 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_setkey() 510 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4543_set_sh_desc() [all …]
|
| D | caamalg_qi2.c | 167 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_set_sh_desc() 272 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in aead_setauthsize() 283 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_setkey() 354 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_edesc_alloc() 588 struct caam_ctx *ctx = crypto_aead_ctx(aead); in chachapoly_set_sh_desc() 621 struct caam_ctx *ctx = crypto_aead_ctx(aead); in chachapoly_setauthsize() 633 struct caam_ctx *ctx = crypto_aead_ctx(aead); in chachapoly_setkey() 650 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_set_sh_desc() 707 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in gcm_setauthsize() 723 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_setkey() [all …]
|
| /Linux-v5.4/drivers/crypto/ccp/ |
| D | ccp-crypto-aes-galois.c | 32 struct ccp_ctx *ctx = crypto_aead_ctx(tfm); in ccp_aes_gcm_setkey() 80 struct ccp_ctx *ctx = crypto_aead_ctx(tfm); in ccp_aes_gcm_crypt() 152 struct ccp_ctx *ctx = crypto_aead_ctx(tfm); in ccp_aes_gcm_cra_init()
|
| /Linux-v5.4/arch/arm64/crypto/ |
| D | aes-ce-ccm-glue.c | 49 struct crypto_aes_ctx *ctx = crypto_aead_ctx(tfm); in ccm_setkey() 143 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_calculate_auth_mac() 231 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_encrypt() 288 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_decrypt()
|
| D | ghash-ce-glue.c | 306 struct gcm_aes_ctx *ctx = crypto_aead_ctx(tfm); in gcm_setkey() 368 struct gcm_aes_ctx *ctx = crypto_aead_ctx(aead); in gcm_calculate_auth_mac() 422 struct gcm_aes_ctx *ctx = crypto_aead_ctx(aead); in gcm_encrypt() 541 struct gcm_aes_ctx *ctx = crypto_aead_ctx(aead); in gcm_decrypt()
|
| /Linux-v5.4/drivers/crypto/qat/qat_common/ |
| D | qat_algs.c | 298 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(aead_tfm); in qat_alg_aead_init_enc_session() 379 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(aead_tfm); in qat_alg_aead_init_dec_session() 601 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(tfm); in qat_alg_aead_rekey() 615 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(tfm); in qat_alg_aead_newkey() 667 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(tfm); in qat_alg_aead_setkey() 1171 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(tfm); in qat_alg_aead_init() 1198 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(tfm); in qat_alg_aead_exit()
|
| /Linux-v5.4/include/crypto/internal/ |
| D | aead.h | 37 static inline void *crypto_aead_ctx(struct crypto_aead *tfm) in crypto_aead_ctx() function
|