Lines Matching defs:partial
122 unsigned int partial = ctx->count % GHASH_BLOCK_SIZE;
126 if ((partial + len) >= GHASH_BLOCK_SIZE) {
130 if (partial) {
131 int p = GHASH_BLOCK_SIZE - partial;
133 memcpy(ctx->buf + partial, src, p);
145 partial ? ctx->buf : NULL,
150 partial = 0;
154 memcpy(ctx->buf + partial, src, len);
161 unsigned int partial = ctx->count % GHASH_BLOCK_SIZE;
163 if (partial) {
166 memset(ctx->buf + partial, 0, GHASH_BLOCK_SIZE - partial);