Lines Matching refs:buffer
120 memcpy (&ctx->buffer[bytes], fillbuf, pad); in __sha256_finish_ctx()
132 __sha256_process_block (ctx->buffer, bytes + pad + 8, ctx); in __sha256_finish_ctx()
143 __sha256_process_bytes (const void *buffer, size_t len, struct sha256_ctx *ctx) in __sha256_process_bytes() argument
152 memcpy (&ctx->buffer[left_over], buffer, add); in __sha256_process_bytes()
157 __sha256_process_block (ctx->buffer, ctx->buflen & ~63, ctx); in __sha256_process_bytes()
161 memcpy (ctx->buffer, &ctx->buffer[(left_over + add) & ~63], in __sha256_process_bytes()
165 buffer = (const char *) buffer + add; in __sha256_process_bytes()
180 if (UNALIGNED_P (buffer)) in __sha256_process_bytes()
183 __sha256_process_block (memcpy (ctx->buffer, buffer, 64), 64, ctx); in __sha256_process_bytes()
184 buffer = (const char *) buffer + 64; in __sha256_process_bytes()
190 __sha256_process_block (buffer, len & ~63, ctx); in __sha256_process_bytes()
191 buffer = (const char *) buffer + (len & ~63); in __sha256_process_bytes()
201 memcpy (&ctx->buffer[left_over], buffer, len); in __sha256_process_bytes()
205 __sha256_process_block (ctx->buffer, 64, ctx); in __sha256_process_bytes()
207 memcpy (ctx->buffer, &ctx->buffer[64], left_over); in __sha256_process_bytes()