/linux-4.4.14/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() 207 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_cipherpad() 237 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_cipher() 268 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_adpad() 298 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_ad() 322 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_setkey() 349 struct chachapoly_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in poly_init() 373 struct chachapoly_ctx *ctx = crypto_aead_ctx(tfm); in poly_genkey() [all …]
|
D | authencesn.c | 66 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_setkey() 104 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_genicv_tail() 138 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_genicv() 184 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_copy() 196 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_encrypt() 236 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_decrypt_tail() 280 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn); in crypto_authenc_esn_decrypt() 332 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_esn_init_tfm() 380 struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_esn_exit_tfm()
|
D | authenc.c | 84 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_setkey() 142 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_genicv() 186 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_copy_assoc() 199 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_encrypt() 239 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_decrypt_tail() 291 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(authenc); in crypto_authenc_decrypt() 319 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_init_tfm() 364 struct crypto_authenc_ctx *ctx = crypto_aead_ctx(tfm); in crypto_authenc_exit_tfm()
|
D | gcm.c | 115 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(aead); in crypto_gcm_setkey() 224 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(aead); in crypto_gcm_init_crypt() 445 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_hash() 568 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(tfm); in crypto_gcm_init_tfm() 604 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(tfm); in crypto_gcm_exit_tfm() 786 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4106_setkey() 809 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4106_setauthsize() 827 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(aead); in crypto_rfc4106_crypt() 888 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(tfm); in crypto_rfc4106_init_tfm() 911 struct crypto_rfc4106_ctx *ctx = crypto_aead_ctx(tfm); in crypto_rfc4106_exit_tfm() [all …]
|
D | ccm.c | 85 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_setkey() 255 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_auth() 348 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_encrypt() 408 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(aead); in crypto_ccm_decrypt() 455 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(tfm); in crypto_ccm_init_tfm() 489 struct crypto_ccm_ctx *ctx = crypto_aead_ctx(tfm); in crypto_ccm_exit_tfm() 668 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4309_setkey() 691 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(parent); in crypto_rfc4309_setauthsize() 710 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(aead); in crypto_rfc4309_crypt() 773 struct crypto_rfc4309_ctx *ctx = crypto_aead_ctx(tfm); in crypto_rfc4309_init_tfm() [all …]
|
D | pcrypt.c | 105 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(parent); in pcrypt_aead_setkey() 113 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(parent); in pcrypt_aead_setauthsize() 158 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(aead); in pcrypt_aead_encrypt() 200 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(aead); in pcrypt_aead_decrypt() 227 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(tfm); in pcrypt_aead_init_tfm() 252 struct pcrypt_aead_ctx *ctx = crypto_aead_ctx(tfm); in pcrypt_aead_exit_tfm()
|
D | aead.c | 178 struct aead_geniv_ctx *ctx = crypto_aead_ctx(tfm); in aead_geniv_setkey() 186 struct aead_geniv_ctx *ctx = crypto_aead_ctx(tfm); in aead_geniv_setauthsize() 280 struct aead_geniv_ctx *ctx = crypto_aead_ctx(aead); in aead_init_geniv() 324 struct aead_geniv_ctx *ctx = crypto_aead_ctx(tfm); in aead_exit_geniv()
|
D | echainiv.c | 97 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in echainiv_encrypt() 154 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in echainiv_decrypt()
|
D | cryptd.c | 669 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(parent); in cryptd_aead_setkey() 678 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(parent); in cryptd_aead_setauthsize() 752 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(tfm); in cryptd_aead_init_tfm() 768 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(tfm); in cryptd_aead_exit_tfm() 984 ctx = crypto_aead_ctx(&tfm->base); in cryptd_aead_child()
|
D | seqiv.c | 150 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in seqiv_aead_encrypt() 208 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in seqiv_aead_decrypt()
|
/linux-4.4.14/drivers/crypto/nx/ |
D | nx-aes-gcm.c | 38 struct nx_crypto_ctx *nx_ctx = crypto_aead_ctx(tfm); in gcm_aes_nx_set_key() 77 struct nx_crypto_ctx *nx_ctx = crypto_aead_ctx(tfm); in gcm4106_aes_nx_set_key() 185 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gmac() 259 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_empty() 324 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_aes_nx_crypt() 454 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm4106_aes_nx_encrypt() 471 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm4106_aes_nx_decrypt()
|
D | nx.c | 711 return nx_crypto_ctx_init(crypto_aead_ctx(tfm), NX_FC_AES, in nx_crypto_ctx_aes_ccm_init() 718 return nx_crypto_ctx_init(crypto_aead_ctx(tfm), NX_FC_AES, in nx_crypto_ctx_aes_gcm_init() 772 struct nx_crypto_ctx *nx_ctx = crypto_aead_ctx(tfm); in nx_crypto_ctx_aead_exit()
|
/linux-4.4.14/arch/arm64/crypto/ |
D | aes-ce-ccm-glue.c | 50 struct crypto_aes_ctx *ctx = crypto_aead_ctx(tfm); in ccm_setkey() 109 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_calculate_auth_mac() 151 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_encrypt() 215 struct crypto_aes_ctx *ctx = crypto_aead_ctx(aead); in ccm_decrypt()
|
/linux-4.4.14/drivers/crypto/caam/ |
D | caamalg.c | 259 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_null_set_sh_desc() 434 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_set_sh_desc() 717 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in aead_setauthsize() 727 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_set_sh_desc() 917 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in gcm_setauthsize() 927 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_set_sh_desc() 1090 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4106_setauthsize() 1100 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4543_set_sh_desc() 1267 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4543_setauthsize() 1288 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_setkey() [all …]
|
/linux-4.4.14/arch/x86/crypto/ |
D | aesni-intel_glue.c | 290 return PTR_ALIGN(crypto_aead_ctx(tfm), align); in aesni_rfc4106_gcm_ctx_get() 797 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in rfc4106_init() 812 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in rfc4106_exit() 907 struct cryptd_aead **ctx = crypto_aead_ctx(parent); in rfc4106_set_key() 933 struct cryptd_aead **ctx = crypto_aead_ctx(parent); in rfc4106_set_authsize() 1103 struct cryptd_aead **ctx = crypto_aead_ctx(tfm); in rfc4106_encrypt() 1116 struct cryptd_aead **ctx = crypto_aead_ctx(tfm); in rfc4106_decrypt()
|
/linux-4.4.14/include/crypto/internal/ |
D | aead.h | 42 static inline void *crypto_aead_ctx(struct crypto_aead *tfm) in crypto_aead_ctx() function
|
/linux-4.4.14/drivers/crypto/ |
D | picoxcell_crypto.c | 423 struct spacc_aead_ctx *aead_ctx = crypto_aead_ctx(aead); in spacc_aead_free_ddts() 452 struct spacc_aead_ctx *ctx = crypto_aead_ctx(tfm); in spacc_aead_setkey() 506 struct spacc_aead_ctx *ctx = crypto_aead_ctx(aead); in spacc_aead_need_fallback() 551 struct spacc_aead_ctx *ctx = crypto_aead_ctx(aead); in spacc_aead_submit() 688 struct spacc_aead_ctx *ctx = crypto_aead_ctx(tfm); in spacc_aead_cra_init() 717 struct spacc_aead_ctx *ctx = crypto_aead_ctx(tfm); in spacc_aead_cra_exit()
|
D | talitos.c | 851 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); in aead_setkey() 1088 struct talitos_ctx *ctx = crypto_aead_ctx(aead); in ipsec_esp() 1311 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); in aead_edesc_alloc() 1323 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); in aead_encrypt() 1341 struct talitos_ctx *ctx = crypto_aead_ctx(authenc); in aead_decrypt() 2641 struct talitos_ctx *ctx = crypto_aead_ctx(tfm); in talitos_cra_init_aead()
|
D | ixp4xx_crypto.c | 991 struct ixp_ctx *ctx = crypto_aead_ctx(tfm); in aead_perform() 1105 struct ixp_ctx *ctx = crypto_aead_ctx(tfm); in aead_setup() 1159 struct ixp_ctx *ctx = crypto_aead_ctx(tfm); in aead_setkey()
|
/linux-4.4.14/drivers/crypto/qat/qat_common/ |
D | qat_algs.c | 277 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(aead_tfm); in qat_alg_aead_init_enc_session() 358 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(aead_tfm); in qat_alg_aead_init_dec_session() 577 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(tfm); in qat_alg_aead_setkey() 1061 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(tfm); in qat_alg_aead_init() 1089 struct qat_alg_aead_ctx *ctx = crypto_aead_ctx(tfm); in qat_alg_aead_exit()
|