Searched refs:preq (Results 1 – 2 of 2) sorted by relevance
176 struct poly_req *preq = &rctx->u.poly; in poly_tail() local179 preq->tail.assoclen = cpu_to_le64(rctx->assoclen); in poly_tail()180 preq->tail.cryptlen = cpu_to_le64(rctx->cryptlen); in poly_tail()181 sg_init_one(preq->src, &preq->tail, sizeof(preq->tail)); in poly_tail()183 ahash_request_set_callback(&preq->req, rctx->flags, in poly_tail()185 ahash_request_set_tfm(&preq->req, ctx->poly); in poly_tail()186 ahash_request_set_crypt(&preq->req, preq->src, in poly_tail()187 rctx->tag, sizeof(preq->tail)); in poly_tail()189 err = crypto_ahash_finup(&preq->req); in poly_tail()205 struct poly_req *preq = &rctx->u.poly; in poly_cipherpad() local[all …]
53 struct pcrypt_request *preq = pcrypt_padata_request(padata); in pcrypt_aead_serial() local54 struct aead_request *req = pcrypt_request_ctx(preq); in pcrypt_aead_serial()62 struct pcrypt_request *preq = aead_request_ctx(req); in pcrypt_aead_done() local63 struct padata_priv *padata = pcrypt_request_padata(preq); in pcrypt_aead_done()73 struct pcrypt_request *preq = pcrypt_padata_request(padata); in pcrypt_aead_enc() local74 struct aead_request *req = pcrypt_request_ctx(preq); in pcrypt_aead_enc()87 struct pcrypt_request *preq = aead_request_ctx(req); in pcrypt_aead_encrypt() local88 struct aead_request *creq = pcrypt_request_ctx(preq); in pcrypt_aead_encrypt()89 struct padata_priv *padata = pcrypt_request_padata(preq); in pcrypt_aead_encrypt()115 struct pcrypt_request *preq = pcrypt_padata_request(padata); in pcrypt_aead_dec() local[all …]