Lines Matching refs:next_buflen
784 int *next_buflen = state->current_buf ? &state->buflen_0 : in ahash_update_ctx() local
795 last_buflen = *next_buflen; in ahash_update_ctx()
796 *next_buflen = in_len & (crypto_tfm_alg_blocksize(&ahash->base) - 1); in ahash_update_ctx()
797 to_hash = in_len - *next_buflen; in ahash_update_ctx()
800 src_nents = __sg_count(req->src, req->nbytes - (*next_buflen), in ahash_update_ctx()
838 if (*next_buflen) { in ahash_update_ctx()
841 *next_buflen, 0); in ahash_update_ctx()
881 } else if (*next_buflen) { in ahash_update_ctx()
884 *buflen = *next_buflen; in ahash_update_ctx()
885 *next_buflen = last_buflen; in ahash_update_ctx()
892 *next_buflen, 1); in ahash_update_ctx()
1225 int *next_buflen = state->current_buf ? &state->buflen_0 : in ahash_update_no_ctx() local
1236 *next_buflen = in_len & (crypto_tfm_alg_blocksize(&ahash->base) - 1); in ahash_update_no_ctx()
1237 to_hash = in_len - *next_buflen; in ahash_update_no_ctx()
1240 src_nents = __sg_count(req->src, req->nbytes - (*next_buflen), in ahash_update_no_ctx()
1268 if (*next_buflen) { in ahash_update_no_ctx()
1271 *next_buflen, 0); in ahash_update_no_ctx()
1311 } else if (*next_buflen) { in ahash_update_no_ctx()
1314 *buflen = *next_buflen; in ahash_update_no_ctx()
1315 *next_buflen = 0; in ahash_update_no_ctx()
1322 *next_buflen, 1); in ahash_update_no_ctx()
1423 int *next_buflen = state->current_buf ? in ahash_update_first() local
1436 *next_buflen = req->nbytes & (crypto_tfm_alg_blocksize(&ahash->base) - in ahash_update_first()
1438 to_hash = req->nbytes - *next_buflen; in ahash_update_first()
1441 src_nents = sg_count(req->src, req->nbytes - (*next_buflen), in ahash_update_first()
1484 if (*next_buflen) in ahash_update_first()
1486 *next_buflen, 0); in ahash_update_first()
1517 } else if (*next_buflen) { in ahash_update_first()
1527 *next_buflen, 1); in ahash_update_first()