Home
last modified time | relevance | path

Searched refs:crypto_aead_reqtfm (Results 1 – 20 of 20) sorted by relevance

/linux-4.4.14/drivers/crypto/nx/
Dnx-aes-gcm.c185 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gmac()
259 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_empty()
306 crypto_aead_authsize(crypto_aead_reqtfm(req))); in gcm_empty()
324 crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_aes_nx_crypt()
365 nbytes -= crypto_aead_authsize(crypto_aead_reqtfm(req)); in gcm_aes_nx_crypt()
412 crypto_aead_authsize(crypto_aead_reqtfm(req)), in gcm_aes_nx_crypt()
420 crypto_aead_authsize(crypto_aead_reqtfm(req)), in gcm_aes_nx_crypt()
423 crypto_aead_authsize(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()
Dnx-aes-ccm.c348 unsigned int authsize = crypto_aead_authsize(crypto_aead_reqtfm(req)); in ccm_nx_decrypt()
426 unsigned int authsize = crypto_aead_authsize(crypto_aead_reqtfm(req)); in ccm_nx_encrypt()
/linux-4.4.14/crypto/
Dchacha20poly1305.c88 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()
173 struct crypto_aead *tfm = crypto_aead_reqtfm(req); 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()
372 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in poly_genkey()
[all …]
Dauthenc.c121 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in authenc_geniv_ahash_done()
140 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_genicv()
185 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_copy_assoc()
197 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_encrypt()
237 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_decrypt_tail()
288 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in crypto_authenc_decrypt()
Dauthencesn.c103 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_genicv_tail()
136 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_genicv()
183 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_copy()
194 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_encrypt()
233 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_decrypt_tail()
278 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); in crypto_authenc_esn_decrypt()
Dechainiv.c72 geniv = crypto_aead_reqtfm(req); in echainiv_encrypt_complete2()
96 struct crypto_aead *geniv = crypto_aead_reqtfm(req); in echainiv_encrypt()
153 struct crypto_aead *geniv = crypto_aead_reqtfm(req); in echainiv_decrypt()
Dccm.c59 unsigned long align = crypto_aead_alignmask(crypto_aead_reqtfm(req)); in crypto_ccm_reqctx()
132 struct crypto_aead *aead = crypto_aead_reqtfm(req); in format_input()
254 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_auth()
290 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_encrypt_done()
347 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_encrypt()
388 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_decrypt_done()
407 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_decrypt()
709 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4309_crypt()
Dalgif_aead.c73 unsigned as = crypto_aead_authsize(crypto_aead_reqtfm(&ctx->aead_req)); in aead_sufficient_data()
174 crypto_aead_ivsize(crypto_aead_reqtfm(&ctx->aead_req)); in aead_sendmsg()
357 unsigned as = crypto_aead_authsize(crypto_aead_reqtfm(&ctx->aead_req)); in aead_recvmsg()
541 crypto_aead_reqtfm(&ctx->aead_req)); in aead_sock_destruct()
Dgcm.c96 unsigned long align = crypto_aead_alignmask(crypto_aead_reqtfm(req)); in crypto_gcm_reqctx()
223 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_gcm_init_crypt()
445 struct crypto_gcm_ctx *ctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in gcm_hash()
457 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_enc_copy_hash()
511 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_gcm_verify()
546 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_gcm_decrypt()
826 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4106_crypt()
1051 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4543_crypt()
1082 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_rfc4543_copy_src_to_dst()
Dseqiv.c72 geniv = crypto_aead_reqtfm(req); in seqiv_aead_encrypt_complete2()
149 struct crypto_aead *geniv = crypto_aead_reqtfm(req); in seqiv_aead_encrypt()
207 struct crypto_aead *geniv = crypto_aead_reqtfm(req); in seqiv_aead_decrypt()
Dpcrypt.c157 struct crypto_aead *aead = crypto_aead_reqtfm(req); in pcrypt_aead_encrypt()
199 struct crypto_aead *aead = crypto_aead_reqtfm(req); in pcrypt_aead_decrypt()
Dcryptd.c729 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cryptd_aead_enqueue()
/linux-4.4.14/include/crypto/
Daead.h301 static inline struct crypto_aead *crypto_aead_reqtfm(struct aead_request *req) in crypto_aead_reqtfm() function
327 return crypto_aead_alg(crypto_aead_reqtfm(req))->encrypt(req); in crypto_aead_encrypt()
354 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_aead_decrypt()
/linux-4.4.14/arch/arm64/crypto/
Daes-ce-ccm-glue.c70 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_init_mac()
108 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_calculate_auth_mac()
150 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_encrypt()
214 struct crypto_aead *aead = crypto_aead_reqtfm(req); in ccm_decrypt()
/linux-4.4.14/drivers/crypto/
Dpicoxcell_crypto.c326 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in spacc_aead_make_ddts()
420 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in spacc_aead_free_ddts()
503 struct crypto_aead *aead = crypto_aead_reqtfm(aead_req); in spacc_aead_need_fallback()
524 struct crypto_tfm *old_tfm = crypto_aead_tfm(crypto_aead_reqtfm(req)); in spacc_aead_do_fallback()
549 struct crypto_aead *aead = crypto_aead_reqtfm(aead_req); in spacc_aead_submit()
622 struct crypto_aead *aead = crypto_aead_reqtfm(req); in spacc_aead_setup()
668 struct crypto_aead *aead = crypto_aead_reqtfm(req); in spacc_aead_encrypt()
676 struct crypto_aead *aead = crypto_aead_reqtfm(req); in spacc_aead_decrypt()
Dtalitos.c946 struct crypto_aead *authenc = crypto_aead_reqtfm(areq); in ipsec_esp_encrypt_done()
975 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in ipsec_esp_decrypt_swauth_done()
1086 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in ipsec_esp()
1309 struct crypto_aead *authenc = crypto_aead_reqtfm(areq); in aead_edesc_alloc()
1322 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in aead_encrypt()
1339 struct crypto_aead *authenc = crypto_aead_reqtfm(req); in aead_decrypt()
Dixp4xx_crypto.c350 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in finish_scattered_hmac()
990 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in aead_perform()
/linux-4.4.14/arch/x86/crypto/
Daesni-intel_glue.c944 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in helper_rfc4106_encrypt()
1023 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in helper_rfc4106_decrypt()
1102 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in rfc4106_encrypt()
1115 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in rfc4106_decrypt()
/linux-4.4.14/drivers/crypto/caam/
Dcaamalg.c2034 struct crypto_aead *aead = crypto_aead_reqtfm(req); in init_aead_job()
2093 struct crypto_aead *aead = crypto_aead_reqtfm(req); in init_gcm_job()
2122 struct crypto_aead *aead = crypto_aead_reqtfm(req); in init_authenc_job()
2269 struct crypto_aead *aead = crypto_aead_reqtfm(req); in aead_edesc_alloc()
2376 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_encrypt()
2419 struct crypto_aead *aead = crypto_aead_reqtfm(req); in aead_encrypt()
2455 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_decrypt()
2498 struct crypto_aead *aead = crypto_aead_reqtfm(req); in aead_decrypt()
2539 struct crypto_aead *aead = crypto_aead_reqtfm(req); in aead_givdecrypt()
/linux-4.4.14/drivers/crypto/qat/qat_common/
Dqat_algs.c816 struct crypto_aead *aead_tfm = crypto_aead_reqtfm(areq); in qat_alg_aead_dec()
858 struct crypto_aead *aead_tfm = crypto_aead_reqtfm(areq); in qat_alg_aead_enc()