Searched refs:abreq (Results 1 – 4 of 4) sorted by relevance
/linux-4.1.27/crypto/ |
D | authencesn.c | 193 struct ablkcipher_request *abreq; in authenc_esn_verify_ahash_update_done() local 236 abreq = aead_request_ctx(req); in authenc_esn_verify_ahash_update_done() 237 ablkcipher_request_set_tfm(abreq, ctx->enc); in authenc_esn_verify_ahash_update_done() 238 ablkcipher_request_set_callback(abreq, aead_request_flags(req), in authenc_esn_verify_ahash_update_done() 240 ablkcipher_request_set_crypt(abreq, req->src, req->dst, in authenc_esn_verify_ahash_update_done() 243 err = crypto_ablkcipher_decrypt(abreq); in authenc_esn_verify_ahash_update_done() 254 struct ablkcipher_request *abreq; in authenc_esn_verify_ahash_update_done2() local 285 abreq = aead_request_ctx(req); in authenc_esn_verify_ahash_update_done2() 286 ablkcipher_request_set_tfm(abreq, ctx->enc); in authenc_esn_verify_ahash_update_done2() 287 ablkcipher_request_set_callback(abreq, aead_request_flags(req), in authenc_esn_verify_ahash_update_done2() [all …]
|
D | authenc.c | 176 struct ablkcipher_request *abreq; in authenc_verify_ahash_update_done() local 207 abreq = aead_request_ctx(req); in authenc_verify_ahash_update_done() 208 ablkcipher_request_set_tfm(abreq, ctx->enc); in authenc_verify_ahash_update_done() 209 ablkcipher_request_set_callback(abreq, aead_request_flags(req), in authenc_verify_ahash_update_done() 211 ablkcipher_request_set_crypt(abreq, req->src, req->dst, in authenc_verify_ahash_update_done() 214 err = crypto_ablkcipher_decrypt(abreq); in authenc_verify_ahash_update_done() 225 struct ablkcipher_request *abreq; in authenc_verify_ahash_done() local 246 abreq = aead_request_ctx(req); in authenc_verify_ahash_done() 247 ablkcipher_request_set_tfm(abreq, ctx->enc); in authenc_verify_ahash_done() 248 ablkcipher_request_set_callback(abreq, aead_request_flags(req), in authenc_verify_ahash_done() [all …]
|
D | ccm.c | 47 struct ablkcipher_request abreq; member 308 struct ablkcipher_request *abreq = &pctx->abreq; in crypto_ccm_encrypt() local 342 ablkcipher_request_set_tfm(abreq, ctx->ctr); in crypto_ccm_encrypt() 343 ablkcipher_request_set_callback(abreq, pctx->flags, in crypto_ccm_encrypt() 345 ablkcipher_request_set_crypt(abreq, pctx->src, dst, cryptlen + 16, iv); in crypto_ccm_encrypt() 346 err = crypto_ablkcipher_encrypt(abreq); in crypto_ccm_encrypt() 378 struct ablkcipher_request *abreq = &pctx->abreq; in crypto_ccm_decrypt() local 413 ablkcipher_request_set_tfm(abreq, ctx->ctr); in crypto_ccm_decrypt() 414 ablkcipher_request_set_callback(abreq, pctx->flags, in crypto_ccm_decrypt() 416 ablkcipher_request_set_crypt(abreq, pctx->src, dst, cryptlen + 16, iv); in crypto_ccm_decrypt() [all …]
|
D | gcm.c | 74 struct ablkcipher_request abreq; member 548 struct ablkcipher_request *abreq = &pctx->u.abreq; in crypto_gcm_encrypt() local 552 crypto_gcm_init_crypt(abreq, req, req->cryptlen); in crypto_gcm_encrypt() 553 ablkcipher_request_set_callback(abreq, aead_request_flags(req), in crypto_gcm_encrypt() 560 err = crypto_ablkcipher_encrypt(abreq); in crypto_gcm_encrypt() 602 struct ablkcipher_request *abreq = &pctx->u.abreq; in gcm_dec_hash_done() local 606 ablkcipher_request_set_callback(abreq, aead_request_flags(req), in gcm_dec_hash_done() 608 crypto_gcm_init_crypt(abreq, req, gctx->cryptlen); in gcm_dec_hash_done() 609 err = crypto_ablkcipher_decrypt(abreq); in gcm_dec_hash_done() 623 struct ablkcipher_request *abreq = &pctx->u.abreq; in crypto_gcm_decrypt() local [all …]
|