Lines Matching refs:next_buflen
789 int *next_buflen = state->current_buf ? &state->buflen_0 : in ahash_update_ctx() local
799 last_buflen = *next_buflen; in ahash_update_ctx()
800 *next_buflen = in_len & (crypto_tfm_alg_blocksize(&ahash->base) - 1); in ahash_update_ctx()
801 to_hash = in_len - *next_buflen; in ahash_update_ctx()
805 req->nbytes - (*next_buflen)); in ahash_update_ctx()
840 if (*next_buflen) in ahash_update_ctx()
843 *next_buflen, 0); in ahash_update_ctx()
883 } else if (*next_buflen) { in ahash_update_ctx()
886 *buflen = *next_buflen; in ahash_update_ctx()
887 *next_buflen = last_buflen; in ahash_update_ctx()
894 *next_buflen, 1); in ahash_update_ctx()
1221 int *next_buflen = state->current_buf ? &state->buflen_0 : in ahash_update_no_ctx() local
1231 *next_buflen = in_len & (crypto_tfm_alg_blocksize(&ahash->base) - 1); in ahash_update_no_ctx()
1232 to_hash = in_len - *next_buflen; in ahash_update_no_ctx()
1236 req->nbytes - (*next_buflen)); in ahash_update_no_ctx()
1262 if (*next_buflen) { in ahash_update_no_ctx()
1265 *next_buflen, 0); in ahash_update_no_ctx()
1306 } else if (*next_buflen) { in ahash_update_no_ctx()
1309 *buflen = *next_buflen; in ahash_update_no_ctx()
1310 *next_buflen = 0; in ahash_update_no_ctx()
1317 *next_buflen, 1); in ahash_update_no_ctx()
1415 int *next_buflen = state->current_buf ? in ahash_update_first() local
1427 *next_buflen = req->nbytes & (crypto_tfm_alg_blocksize(&ahash->base) - in ahash_update_first()
1429 to_hash = req->nbytes - *next_buflen; in ahash_update_first()
1432 src_nents = sg_count(req->src, req->nbytes - (*next_buflen)); in ahash_update_first()
1472 if (*next_buflen) in ahash_update_first()
1474 *next_buflen, 0); in ahash_update_first()
1505 } else if (*next_buflen) { in ahash_update_first()
1515 *next_buflen, 1); in ahash_update_first()