Lines Matching defs:partial
146 size_t partial = ctx->bytecount % MD5_BLOCK_SIZE;
150 if (partial + len >= MD5_BLOCK_SIZE) {
153 if (partial) {
154 size_t l = MD5_BLOCK_SIZE - partial;
156 memcpy(&ctx->buf[partial], data, l);
170 partial = 0;
173 memcpy(&ctx->buf[partial], data, len);
180 size_t partial = ctx->bytecount % MD5_BLOCK_SIZE;
182 ctx->buf[partial++] = 0x80;
183 if (partial > MD5_BLOCK_SIZE - 8) {
184 memset(&ctx->buf[partial], 0, MD5_BLOCK_SIZE - partial);
186 partial = 0;
188 memset(&ctx->buf[partial], 0, MD5_BLOCK_SIZE - 8 - partial);