Lines Matching refs:count
55 u32 count;
115 unsigned int partial = ctx->count % GHASH_BLOCK_SIZE;
117 ctx->count += len;
147 unsigned int partial = ctx->count % GHASH_BLOCK_SIZE;
421 static void gcm_update_mac(u64 dg[], const u8 *src, int count, u8 buf[],
425 int buf_added = min(count, GHASH_BLOCK_SIZE - *buf_count);
431 count -= buf_added;
434 if (count >= GHASH_BLOCK_SIZE || *buf_count == GHASH_BLOCK_SIZE) {
435 int blocks = count / GHASH_BLOCK_SIZE;
441 count %= GHASH_BLOCK_SIZE;
445 if (count > 0) {
446 memcpy(buf, src, count);
447 *buf_count = count;