Searched refs:reqctx (Results 1 – 2 of 2) sorted by relevance
129 static inline void chcr_init_hctx_per_wr(struct chcr_ahash_req_ctx *reqctx) in chcr_init_hctx_per_wr() argument131 memset(&reqctx->hctx_wr, 0, sizeof(struct chcr_hctx_per_wr)); in chcr_init_hctx_per_wr()213 struct chcr_aead_reqctx *reqctx = aead_request_ctx(req); in chcr_handle_aead_resp() local218 if (reqctx->verify == VERIFY_SW) { in chcr_handle_aead_resp()220 reqctx->verify = VERIFY_HW; in chcr_handle_aead_resp()694 struct chcr_skcipher_req_ctx *reqctx = skcipher_request_ctx(req); in chcr_cipher_fallback() local697 skcipher_request_set_tfm(&reqctx->fallback_req, cipher); in chcr_cipher_fallback()698 skcipher_request_set_callback(&reqctx->fallback_req, req->base.flags, in chcr_cipher_fallback()700 skcipher_request_set_crypt(&reqctx->fallback_req, req->src, req->dst, in chcr_cipher_fallback()703 err = op_type ? crypto_skcipher_decrypt(&reqctx->fallback_req) : in chcr_cipher_fallback()[all …]
481 struct s5p_aes_reqctx *reqctx = skcipher_request_ctx(req); in s5p_sg_done() local492 if (reqctx->mode & FLAGS_AES_CBC) in s5p_sg_done()495 else if (reqctx->mode & FLAGS_AES_CTR) in s5p_sg_done()1979 struct s5p_aes_reqctx *reqctx; in s5p_tasklet_cb() local1998 reqctx = skcipher_request_ctx(dev->req); in s5p_tasklet_cb()2000 s5p_aes_crypt_start(dev, reqctx->mode); in s5p_tasklet_cb()2027 struct s5p_aes_reqctx *reqctx = skcipher_request_ctx(req); in s5p_aes_crypt() local2040 reqctx->mode = mode; in s5p_aes_crypt()