Lines Matching refs:buf
64 (W[t] = bswap_32(ctx->buf.w[t])) + \
148 int i = ctx->count % sizeof(ctx->buf);
153 while (len > sizeof(ctx->buf) - i) {
154 memcpy(&ctx->buf.b[i], p, sizeof(ctx->buf) - i);
155 len -= sizeof(ctx->buf) - i;
156 p += sizeof(ctx->buf) - i;
162 ctx->buf.b[i++] = *p++;
163 if (i == sizeof(ctx->buf)) {
176 while ((ctx->count % sizeof(ctx->buf)) != (sizeof(ctx->buf) - 8)) {
185 ctx->buf.w[i] = bswap_32(ctx->state[i]);
188 return ctx->buf.b;
198 uint8_t *p = ctx->buf;
246 int i = ctx->count % sizeof(ctx->buf);
252 ctx->buf[i++] = *p++;
253 if (i == sizeof(ctx->buf)) {
260 uint8_t *p = ctx->buf;
265 while ((ctx->count % sizeof(ctx->buf)) != (sizeof(ctx->buf) - 8)) {
281 return ctx->buf;