Searched refs:subreq (Results 1 - 5 of 5) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/crypto/ |
H A D | chainiv.c | 52 struct ablkcipher_request *subreq = skcipher_givcrypt_reqctx(req); local 56 ablkcipher_request_set_tfm(subreq, skcipher_geniv_cipher(geniv)); 57 ablkcipher_request_set_callback(subreq, req->creq.base.flags & 61 ablkcipher_request_set_crypt(subreq, req->creq.src, req->creq.dst, 69 memcpy(subreq->info, ctx->iv, ivsize); 71 err = crypto_ablkcipher_encrypt(subreq); 75 memcpy(ctx->iv, subreq->info, ivsize); 165 struct ablkcipher_request *subreq = skcipher_givcrypt_reqctx(req); local 169 memcpy(subreq->info, ctx->iv, ivsize); 171 ctx->err = crypto_ablkcipher_encrypt(subreq); 185 struct ablkcipher_request *subreq = skcipher_givcrypt_reqctx(req); local 241 struct ablkcipher_request *subreq; local [all...] |
H A D | seqiv.c | 34 struct ablkcipher_request *subreq = skcipher_givcrypt_reqctx(req); local 44 memcpy(req->creq.info, subreq->info, crypto_ablkcipher_ivsize(geniv)); 47 kfree(subreq->info); 60 struct aead_request *subreq = aead_givcrypt_reqctx(req); local 70 memcpy(req->areq.iv, subreq->iv, crypto_aead_ivsize(geniv)); 73 kfree(subreq->iv); 102 struct ablkcipher_request *subreq = skcipher_givcrypt_reqctx(req); local 109 ablkcipher_request_set_tfm(subreq, skcipher_geniv_cipher(geniv)); 129 ablkcipher_request_set_callback(subreq, req->creq.base.flags, complete, 131 ablkcipher_request_set_crypt(subreq, re 148 struct aead_request *subreq = aead_givcrypt_reqctx(req); local [all...] |
H A D | eseqiv.c | 84 struct ablkcipher_request *subreq; local 99 subreq = (void *)(reqctx->tail + ctx->reqoff); 100 ablkcipher_request_set_tfm(subreq, skcipher_geniv_cipher(geniv)); 122 ablkcipher_request_set_callback(subreq, req->creq.base.flags, complete, 138 ablkcipher_request_set_crypt(subreq, reqctx->src, dst, 152 err = crypto_ablkcipher_encrypt(subreq);
|
H A D | gcm.c | 50 struct aead_request subreq; member in struct:crypto_rfc4543_req_ctx 900 struct aead_request *subreq = aead_request_ctx(req); local 904 u8 *iv = PTR_ALIGN((u8 *)(subreq + 1) + crypto_aead_reqsize(child), 910 aead_request_set_tfm(subreq, child); 911 aead_request_set_callback(subreq, req->base.flags, req->base.complete, 913 aead_request_set_crypt(subreq, req->src, req->dst, req->cryptlen, iv); 914 aead_request_set_assoc(subreq, req->assoc, req->assoclen); 916 return subreq; 1126 struct aead_request *subreq = &rctx->subreq; local 1178 struct aead_request *subreq; local [all...] |
H A D | ccm.c | 686 struct aead_request *subreq = aead_request_ctx(req); local 690 u8 *iv = PTR_ALIGN((u8 *)(subreq + 1) + crypto_aead_reqsize(child), 699 aead_request_set_tfm(subreq, child); 700 aead_request_set_callback(subreq, req->base.flags, req->base.complete, 702 aead_request_set_crypt(subreq, req->src, req->dst, req->cryptlen, iv); 703 aead_request_set_assoc(subreq, req->assoc, req->assoclen); 705 return subreq;
|
Completed in 119 milliseconds