Lines Matching refs:req
73 int crypto4xx_encrypt(struct ablkcipher_request *req) in crypto4xx_encrypt() argument
75 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in crypto4xx_encrypt()
82 return crypto4xx_build_pd(&req->base, ctx, req->src, req->dst, in crypto4xx_encrypt()
83 req->nbytes, req->info, in crypto4xx_encrypt()
87 int crypto4xx_decrypt(struct ablkcipher_request *req) in crypto4xx_decrypt() argument
89 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in crypto4xx_decrypt()
96 return crypto4xx_build_pd(&req->base, ctx, req->src, req->dst, in crypto4xx_decrypt()
97 req->nbytes, req->info, in crypto4xx_decrypt()
237 int crypto4xx_hash_init(struct ahash_request *req) in crypto4xx_hash_init() argument
239 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in crypto4xx_hash_init()
245 __crypto_ahash_cast(req->base.tfm)); in crypto4xx_hash_init()
254 int crypto4xx_hash_update(struct ahash_request *req) in crypto4xx_hash_update() argument
256 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in crypto4xx_hash_update()
263 return crypto4xx_build_pd(&req->base, ctx, req->src, in crypto4xx_hash_update()
264 (struct scatterlist *) req->result, in crypto4xx_hash_update()
265 req->nbytes, NULL, 0); in crypto4xx_hash_update()
268 int crypto4xx_hash_final(struct ahash_request *req) in crypto4xx_hash_final() argument
273 int crypto4xx_hash_digest(struct ahash_request *req) in crypto4xx_hash_digest() argument
275 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in crypto4xx_hash_digest()
281 return crypto4xx_build_pd(&req->base, ctx, req->src, in crypto4xx_hash_digest()
282 (struct scatterlist *) req->result, in crypto4xx_hash_digest()
283 req->nbytes, NULL, 0); in crypto4xx_hash_digest()