Lines Matching refs:next_buflen
114 int next_buflen; member
650 req->nbytes - state->next_buflen, in ahash_done_switch()
651 state->next_buflen, 0); in ahash_done_switch()
652 state->buflen = state->next_buflen; in ahash_done_switch()
820 int *next_buflen = &state->next_buflen; in ahash_update_ctx() local
828 *next_buflen = in_len & (blocksize - 1); in ahash_update_ctx()
829 to_hash = in_len - *next_buflen; in ahash_update_ctx()
837 (*next_buflen == 0)) { in ahash_update_ctx()
838 *next_buflen = blocksize; in ahash_update_ctx()
844 int src_len = req->nbytes - *next_buflen; in ahash_update_ctx()
920 } else if (*next_buflen) { in ahash_update_ctx()
923 *buflen = *next_buflen; in ahash_update_ctx()
1196 int *next_buflen = &state->next_buflen; in ahash_update_no_ctx() local
1204 *next_buflen = in_len & (blocksize - 1); in ahash_update_no_ctx()
1205 to_hash = in_len - *next_buflen; in ahash_update_no_ctx()
1213 (*next_buflen == 0)) { in ahash_update_no_ctx()
1214 *next_buflen = blocksize; in ahash_update_no_ctx()
1220 int src_len = req->nbytes - *next_buflen; in ahash_update_no_ctx()
1291 } else if (*next_buflen) { in ahash_update_no_ctx()
1294 *buflen = *next_buflen; in ahash_update_no_ctx()
1393 int *next_buflen = &state->next_buflen; in ahash_update_first() local
1401 *next_buflen = req->nbytes & (blocksize - 1); in ahash_update_first()
1402 to_hash = req->nbytes - *next_buflen; in ahash_update_first()
1410 (*next_buflen == 0)) { in ahash_update_first()
1411 *next_buflen = blocksize; in ahash_update_first()
1417 req->nbytes - *next_buflen); in ahash_update_first()
1471 } else if (*next_buflen) { in ahash_update_first()
1477 *buflen = *next_buflen; in ahash_update_first()
1508 state->next_buflen = 0; in ahash_init()