Lines Matching refs:partial
58 unsigned int partial = ctx->count % GHASH_BLOCK_SIZE; in ghash_update() local
62 if ((partial + len) >= GHASH_BLOCK_SIZE) { in ghash_update()
66 if (partial) { in ghash_update()
67 int p = GHASH_BLOCK_SIZE - partial; in ghash_update()
69 memcpy(ctx->buf + partial, src, p); in ghash_update()
79 partial ? ctx->buf : NULL); in ghash_update()
82 partial = 0; in ghash_update()
85 memcpy(ctx->buf + partial, src, len); in ghash_update()
92 unsigned int partial = ctx->count % GHASH_BLOCK_SIZE; in ghash_final() local
94 if (partial) { in ghash_final()
97 memset(ctx->buf + partial, 0, GHASH_BLOCK_SIZE - partial); in ghash_final()