Searched refs:reqctx (Results 1 – 2 of 2) sorted by relevance
134 static inline void chcr_init_hctx_per_wr(struct chcr_ahash_req_ctx *reqctx) in chcr_init_hctx_per_wr() argument136 memset(&reqctx->hctx_wr, 0, sizeof(struct chcr_hctx_per_wr)); in chcr_init_hctx_per_wr()218 struct chcr_aead_reqctx *reqctx = aead_request_ctx(req); in chcr_handle_aead_resp() local223 if (reqctx->verify == VERIFY_SW) { in chcr_handle_aead_resp()225 reqctx->verify = VERIFY_HW; in chcr_handle_aead_resp()766 struct chcr_blkcipher_req_ctx *reqctx = in create_cipher_wr() local776 nents = sg_nents_xlen(reqctx->dstsg, wrparam->bytes, CHCR_DST_SG_SIZE, in create_cipher_wr()777 reqctx->dst_ofst); in create_cipher_wr()781 nents = sg_nents_xlen(reqctx->srcsg, wrparam->bytes, in create_cipher_wr()782 CHCR_SRC_SG_SIZE, reqctx->src_ofst); in create_cipher_wr()[all …]
482 struct s5p_aes_reqctx *reqctx = ablkcipher_request_ctx(req); in s5p_sg_done() local493 if (reqctx->mode & FLAGS_AES_CBC) in s5p_sg_done()496 else if (reqctx->mode & FLAGS_AES_CTR) in s5p_sg_done()2007 struct s5p_aes_reqctx *reqctx; in s5p_tasklet_cb() local2026 reqctx = ablkcipher_request_ctx(dev->req); in s5p_tasklet_cb()2028 s5p_aes_crypt_start(dev, reqctx->mode); in s5p_tasklet_cb()2055 struct s5p_aes_reqctx *reqctx = ablkcipher_request_ctx(req); in s5p_aes_crypt() local2068 reqctx->mode = mode; in s5p_aes_crypt()