Lines Matching defs:partial
119 unsigned int partial = ctx->count % GHASH_BLOCK_SIZE;
123 if ((partial + len) >= GHASH_BLOCK_SIZE) {
127 if (partial) {
128 int p = GHASH_BLOCK_SIZE - partial;
130 memcpy(ctx->buf + partial, src, p);
142 partial ? ctx->buf : NULL,
147 partial = 0;
151 memcpy(ctx->buf + partial, src, len);
158 unsigned int partial = ctx->count % GHASH_BLOCK_SIZE;
160 if (partial) {
163 memset(ctx->buf + partial, 0, GHASH_BLOCK_SIZE - partial);