Lines Matching refs:next_buflen
119 int next_buflen; member
659 req->nbytes - state->next_buflen, in ahash_done_switch()
660 state->next_buflen, 0); in ahash_done_switch()
661 state->buflen = state->next_buflen; in ahash_done_switch()
828 int *next_buflen = &state->next_buflen; in ahash_update_ctx() local
836 *next_buflen = in_len & (blocksize - 1); in ahash_update_ctx()
837 to_hash = in_len - *next_buflen; in ahash_update_ctx()
845 (*next_buflen == 0)) { in ahash_update_ctx()
846 *next_buflen = blocksize; in ahash_update_ctx()
852 int src_len = req->nbytes - *next_buflen; in ahash_update_ctx()
928 } else if (*next_buflen) { in ahash_update_ctx()
931 *buflen = *next_buflen; in ahash_update_ctx()
1204 int *next_buflen = &state->next_buflen; in ahash_update_no_ctx() local
1212 *next_buflen = in_len & (blocksize - 1); in ahash_update_no_ctx()
1213 to_hash = in_len - *next_buflen; in ahash_update_no_ctx()
1221 (*next_buflen == 0)) { in ahash_update_no_ctx()
1222 *next_buflen = blocksize; in ahash_update_no_ctx()
1228 int src_len = req->nbytes - *next_buflen; in ahash_update_no_ctx()
1299 } else if (*next_buflen) { in ahash_update_no_ctx()
1302 *buflen = *next_buflen; in ahash_update_no_ctx()
1401 int *next_buflen = &state->next_buflen; in ahash_update_first() local
1409 *next_buflen = req->nbytes & (blocksize - 1); in ahash_update_first()
1410 to_hash = req->nbytes - *next_buflen; in ahash_update_first()
1418 (*next_buflen == 0)) { in ahash_update_first()
1419 *next_buflen = blocksize; in ahash_update_first()
1425 req->nbytes - *next_buflen); in ahash_update_first()
1479 } else if (*next_buflen) { in ahash_update_first()
1485 *buflen = *next_buflen; in ahash_update_first()
1516 state->next_buflen = 0; in ahash_init()