Lines Matching refs:to_hash
728 unsigned int first_bytes, size_t to_hash) in ahash_edesc_add_src() argument
738 sg_to_sec4_sg_last(req->src, to_hash, sg + first_sg, 0); in ahash_edesc_add_src()
754 append_seq_in_ptr(edesc->hw_desc, src_dma, first_bytes + to_hash, in ahash_edesc_add_src()
830 int in_len = *buflen + req->nbytes, to_hash; in ahash_update_ctx() local
837 to_hash = in_len - *next_buflen; in ahash_update_ctx()
844 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize && in ahash_update_ctx()
847 to_hash -= blocksize; in ahash_update_ctx()
850 if (to_hash) { in ahash_update_ctx()
918 to_hash, LDST_SGF); in ahash_update_ctx()
1206 int in_len = *buflen + req->nbytes, to_hash; in ahash_update_no_ctx() local
1213 to_hash = in_len - *next_buflen; in ahash_update_no_ctx()
1220 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize && in ahash_update_no_ctx()
1223 to_hash -= blocksize; in ahash_update_no_ctx()
1226 if (to_hash) { in ahash_update_no_ctx()
1282 append_seq_in_ptr(desc, edesc->sec4_sg_dma, to_hash, LDST_SGF); in ahash_update_no_ctx()
1402 int to_hash; in ahash_update_first() local
1410 to_hash = req->nbytes - *next_buflen; in ahash_update_first()
1417 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize && in ahash_update_first()
1420 to_hash -= blocksize; in ahash_update_first()
1423 if (to_hash) { in ahash_update_first()
1458 to_hash); in ahash_update_first()