/crypto/ |
H A D | zlib.c | 144 struct comp_request *req) 150 pr_debug("avail_in %u, avail_out %u\n", req->avail_in, req->avail_out); 151 stream->next_in = req->next_in; 152 stream->avail_in = req->avail_in; 153 stream->next_out = req->next_out; 154 stream->avail_out = req->avail_out; 170 ret = req->avail_out - stream->avail_out; 173 req->avail_in - stream->avail_in, ret); 174 req 143 zlib_compress_update(struct crypto_pcomp *tfm, struct comp_request *req) argument 181 zlib_compress_final(struct crypto_pcomp *tfm, struct comp_request *req) argument 257 zlib_decompress_update(struct crypto_pcomp *tfm, struct comp_request *req) argument 296 zlib_decompress_final(struct crypto_pcomp *tfm, struct comp_request *req) argument [all...] |
H A D | seqiv.c | 32 static void seqiv_complete2(struct skcipher_givcrypt_request *req, int err) argument 34 struct ablkcipher_request *subreq = skcipher_givcrypt_reqctx(req); 43 geniv = skcipher_givcrypt_reqtfm(req); 44 memcpy(req->creq.info, subreq->info, crypto_ablkcipher_ivsize(geniv)); 52 struct skcipher_givcrypt_request *req = base->data; local 54 seqiv_complete2(req, err); 55 skcipher_givcrypt_complete(req, err); 58 static void seqiv_aead_complete2(struct aead_givcrypt_request *req, int err) argument 60 struct aead_request *subreq = aead_givcrypt_reqctx(req); 69 geniv = aead_givcrypt_reqtfm(req); 78 struct aead_givcrypt_request *req = base->data; local 98 seqiv_givencrypt(struct skcipher_givcrypt_request *req) argument 143 seqiv_aead_givencrypt(struct aead_givcrypt_request *req) argument 189 seqiv_givencrypt_first(struct skcipher_givcrypt_request *req) argument 212 seqiv_aead_givencrypt_first(struct aead_givcrypt_request *req) argument [all...] |
H A D | chainiv.c | 48 static int chainiv_givencrypt(struct skcipher_givcrypt_request *req) argument 50 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); 52 struct ablkcipher_request *subreq = skcipher_givcrypt_reqctx(req); 57 ablkcipher_request_set_callback(subreq, req->creq.base.flags & 59 req->creq.base.complete, 60 req->creq.base.data); 61 ablkcipher_request_set_crypt(subreq, req->creq.src, req->creq.dst, 62 req->creq.nbytes, req 83 chainiv_givencrypt_first(struct skcipher_givcrypt_request *req) argument 144 async_chainiv_postpone_request(struct skcipher_givcrypt_request *req) argument 161 async_chainiv_givencrypt_tail(struct skcipher_givcrypt_request *req) argument 181 async_chainiv_givencrypt(struct skcipher_givcrypt_request *req) argument 208 async_chainiv_givencrypt_first(struct skcipher_givcrypt_request *req) argument 240 struct skcipher_givcrypt_request *req; local [all...] |
H A D | gcm.c | 63 void (*complete)(struct aead_request *req, int err); 86 struct aead_request *req) 88 unsigned long align = crypto_aead_alignmask(crypto_aead_reqtfm(req)); 90 return (void *)PTR_ALIGN((u8 *)aead_request_ctx(req), align + 1); 93 static void crypto_gcm_setkey_done(struct crypto_async_request *req, int err) argument 95 struct crypto_gcm_setkey_result *result = req->data; 117 struct ablkcipher_request req; member in struct:__anon17 139 ablkcipher_request_set_tfm(&data->req, ctr); 140 ablkcipher_request_set_callback(&data->req, CRYPTO_TFM_REQ_MAY_SLEEP | 144 ablkcipher_request_set_crypt(&data->req, dat 85 crypto_gcm_reqctx( struct aead_request *req) argument 189 crypto_gcm_init_crypt(struct ablkcipher_request *ablk_req, struct aead_request *req, unsigned int cryptlen) argument 229 gcm_hash_update(struct aead_request *req, struct crypto_gcm_req_priv_ctx *pctx, crypto_completion_t complete, struct scatterlist *src, unsigned int len) argument 244 gcm_hash_remain(struct aead_request *req, struct crypto_gcm_req_priv_ctx *pctx, unsigned int remain, crypto_completion_t complete) argument 259 gcm_hash_len(struct aead_request *req, struct crypto_gcm_req_priv_ctx *pctx) argument 278 gcm_hash_final(struct aead_request *req, struct crypto_gcm_req_priv_ctx *pctx) argument 290 __gcm_hash_final_done(struct aead_request *req, int err) argument 303 struct aead_request *req = areq->data; local 308 __gcm_hash_len_done(struct aead_request *req, int err) argument 323 struct aead_request *req = areq->data; local 328 __gcm_hash_crypt_remain_done(struct aead_request *req, int err) argument 344 struct aead_request *req = areq->data; local 349 __gcm_hash_crypt_done(struct aead_request *req, int err) argument 369 struct aead_request *req = areq->data; local 374 __gcm_hash_assoc_remain_done(struct aead_request *req, int err) argument 400 struct aead_request *req = areq->data; local 405 __gcm_hash_assoc_done(struct aead_request *req, int err) argument 424 struct aead_request *req = areq->data; local 429 __gcm_hash_init_done(struct aead_request *req, int err) argument 453 struct aead_request *req = areq->data; local 458 gcm_hash(struct aead_request *req, struct crypto_gcm_req_priv_ctx *pctx) argument 507 gcm_enc_copy_hash(struct aead_request *req, struct crypto_gcm_req_priv_ctx *pctx) argument 517 gcm_enc_hash_done(struct aead_request *req, int err) argument 529 struct aead_request *req = areq->data; local 545 crypto_gcm_encrypt(struct aead_request *req) argument 574 crypto_gcm_verify(struct aead_request *req, struct crypto_gcm_req_priv_ctx *pctx) argument 590 struct aead_request *req = areq->data; local 599 gcm_dec_hash_done(struct aead_request *req, int err) argument 619 crypto_gcm_decrypt(struct aead_request *req) argument 898 crypto_rfc4106_crypt(struct aead_request *req) argument 919 crypto_rfc4106_encrypt(struct aead_request *req) argument 926 crypto_rfc4106_decrypt(struct aead_request *req) argument 1061 crypto_rfc4543_reqctx( struct aead_request *req) argument 1105 struct aead_request *req = areq->data; local 1118 crypto_rfc4543_crypt(struct aead_request *req, bool enc) argument 1182 crypto_rfc4543_copy_src_to_dst(struct aead_request *req, bool enc) argument 1195 crypto_rfc4543_encrypt(struct aead_request *req) argument 1219 crypto_rfc4543_decrypt(struct aead_request *req) argument [all...] |
H A D | authencesn.c | 53 static void authenc_esn_request_complete(struct aead_request *req, int err) argument 56 aead_request_complete(req, err); 117 struct aead_request *req = areq->data; local 118 struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req); 120 struct authenc_esn_request_ctx *areq_ctx = aead_request_ctx(req); 128 ahash_request_set_callback(ahreq, aead_request_flags(req) & 130 areq_ctx->update_complete2, req); 138 ahash_request_set_callback(ahreq, aead_request_flags(req) & 140 areq_ctx->complete, req); 151 authenc_esn_request_complete(req, er 157 struct aead_request *req = areq->data; local 188 struct aead_request *req = areq->data; local 212 struct aead_request *req = areq->data; local 273 struct aead_request *req = areq->data; local 323 struct aead_request *req = areq->data; local 356 crypto_authenc_esn_ahash(struct aead_request *req, unsigned int flags) argument 404 crypto_authenc_esn_genicv(struct aead_request *req, u8 *iv, unsigned int flags) argument 470 crypto_authenc_esn_encrypt_done(struct crypto_async_request *req, int err) argument 488 crypto_authenc_esn_encrypt(struct aead_request *req) argument 515 crypto_authenc_esn_givencrypt_done(struct crypto_async_request *req, int err) argument 529 crypto_authenc_esn_givencrypt(struct aead_givcrypt_request *req) argument 552 crypto_authenc_esn_verify(struct aead_request *req) argument 574 crypto_authenc_esn_iverify(struct aead_request *req, u8 *iv, unsigned int cryptlen) argument 631 crypto_authenc_esn_decrypt(struct aead_request *req) argument [all...] |
H A D | ablk_helper.c | 54 int __ablk_encrypt(struct ablkcipher_request *req) argument 56 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); 61 desc.info = req->info; 65 &desc, req->dst, req->src, req->nbytes); 69 int ablk_encrypt(struct ablkcipher_request *req) argument 71 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); 76 ablkcipher_request_ctx(req); 78 *cryptd_req = *req; 88 ablk_decrypt(struct ablkcipher_request *req) argument [all...] |
H A D | eseqiv.c | 42 static void eseqiv_complete2(struct skcipher_givcrypt_request *req) argument 44 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); 45 struct eseqiv_request_ctx *reqctx = skcipher_givcrypt_reqctx(req); 47 memcpy(req->giv, PTR_ALIGN((u8 *)reqctx->tail, 54 struct skcipher_givcrypt_request *req = base->data; local 59 eseqiv_complete2(req); 62 skcipher_givcrypt_complete(req, err); 65 static int eseqiv_givencrypt(struct skcipher_givcrypt_request *req) argument 67 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); 69 struct eseqiv_request_ctx *reqctx = skcipher_givcrypt_reqctx(req); 149 eseqiv_givencrypt_first(struct skcipher_givcrypt_request *req) argument [all...] |
H A D | authenc.c | 26 typedef u8 *(*authenc_ahash_t)(struct aead_request *req, unsigned int flags); 49 static void authenc_request_complete(struct aead_request *req, int err) argument 52 aead_request_complete(req, err); 113 struct aead_request *req = areq->data; local 114 struct crypto_aead *authenc = crypto_aead_reqtfm(req); 116 struct authenc_request_ctx *areq_ctx = aead_request_ctx(req); 124 ahash_request_set_callback(ahreq, aead_request_flags(req) & 126 areq_ctx->complete, req); 137 authenc_request_complete(req, err); 142 struct aead_request *req local 165 struct aead_request *req = areq->data; local 214 struct aead_request *req = areq->data; local 247 crypto_authenc_ahash_fb(struct aead_request *req, unsigned int flags) argument 286 crypto_authenc_ahash(struct aead_request *req, unsigned int flags) argument 312 crypto_authenc_genicv(struct aead_request *req, u8 *iv, unsigned int flags) argument 363 crypto_authenc_encrypt_done(struct crypto_async_request *req, int err) argument 381 crypto_authenc_encrypt(struct aead_request *req) argument 408 crypto_authenc_givencrypt_done(struct crypto_async_request *req, int err) argument 422 crypto_authenc_givencrypt(struct aead_givcrypt_request *req) argument 445 crypto_authenc_verify(struct aead_request *req, authenc_ahash_t authenc_ahash_fn) argument 468 crypto_authenc_iverify(struct aead_request *req, u8 *iv, unsigned int cryptlen) argument 508 crypto_authenc_decrypt(struct aead_request *req) argument [all...] |
H A D | ahash.c | 117 int crypto_hash_walk_first(struct ahash_request *req, argument 120 walk->total = req->nbytes; 125 walk->alignmask = crypto_ahash_alignmask(crypto_ahash_reqtfm(req)); 126 walk->sg = req->src; 127 walk->flags = req->base.flags; 193 static void ahash_op_unaligned_finish(struct ahash_request *req, int err) argument 195 struct ahash_request_priv *priv = req->priv; 201 memcpy(priv->result, req->result, 202 crypto_ahash_digestsize(crypto_ahash_reqtfm(req))); 207 static void ahash_op_unaligned_done(struct crypto_async_request *req, in argument 219 ahash_op_unaligned(struct ahash_request *req, int (*op)(struct ahash_request *)) argument 249 crypto_ahash_op(struct ahash_request *req, int (*op)(struct ahash_request *)) argument 261 crypto_ahash_final(struct ahash_request *req) argument 267 crypto_ahash_finup(struct ahash_request *req) argument 273 crypto_ahash_digest(struct ahash_request *req) argument 279 ahash_def_finup_finish2(struct ahash_request *req, int err) argument 293 ahash_def_finup_done2(struct crypto_async_request *req, int err) argument 305 ahash_def_finup_finish1(struct ahash_request *req, int err) argument 319 ahash_def_finup_done1(struct crypto_async_request *req, int err) argument 331 ahash_def_finup(struct ahash_request *req) argument 356 ahash_no_export(struct ahash_request *req, void *out) argument 361 ahash_no_import(struct ahash_request *req, const void *in) argument [all...] |
H A D | cryptd.c | 132 * req->complete) and reschedule itself if there are more work to 137 struct crypto_async_request *req, *backlog; local 149 req = crypto_dequeue_request(&cpu_queue->queue); 153 if (!req) 158 req->complete(req, 0); 187 static void cryptd_blkcipher_crypt(struct ablkcipher_request *req, argument 198 rctx = ablkcipher_request_ctx(req); 204 desc.info = req->info; 207 err = crypt(&desc, req 217 cryptd_blkcipher_encrypt(struct crypto_async_request *req, int err) argument 226 cryptd_blkcipher_decrypt(struct crypto_async_request *req, int err) argument 235 cryptd_blkcipher_enqueue(struct ablkcipher_request *req, crypto_completion_t complete) argument 249 cryptd_blkcipher_encrypt_enqueue(struct ablkcipher_request *req) argument 254 cryptd_blkcipher_decrypt_enqueue(struct ablkcipher_request *req) argument 416 cryptd_hash_enqueue(struct ahash_request *req, crypto_completion_t complete) argument 434 struct ahash_request *req = ahash_request_cast(req_async); local 454 cryptd_hash_init_enqueue(struct ahash_request *req) argument 461 struct ahash_request *req = ahash_request_cast(req_async); local 479 cryptd_hash_update_enqueue(struct ahash_request *req) argument 486 struct ahash_request *req = ahash_request_cast(req_async); local 502 cryptd_hash_final_enqueue(struct ahash_request *req) argument 509 struct ahash_request *req = ahash_request_cast(req_async); local 525 cryptd_hash_finup_enqueue(struct ahash_request *req) argument 534 struct ahash_request *req = ahash_request_cast(req_async); local 554 cryptd_hash_digest_enqueue(struct ahash_request *req) argument 559 cryptd_hash_export(struct ahash_request *req, void *out) argument 566 cryptd_hash_import(struct ahash_request *req, const void *in) argument 630 cryptd_aead_crypt(struct aead_request *req, struct crypto_aead *child, int err, int (*crypt)(struct aead_request *req)) argument 653 struct aead_request *req; local 663 struct aead_request *req; local 669 cryptd_aead_enqueue(struct aead_request *req, crypto_completion_t complete) argument 681 cryptd_aead_encrypt_enqueue(struct aead_request *req) argument 686 cryptd_aead_decrypt_enqueue(struct aead_request *req) argument 885 cryptd_shash_desc(struct ahash_request *req) argument [all...] |
H A D | ccm.c | 51 struct aead_request *req) 53 unsigned long align = crypto_aead_alignmask(crypto_aead_reqtfm(req)); 55 return (void *)PTR_ALIGN((u8 *)aead_request_ctx(req), align + 1); 123 static int format_input(u8 *info, struct aead_request *req, argument 126 struct crypto_aead *aead = crypto_aead_reqtfm(req); 127 unsigned int lp = req->iv[0]; 133 memcpy(info, req->iv, 16); 139 if (req->assoclen) 245 static int crypto_ccm_auth(struct aead_request *req, struct scatterlist *plain, argument 248 struct crypto_aead *aead = crypto_aead_reqtfm(req); 50 crypto_ccm_reqctx( struct aead_request *req) argument 282 struct aead_request *req = areq->data; local 302 crypto_ccm_encrypt(struct aead_request *req) argument 358 struct aead_request *req = areq->data; local 372 crypto_ccm_decrypt(struct aead_request *req) argument 677 crypto_rfc4309_crypt(struct aead_request *req) argument 701 crypto_rfc4309_encrypt(struct aead_request *req) argument 708 crypto_rfc4309_decrypt(struct aead_request *req) argument [all...] |
H A D | algif_hash.c | 34 struct ahash_request req; member in struct:hash_ctx 54 err = crypto_ahash_init(&ctx->req); 76 ahash_request_set_crypt(&ctx->req, ctx->sgl.sg, NULL, 80 crypto_ahash_update(&ctx->req), 98 ahash_request_set_crypt(&ctx->req, NULL, ctx->result, 0); 99 err = af_alg_wait_for_completion(crypto_ahash_final(&ctx->req), 121 ahash_request_set_crypt(&ctx->req, ctx->sgl.sg, ctx->result, size); 125 err = crypto_ahash_finup(&ctx->req); 127 err = crypto_ahash_digest(&ctx->req); 130 err = crypto_ahash_init(&ctx->req); 189 struct ahash_request *req = &ctx->req; local [all...] |
H A D | pcrypt.c | 120 struct aead_request *req = pcrypt_request_ctx(preq); local 122 aead_request_complete(req->base.data, padata->info); 128 struct aead_givcrypt_request *req = pcrypt_request_ctx(preq); local 130 aead_request_complete(req->areq.base.data, padata->info); 135 struct aead_request *req = areq->data; local 136 struct pcrypt_request *preq = aead_request_ctx(req); 140 req->base.flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP; 148 struct aead_request *req = pcrypt_request_ctx(preq); local 150 padata->info = crypto_aead_encrypt(req); 158 static int pcrypt_aead_encrypt(struct aead_request *req) argument 190 struct aead_request *req = pcrypt_request_ctx(preq); local 200 pcrypt_aead_decrypt(struct aead_request *req) argument 232 struct aead_givcrypt_request *req = pcrypt_request_ctx(preq); local 242 pcrypt_aead_givencrypt(struct aead_givcrypt_request *req) argument [all...] |
H A D | shash.c | 208 static int shash_async_init(struct ahash_request *req) argument 210 struct crypto_shash **ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); 211 struct shash_desc *desc = ahash_request_ctx(req); 214 desc->flags = req->base.flags; 219 int shash_ahash_update(struct ahash_request *req, struct shash_desc *desc) argument 224 for (nbytes = crypto_hash_walk_first(req, &walk); nbytes > 0; 232 static int shash_async_update(struct ahash_request *req) argument 234 return shash_ahash_update(req, ahash_request_ctx(req)); 237 static int shash_async_final(struct ahash_request *req) argument 242 shash_ahash_finup(struct ahash_request *req, struct shash_desc *desc) argument 263 shash_async_finup(struct ahash_request *req) argument 274 shash_ahash_digest(struct ahash_request *req, struct shash_desc *desc) argument 297 shash_async_digest(struct ahash_request *req) argument 308 shash_async_export(struct ahash_request *req, void *out) argument 313 shash_async_import(struct ahash_request *req, const void *in) argument [all...] |
H A D | tcrypt.c | 477 static void tcrypt_complete(struct crypto_async_request *req, int err) argument 479 struct tcrypt_result *res = req->data; 488 static inline int do_one_ahash_op(struct ahash_request *req, int ret) argument 491 struct tcrypt_result *tr = req->base.data; 501 static int test_ahash_jiffies_digest(struct ahash_request *req, int blen, argument 510 ret = do_one_ahash_op(req, crypto_ahash_digest(req)); 521 static int test_ahash_jiffies(struct ahash_request *req, int blen, argument 529 return test_ahash_jiffies_digest(req, blen, out, sec); 533 ret = crypto_ahash_init(req); 553 test_ahash_cycles_digest(struct ahash_request *req, int blen, char *out) argument 591 test_ahash_cycles(struct ahash_request *req, int blen, int plen, char *out) argument 653 struct ahash_request *req; local 716 do_one_acipher_op(struct ablkcipher_request *req, int ret) argument 730 test_acipher_jiffies(struct ablkcipher_request *req, int enc, int blen, int sec) argument 755 test_acipher_cycles(struct ablkcipher_request *req, int enc, int blen) argument 810 struct ablkcipher_request *req; local [all...] |
H A D | testmgr.c | 136 static void tcrypt_complete(struct crypto_async_request *req, int err) argument 138 struct tcrypt_result *res = req->data; 174 static int do_one_async_hash_op(struct ahash_request *req, argument 194 struct ahash_request *req; local 205 req = ahash_request_alloc(tfm, GFP_KERNEL); 206 if (!req) { 211 ahash_request_set_callback(req, CRYPTO_TFM_REQ_MAY_BACKLOG, 239 ahash_request_set_crypt(req, sg, result, template[i].psize); 241 ret = do_one_async_hash_op(req, &tresult, 242 crypto_ahash_digest(req)); 370 struct aead_request *req; local 829 struct ablkcipher_request *req; local 1180 struct comp_request req; local 1261 struct comp_request req; local [all...] |
H A D | ablkcipher.c | 108 static int ablkcipher_walk_next(struct ablkcipher_request *req, 111 int ablkcipher_walk_done(struct ablkcipher_request *req, argument 114 struct crypto_tfm *tfm = req->base.tfm; 140 crypto_yield(req->base.flags); 141 return ablkcipher_walk_next(req, walk); 144 if (walk->iv != req->info) 145 memcpy(req->info, walk->iv, tfm->crt_ablkcipher.ivsize); 152 static inline int ablkcipher_next_slow(struct ablkcipher_request *req, argument 169 return ablkcipher_walk_done(req, walk, -ENOMEM); 217 static inline int ablkcipher_next_fast(struct ablkcipher_request *req, argument 228 ablkcipher_walk_next(struct ablkcipher_request *req, struct ablkcipher_walk *walk) argument 273 ablkcipher_walk_first(struct ablkcipher_request *req, struct ablkcipher_walk *walk) argument 301 ablkcipher_walk_phys(struct ablkcipher_request *req, struct ablkcipher_walk *walk) argument 354 skcipher_null_givencrypt(struct skcipher_givcrypt_request *req) argument 359 skcipher_null_givdecrypt(struct skcipher_givcrypt_request *req) argument 441 no_givdecrypt(struct skcipher_givcrypt_request *req) argument [all...] |
H A D | ctr.c | 278 static int crypto_rfc3686_crypt(struct ablkcipher_request *req) argument 280 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); 285 (void *)PTR_ALIGN((u8 *)ablkcipher_request_ctx(req), align + 1); 291 memcpy(iv + CTR_RFC3686_NONCE_SIZE, req->info, CTR_RFC3686_IV_SIZE); 298 ablkcipher_request_set_callback(subreq, req->base.flags, 299 req->base.complete, req->base.data); 300 ablkcipher_request_set_crypt(subreq, req->src, req->dst, req [all...] |
H A D | blkcipher.c | 418 static int async_encrypt(struct ablkcipher_request *req) argument 420 struct crypto_tfm *tfm = req->base.tfm; 424 .info = req->info, 425 .flags = req->base.flags, 429 return alg->encrypt(&desc, req->dst, req->src, req->nbytes); 432 static int async_decrypt(struct ablkcipher_request *req) argument 434 struct crypto_tfm *tfm = req->base.tfm; 438 .info = req [all...] |
H A D | xts.c | 171 struct xts_crypt_req *req) 174 const unsigned int max_blks = req->tbuflen / bsize; 178 be128 *t_buf = req->tbuf; 195 req->tweak_fn(req->tweak_ctx, (u8 *)&t_buf[0], walk.iv); 212 req->crypt_fn(req->crypt_ctx, (u8 *)dst, 169 xts_crypt(struct blkcipher_desc *desc, struct scatterlist *sdst, struct scatterlist *ssrc, unsigned int nbytes, struct xts_crypt_req *req) argument
|
H A D | algif_skcipher.c | 49 struct ablkcipher_request req; member in struct:skcipher_ctx 248 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(&ctx->req); 425 &ctx->req)); 470 ablkcipher_request_set_crypt(&ctx->req, sg, 476 crypto_ablkcipher_encrypt(&ctx->req) : 477 crypto_ablkcipher_decrypt(&ctx->req), 564 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(&ctx->req); 601 ablkcipher_request_set_tfm(&ctx->req, private); 602 ablkcipher_request_set_callback(&ctx->req, CRYPTO_TFM_REQ_MAY_BACKLOG,
|
H A D | lrw.c | 219 struct lrw_crypt_req *req) 222 const unsigned int max_blks = req->tbuflen / bsize; 223 struct lrw_table_ctx *ctx = req->table_ctx; 227 be128 *t_buf = req->tbuf; 269 req->crypt_fn(req->crypt_ctx, (u8 *)dst, 217 lrw_crypt(struct blkcipher_desc *desc, struct scatterlist *sdst, struct scatterlist *ssrc, unsigned int nbytes, struct lrw_crypt_req *req) argument
|
H A D | aead.c | 88 static int no_givcrypt(struct aead_givcrypt_request *req) argument 167 static int aead_null_givencrypt(struct aead_givcrypt_request *req) argument 169 return crypto_aead_encrypt(&req->areq); 172 static int aead_null_givdecrypt(struct aead_givcrypt_request *req) argument 174 return crypto_aead_decrypt(&req->areq);
|
H A D | af_alg.c | 446 void af_alg_complete(struct crypto_async_request *req, int err) argument 448 struct af_alg_completion *completion = req->data;
|
H A D | algapi.c | 897 struct crypto_async_request *req; local 899 list_for_each_entry(req, &queue->list, list) { 900 if (req->tfm == tfm)
|