Lines Matching defs:partial
115 unsigned int partial = ctx->count % GHASH_BLOCK_SIZE;
119 if ((partial + len) >= GHASH_BLOCK_SIZE) {
123 if (partial) {
124 int p = GHASH_BLOCK_SIZE - partial;
126 memcpy(ctx->buf + partial, src, p);
135 partial ? ctx->buf : NULL);
137 partial = 0;
140 memcpy(ctx->buf + partial, src, len);
147 unsigned int partial = ctx->count % GHASH_BLOCK_SIZE;
149 if (partial) {
152 memset(ctx->buf + partial, 0, GHASH_BLOCK_SIZE - partial);