Lines Matching refs:to_hash

748 			       unsigned int first_bytes, size_t to_hash)  in ahash_edesc_add_src()  argument
758 sg_to_sec4_sg_last(req->src, to_hash, sg + first_sg, 0); in ahash_edesc_add_src()
774 append_seq_in_ptr(edesc->hw_desc, src_dma, first_bytes + to_hash, in ahash_edesc_add_src()
794 int in_len = *buflen + req->nbytes, to_hash; in ahash_update_ctx() local
802 to_hash = in_len - *next_buflen; in ahash_update_ctx()
809 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize && in ahash_update_ctx()
812 to_hash -= blocksize; in ahash_update_ctx()
815 if (to_hash) { in ahash_update_ctx()
873 to_hash - *buflen, in ahash_update_ctx()
887 to_hash, LDST_SGF); in ahash_update_ctx()
1215 int in_len = *buflen + req->nbytes, to_hash; in ahash_update_no_ctx() local
1222 to_hash = in_len - *next_buflen; in ahash_update_no_ctx()
1229 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize && in ahash_update_no_ctx()
1232 to_hash -= blocksize; in ahash_update_no_ctx()
1235 if (to_hash) { in ahash_update_no_ctx()
1283 to_hash - *buflen, in ahash_update_no_ctx()
1298 append_seq_in_ptr(desc, edesc->sec4_sg_dma, to_hash, LDST_SGF); in ahash_update_no_ctx()
1433 int to_hash; in ahash_update_first() local
1441 to_hash = req->nbytes - *next_buflen; in ahash_update_first()
1448 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize && in ahash_update_first()
1451 to_hash -= blocksize; in ahash_update_first()
1454 if (to_hash) { in ahash_update_first()
1490 to_hash); in ahash_update_first()
1495 scatterwalk_map_and_copy(next_buf, req->src, to_hash, in ahash_update_first()