Lines Matching defs:partial
98 unsigned int partial = ctx->count % GHASH_BLOCK_SIZE;
102 if ((partial + len) >= GHASH_BLOCK_SIZE) {
106 if (partial) {
107 int p = GHASH_BLOCK_SIZE - partial;
109 memcpy(ctx->buf + partial, src, p);
118 partial ? ctx->buf : NULL);
120 partial = 0;
123 memcpy(ctx->buf + partial, src, len);
130 unsigned int partial = ctx->count % GHASH_BLOCK_SIZE;
132 if (partial) {
135 memset(ctx->buf + partial, 0, GHASH_BLOCK_SIZE - partial);