Home
last modified time | relevance | path

Searched refs:preq (Results 1 – 2 of 2) sorted by relevance

/crypto/
Dchacha20poly1305.c174 struct poly_req *preq = &rctx->u.poly; in poly_tail() local
177 preq->tail.assoclen = cpu_to_le64(rctx->assoclen); in poly_tail()
178 preq->tail.cryptlen = cpu_to_le64(rctx->cryptlen); in poly_tail()
179 sg_init_one(preq->src, &preq->tail, sizeof(preq->tail)); in poly_tail()
181 ahash_request_set_callback(&preq->req, rctx->flags, in poly_tail()
183 ahash_request_set_tfm(&preq->req, ctx->poly); in poly_tail()
184 ahash_request_set_crypt(&preq->req, preq->src, in poly_tail()
185 rctx->tag, sizeof(preq->tail)); in poly_tail()
187 err = crypto_ahash_finup(&preq->req); in poly_tail()
203 struct poly_req *preq = &rctx->u.poly; in poly_cipherpad() local
[all …]
Dpcrypt.c60 struct pcrypt_request *preq = pcrypt_padata_request(padata); in pcrypt_aead_serial() local
61 struct aead_request *req = pcrypt_request_ctx(preq); in pcrypt_aead_serial()
69 struct pcrypt_request *preq = aead_request_ctx(req); in pcrypt_aead_done() local
70 struct padata_priv *padata = pcrypt_request_padata(preq); in pcrypt_aead_done()
79 struct pcrypt_request *preq = pcrypt_padata_request(padata); in pcrypt_aead_enc() local
80 struct aead_request *req = pcrypt_request_ctx(preq); in pcrypt_aead_enc()
95 struct pcrypt_request *preq = aead_request_ctx(req); in pcrypt_aead_encrypt() local
96 struct aead_request *creq = pcrypt_request_ctx(preq); in pcrypt_aead_encrypt()
97 struct padata_priv *padata = pcrypt_request_padata(preq); in pcrypt_aead_encrypt()
128 struct pcrypt_request *preq = pcrypt_padata_request(padata); in pcrypt_aead_dec() local
[all …]