Lines Matching refs:to_hash
723 unsigned int first_bytes, size_t to_hash) in ahash_edesc_add_src() argument
733 sg_to_sec4_sg_last(req->src, to_hash, sg + first_sg, 0); in ahash_edesc_add_src()
749 append_seq_in_ptr(edesc->hw_desc, src_dma, first_bytes + to_hash, in ahash_edesc_add_src()
822 int in_len = *buflen + req->nbytes, to_hash; in ahash_update_ctx() local
829 to_hash = in_len - *next_buflen; in ahash_update_ctx()
836 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize && in ahash_update_ctx()
839 to_hash -= blocksize; in ahash_update_ctx()
842 if (to_hash) { in ahash_update_ctx()
910 to_hash, LDST_SGF); in ahash_update_ctx()
1198 int in_len = *buflen + req->nbytes, to_hash; in ahash_update_no_ctx() local
1205 to_hash = in_len - *next_buflen; in ahash_update_no_ctx()
1212 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize && in ahash_update_no_ctx()
1215 to_hash -= blocksize; in ahash_update_no_ctx()
1218 if (to_hash) { in ahash_update_no_ctx()
1274 append_seq_in_ptr(desc, edesc->sec4_sg_dma, to_hash, LDST_SGF); in ahash_update_no_ctx()
1394 int to_hash; in ahash_update_first() local
1402 to_hash = req->nbytes - *next_buflen; in ahash_update_first()
1409 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize && in ahash_update_first()
1412 to_hash -= blocksize; in ahash_update_first()
1415 if (to_hash) { in ahash_update_first()
1450 to_hash); in ahash_update_first()