Home | History | Annotate | Download | only in libutil

Lines Matching defs:bytes

44 /* This array contains the bytes used to pad the buffer to the next
92 /* Process LEN bytes of BUFFER, accumulating context into CTX.
111 number of bytes. Do a double word increment. */
116 /* Process all bytes in the buffer with 128 bytes in each round of
206 /* Process the remaining bytes in the internal buffer and the usual
214 /* Take yet unprocessed bytes into account. */
215 uint64_t bytes = ctx->buflen;
218 /* Now count remaining bytes. */
219 ctx->total[0] += bytes;
220 if (ctx->total[0] < bytes)
223 pad = bytes >= 112 ? 128 + 112 - bytes : 112 - bytes;
224 memcpy(&ctx->buffer[bytes], fillbuf, pad);
227 *(uint64_t *) & ctx->buffer[bytes + pad + 8] = SWAP(ctx->total[0] << 3);
228 *(uint64_t *) & ctx->buffer[bytes + pad] = SWAP((ctx->total[1] << 3) |
231 /* Process last bytes. */
232 sha512_process_block(ctx->buffer, bytes + pad + 16, ctx);
234 /* Put result from CTX in first 64 bytes following RESBUF. */
291 /* Move remaining bytes into internal buffer. */
406 /* Now get result of this (64 bytes) and add it to the other