Lines Matching refs:areq

122 static void authenc_geniv_ahash_update_done(struct crypto_async_request *areq,  in authenc_geniv_ahash_update_done()  argument
125 struct aead_request *req = areq->data; in authenc_geniv_ahash_update_done()
152 static void authenc_geniv_ahash_done(struct crypto_async_request *areq, int err) in authenc_geniv_ahash_done() argument
154 struct aead_request *req = areq->data; in authenc_geniv_ahash_done()
171 static void authenc_verify_ahash_update_done(struct crypto_async_request *areq, in authenc_verify_ahash_update_done() argument
177 struct aead_request *req = areq->data; in authenc_verify_ahash_update_done()
220 static void authenc_verify_ahash_done(struct crypto_async_request *areq, in authenc_verify_ahash_done() argument
226 struct aead_request *req = areq->data; in authenc_verify_ahash_done()
378 struct aead_request *areq = req->data; in crypto_authenc_encrypt_done() local
381 struct crypto_aead *authenc = crypto_aead_reqtfm(areq); in crypto_authenc_encrypt_done()
383 struct authenc_request_ctx *areq_ctx = aead_request_ctx(areq); in crypto_authenc_encrypt_done()
388 err = crypto_authenc_genicv(areq, iv, 0); in crypto_authenc_encrypt_done()
391 authenc_request_complete(areq, err); in crypto_authenc_encrypt_done()
424 struct aead_request *areq = req->data; in crypto_authenc_givencrypt_done() local
427 struct skcipher_givcrypt_request *greq = aead_request_ctx(areq); in crypto_authenc_givencrypt_done()
429 err = crypto_authenc_genicv(areq, greq->giv, 0); in crypto_authenc_givencrypt_done()
432 authenc_request_complete(areq, err); in crypto_authenc_givencrypt_done()
439 struct aead_request *areq = &req->areq; in crypto_authenc_givencrypt() local
440 struct skcipher_givcrypt_request *greq = aead_request_ctx(areq); in crypto_authenc_givencrypt()
445 skcipher_givcrypt_set_callback(greq, aead_request_flags(areq), in crypto_authenc_givencrypt()
446 crypto_authenc_givencrypt_done, areq); in crypto_authenc_givencrypt()
447 skcipher_givcrypt_set_crypt(greq, areq->src, areq->dst, areq->cryptlen, in crypto_authenc_givencrypt()
448 areq->iv); in crypto_authenc_givencrypt()
455 return crypto_authenc_genicv(areq, iv, CRYPTO_TFM_REQ_MAY_SLEEP); in crypto_authenc_givencrypt()