Lines Matching defs:count
65 uint32_t *dst, size_t count)
67 while (count--)
72 unsigned int count, u8 *out)
90 if (state.count + count > ULONG_MAX)
91 return crypto_shash_finup(&dctx->fallback, in, count, out);
93 leftover = ((state.count - 1) & (SHA1_BLOCK_SIZE - 1)) + 1;
96 if (count > space) {
101 count -= space;
104 memcpy(state.buffer + leftover, in, count);
106 count += leftover;
107 state.count &= ~(SHA1_BLOCK_SIZE - 1);
115 : "c"((unsigned long)state.count + count), \
116 "a"((unsigned long)state.count), \
133 unsigned int count, u8 *out)
151 if (state.count + count > ULONG_MAX)
152 return crypto_shash_finup(&dctx->fallback, in, count, out);
154 leftover = ((state.count - 1) & (SHA256_BLOCK_SIZE - 1)) + 1;
157 if (count > space) {
162 count -= space;
165 memcpy(state.buf + leftover, in, count);
167 count += leftover;
168 state.count &= ~(SHA1_BLOCK_SIZE - 1);
176 : "c"((unsigned long)state.count + count), \
177 "a"((unsigned long)state.count), \
290 partial = sctx->count & 0x3f;
291 sctx->count += len;
335 bits = cpu_to_be64(state->count << 3);
338 partial = state->count & 0x3f;
374 partial = sctx->count & 0x3f;
375 sctx->count += len;
420 bits = cpu_to_be64(state->count << 3);
423 partial = state->count & 0x3f;