Lines Matching defs:bytes
88 * 1024 bytes, except possibly the final one which is taken over a multiple of
89 * 16 bytes up to 1024. Also, in the case where data is passed in misaligned
97 unsigned int bytes;
101 bytes = min_t(unsigned int, srclen, NH_MESSAGE_BYTES);
102 nh_fn(key->nh_key, src, bytes, state->nh_hash);
103 state->nh_remaining = NH_MESSAGE_BYTES - bytes;
111 bytes = min(srclen, state->nh_remaining);
112 nh_fn(&key->nh_key[pos / 4], src, bytes, tmp_hash);
116 state->nh_remaining -= bytes;
120 src += bytes;
121 srclen -= bytes;
161 unsigned int bytes;
164 bytes = min(srclen, (int)NH_MESSAGE_UNIT - state->buflen);
165 memcpy(&state->buffer[state->buflen], src, bytes);
166 state->buflen += bytes;
172 src += bytes;
173 srclen -= bytes;
177 bytes = round_down(srclen, NH_MESSAGE_UNIT);
178 nhpoly1305_units(state, key, src, bytes, nh_fn);
179 src += bytes;
180 srclen -= bytes;