Lines Matching defs:count
41 u32 count;
119 unsigned int partial = ctx->count % GHASH_BLOCK_SIZE;
121 ctx->count += len;
158 unsigned int partial = ctx->count % GHASH_BLOCK_SIZE;
274 static void gcm_update_mac(u64 dg[], const u8 *src, int count, u8 buf[],
278 int buf_added = min(count, GHASH_BLOCK_SIZE - *buf_count);
284 count -= buf_added;
287 if (count >= GHASH_BLOCK_SIZE || *buf_count == GHASH_BLOCK_SIZE) {
288 int blocks = count / GHASH_BLOCK_SIZE;
295 count %= GHASH_BLOCK_SIZE;
299 if (count > 0) {
300 memcpy(buf, src, count);
301 *buf_count = count;