aead_req 280 crypto/algif_aead.c aead_request_set_crypt(&areq->cra_u.aead_req, rsgl_src, aead_req 282 crypto/algif_aead.c aead_request_set_ad(&areq->cra_u.aead_req, ctx->aead_assoclen); aead_req 283 crypto/algif_aead.c aead_request_set_tfm(&areq->cra_u.aead_req, tfm); aead_req 293 crypto/algif_aead.c aead_request_set_callback(&areq->cra_u.aead_req, aead_req 296 crypto/algif_aead.c err = ctx->enc ? crypto_aead_encrypt(&areq->cra_u.aead_req) : aead_req 297 crypto/algif_aead.c crypto_aead_decrypt(&areq->cra_u.aead_req); aead_req 306 crypto/algif_aead.c aead_request_set_callback(&areq->cra_u.aead_req, aead_req 310 crypto/algif_aead.c crypto_aead_encrypt(&areq->cra_u.aead_req) : aead_req 311 crypto/algif_aead.c crypto_aead_decrypt(&areq->cra_u.aead_req), aead_req 62 crypto/essiv.c struct aead_request aead_req; aead_req 201 crypto/essiv.c struct aead_request *subreq = &rctx->aead_req; aead_req 344 crypto/essiv.c BUILD_BUG_ON(offsetofend(struct essiv_aead_request_ctx, aead_req) != aead_req 351 crypto/essiv.c subreq_size = FIELD_SIZEOF(struct essiv_aead_request_ctx, aead_req) + aead_req 354 crypto/essiv.c tctx->ivoffset = offsetof(struct essiv_aead_request_ctx, aead_req) + aead_req 574 drivers/crypto/amcc/crypto4xx_core.c struct aead_request *aead_req = container_of(pd_uinfo->async_req, aead_req 578 drivers/crypto/amcc/crypto4xx_core.c crypto_aead_reqtfm(aead_req)); aead_req 596 drivers/crypto/amcc/crypto4xx_core.c scatterwalk_map_and_copy(icv, dst, aead_req->cryptlen, aead_req 600 drivers/crypto/amcc/crypto4xx_core.c scatterwalk_map_and_copy(icv, aead_req->src, aead_req 601 drivers/crypto/amcc/crypto4xx_core.c aead_req->assoclen + aead_req->cryptlen - aead_req 629 drivers/crypto/amcc/crypto4xx_core.c aead_request_complete(aead_req, -EINPROGRESS); aead_req 631 drivers/crypto/amcc/crypto4xx_core.c aead_request_complete(aead_req, err); aead_req 918 drivers/crypto/caam/caamalg_qi.c struct aead_request *aead_req = drv_req->app_ctx; aead_req 919 drivers/crypto/caam/caamalg_qi.c struct crypto_aead *aead = crypto_aead_reqtfm(aead_req); aead_req 929 drivers/crypto/caam/caamalg_qi.c aead_unmap(qidev, edesc, aead_req); aead_req 931 drivers/crypto/caam/caamalg_qi.c aead_request_complete(aead_req, ecode); aead_req 141 drivers/crypto/ixp4xx_crypto.c struct aead_request *aead_req; aead_req 343 drivers/crypto/ixp4xx_crypto.c struct aead_request *req = crypt->data.aead_req; aead_req 369 drivers/crypto/ixp4xx_crypto.c struct aead_request *req = crypt->data.aead_req; aead_req 1012 drivers/crypto/ixp4xx_crypto.c crypt->data.aead_req = req; aead_req 30 drivers/crypto/omap-aes-gcm.c struct aead_request *req = dd->aead_req; aead_req 47 drivers/crypto/omap-aes-gcm.c rctx = aead_request_ctx(dd->aead_req); aead_req 58 drivers/crypto/omap-aes-gcm.c dd->aead_req->assoclen, dd->total, aead_req 63 drivers/crypto/omap-aes-gcm.c dd->aead_req->dst, aead_req 64 drivers/crypto/omap-aes-gcm.c dd->total + dd->aead_req->assoclen, aead_req 230 drivers/crypto/omap-aes-gcm.c scatterwalk_map_and_copy(tag, dd->aead_req->src, aead_req 231 drivers/crypto/omap-aes-gcm.c dd->total + dd->aead_req->assoclen, aead_req 234 drivers/crypto/omap-aes-gcm.c rctx = aead_request_ctx(dd->aead_req); aead_req 280 drivers/crypto/omap-aes-gcm.c dd->aead_req = req; aead_req 148 drivers/crypto/omap-aes.c if ((dd->flags & (FLAGS_GCM)) && dd->aead_req->iv) { aead_req 149 drivers/crypto/omap-aes.c rctx = aead_request_ctx(dd->aead_req); aead_req 166 drivers/crypto/omap-aes.h struct aead_request *aead_req; aead_req 511 drivers/crypto/picoxcell_crypto.c static int spacc_aead_need_fallback(struct aead_request *aead_req) aead_req 513 drivers/crypto/picoxcell_crypto.c struct crypto_aead *aead = crypto_aead_reqtfm(aead_req); aead_req 557 drivers/crypto/picoxcell_crypto.c struct aead_request *aead_req = aead_req 559 drivers/crypto/picoxcell_crypto.c struct crypto_aead *aead = crypto_aead_reqtfm(aead_req); aead_req 569 drivers/crypto/picoxcell_crypto.c ctx->cipher_key_len, aead_req->iv, crypto_aead_ivsize(aead), aead_req 577 drivers/crypto/picoxcell_crypto.c assoc_len = aead_req->assoclen; aead_req 578 drivers/crypto/picoxcell_crypto.c proc_len = aead_req->cryptlen + assoc_len; aead_req 825 drivers/crypto/qat/qat_common/qat_algs.c struct aead_request *areq = qat_req->aead_req; aead_req 884 drivers/crypto/qat/qat_common/qat_algs.c qat_req->aead_req = areq; aead_req 926 drivers/crypto/qat/qat_common/qat_algs.c qat_req->aead_req = areq; aead_req 85 drivers/crypto/qat/qat_common/qat_crypto.h struct aead_request *aead_req; aead_req 110 include/crypto/if_alg.h struct aead_request aead_req; aead_req 139 include/net/tls.h struct aead_request aead_req; aead_req 401 include/uapi/linux/virtio_crypto.h struct virtio_crypto_aead_data_req aead_req; aead_req 23 net/mac80211/aead_api.c struct aead_request *aead_req; aead_req 24 net/mac80211/aead_api.c int reqsize = sizeof(*aead_req) + crypto_aead_reqsize(tfm); aead_req 27 net/mac80211/aead_api.c aead_req = kzalloc(reqsize + aad_len, GFP_ATOMIC); aead_req 28 net/mac80211/aead_api.c if (!aead_req) aead_req 31 net/mac80211/aead_api.c __aad = (u8 *)aead_req + reqsize; aead_req 39 net/mac80211/aead_api.c aead_request_set_tfm(aead_req, tfm); aead_req 40 net/mac80211/aead_api.c aead_request_set_crypt(aead_req, sg, sg, data_len, b_0); aead_req 41 net/mac80211/aead_api.c aead_request_set_ad(aead_req, sg[0].length); aead_req 43 net/mac80211/aead_api.c crypto_aead_encrypt(aead_req); aead_req 44 net/mac80211/aead_api.c kzfree(aead_req); aead_req 54 net/mac80211/aead_api.c struct aead_request *aead_req; aead_req 55 net/mac80211/aead_api.c int reqsize = sizeof(*aead_req) + crypto_aead_reqsize(tfm); aead_req 62 net/mac80211/aead_api.c aead_req = kzalloc(reqsize + aad_len, GFP_ATOMIC); aead_req 63 net/mac80211/aead_api.c if (!aead_req) aead_req 66 net/mac80211/aead_api.c __aad = (u8 *)aead_req + reqsize; aead_req 74 net/mac80211/aead_api.c aead_request_set_tfm(aead_req, tfm); aead_req 75 net/mac80211/aead_api.c aead_request_set_crypt(aead_req, sg, sg, data_len + mic_len, b_0); aead_req 76 net/mac80211/aead_api.c aead_request_set_ad(aead_req, sg[0].length); aead_req 78 net/mac80211/aead_api.c err = crypto_aead_decrypt(aead_req); aead_req 79 net/mac80211/aead_api.c kzfree(aead_req); aead_req 22 net/mac80211/aes_gmac.c struct aead_request *aead_req; aead_req 23 net/mac80211/aes_gmac.c int reqsize = sizeof(*aead_req) + crypto_aead_reqsize(tfm); aead_req 28 net/mac80211/aes_gmac.c aead_req = kzalloc(reqsize + GMAC_MIC_LEN + GMAC_AAD_LEN, GFP_ATOMIC); aead_req 29 net/mac80211/aes_gmac.c if (!aead_req) aead_req 32 net/mac80211/aes_gmac.c zero = (u8 *)aead_req + reqsize; aead_req 46 net/mac80211/aes_gmac.c aead_request_set_tfm(aead_req, tfm); aead_req 47 net/mac80211/aes_gmac.c aead_request_set_crypt(aead_req, sg, sg, 0, iv); aead_req 48 net/mac80211/aes_gmac.c aead_request_set_ad(aead_req, GMAC_AAD_LEN + data_len); aead_req 50 net/mac80211/aes_gmac.c crypto_aead_encrypt(aead_req); aead_req 51 net/mac80211/aes_gmac.c kzfree(aead_req); aead_req 48 net/tls/tls_device_fallback.c static int tls_enc_record(struct aead_request *aead_req, aead_req 113 net/tls/tls_device_fallback.c aead_request_set_crypt(aead_req, sg_in, sg_out, len, iv); aead_req 115 net/tls/tls_device_fallback.c rc = crypto_aead_encrypt(aead_req); aead_req 120 net/tls/tls_device_fallback.c static void tls_init_aead_request(struct aead_request *aead_req, aead_req 123 net/tls/tls_device_fallback.c aead_request_set_tfm(aead_req, aead); aead_req 124 net/tls/tls_device_fallback.c aead_request_set_ad(aead_req, TLS_AAD_SPACE_SIZE); aead_req 132 net/tls/tls_device_fallback.c struct aead_request *aead_req; aead_req 134 net/tls/tls_device_fallback.c aead_req = kzalloc(req_size, flags); aead_req 135 net/tls/tls_device_fallback.c if (aead_req) aead_req 136 net/tls/tls_device_fallback.c tls_init_aead_request(aead_req, aead); aead_req 137 net/tls/tls_device_fallback.c return aead_req; aead_req 140 net/tls/tls_device_fallback.c static int tls_enc_records(struct aead_request *aead_req, aead_req 152 net/tls/tls_device_fallback.c rc = tls_enc_record(aead_req, aead, aad, iv, aead_req 317 net/tls/tls_device_fallback.c struct aead_request *aead_req; aead_req 321 net/tls/tls_device_fallback.c aead_req = tls_alloc_aead_request(ctx->aead_send, GFP_ATOMIC); aead_req 322 net/tls/tls_device_fallback.c if (!aead_req) aead_req 350 net/tls/tls_device_fallback.c if (tls_enc_records(aead_req, ctx->aead_send, sg_in, sg_out, aad, iv, aead_req 364 net/tls/tls_device_fallback.c kfree(aead_req); aead_req 153 net/tls/tls_sw.c struct aead_request *aead_req = (struct aead_request *)req; aead_req 154 net/tls/tls_sw.c struct scatterlist *sgout = aead_req->dst; aead_req 155 net/tls/tls_sw.c struct scatterlist *sgin = aead_req->src; aead_req 204 net/tls/tls_sw.c kfree(aead_req); aead_req 220 net/tls/tls_sw.c struct aead_request *aead_req, aead_req 228 net/tls/tls_sw.c aead_request_set_tfm(aead_req, ctx->aead_recv); aead_req 229 net/tls/tls_sw.c aead_request_set_ad(aead_req, prot->aad_size); aead_req 230 net/tls/tls_sw.c aead_request_set_crypt(aead_req, sgin, sgout, aead_req 242 net/tls/tls_sw.c aead_request_set_callback(aead_req, aead_req 247 net/tls/tls_sw.c aead_request_set_callback(aead_req, aead_req 252 net/tls/tls_sw.c ret = crypto_aead_decrypt(aead_req); aead_req 425 net/tls/tls_sw.c struct aead_request *aead_req = (struct aead_request *)req; aead_req 436 net/tls/tls_sw.c rec = container_of(aead_req, struct tls_rec, aead_req); aead_req 487 net/tls/tls_sw.c struct aead_request *aead_req, aead_req 512 net/tls/tls_sw.c aead_request_set_tfm(aead_req, ctx->aead_send); aead_req 513 net/tls/tls_sw.c aead_request_set_ad(aead_req, prot->aad_size); aead_req 514 net/tls/tls_sw.c aead_request_set_crypt(aead_req, rec->sg_aead_in, aead_req 518 net/tls/tls_sw.c aead_request_set_callback(aead_req, CRYPTO_TFM_REQ_MAY_BACKLOG, aead_req 525 net/tls/tls_sw.c rc = crypto_aead_encrypt(aead_req); aead_req 715 net/tls/tls_sw.c req = &rec->aead_req; aead_req 1400 net/tls/tls_sw.c struct aead_request *aead_req; aead_req 1430 net/tls/tls_sw.c aead_size = sizeof(*aead_req) + crypto_aead_reqsize(ctx->aead_recv); aead_req 1444 net/tls/tls_sw.c aead_req = (struct aead_request *)mem; aead_req 1515 net/tls/tls_sw.c data_len, aead_req, async); aead_req 103 security/keys/big_key.c struct aead_request *aead_req; aead_req 112 security/keys/big_key.c aead_req = aead_request_alloc(big_key_aead, GFP_KERNEL); aead_req 113 security/keys/big_key.c if (!aead_req) aead_req 117 security/keys/big_key.c aead_request_set_crypt(aead_req, buf->sg, buf->sg, datalen, zero_nonce); aead_req 118 security/keys/big_key.c aead_request_set_callback(aead_req, CRYPTO_TFM_REQ_MAY_SLEEP, NULL, NULL); aead_req 119 security/keys/big_key.c aead_request_set_ad(aead_req, 0); aead_req 127 security/keys/big_key.c ret = crypto_aead_encrypt(aead_req); aead_req 129 security/keys/big_key.c ret = crypto_aead_decrypt(aead_req); aead_req 132 security/keys/big_key.c aead_request_free(aead_req);