Home
last modified time | relevance | path

Searched refs:bCnt (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/common/crypto/skein/
H A Dskein.c150 ctx->h.bCnt = 0; /* buffer b[] starts out empty */ in Skein_256_InitExt()
163 Skein_Assert(ctx->h.bCnt <= SKEIN_256_BLOCK_BYTES, SKEIN_FAIL); in Skein_256_Update()
166 if (msgByteCnt + ctx->h.bCnt > SKEIN_256_BLOCK_BYTES) { in Skein_256_Update()
168 if (ctx->h.bCnt) { in Skein_256_Update()
170 n = SKEIN_256_BLOCK_BYTES - ctx->h.bCnt; in Skein_256_Update()
174 bcopy(msg, &ctx->b[ctx->h.bCnt], n); in Skein_256_Update()
177 ctx->h.bCnt += n; in Skein_256_Update()
179 Skein_assert(ctx->h.bCnt == SKEIN_256_BLOCK_BYTES); in Skein_256_Update()
182 ctx->h.bCnt = 0; in Skein_256_Update()
196 Skein_assert(ctx->h.bCnt == 0); in Skein_256_Update()
[all …]
H A Dskein_port.h73 #define Skein_Put64_LSB_First(dst08, src64, bCnt) bcopy(src64, dst08, bCnt) argument
102 Skein_Put64_LSB_First(uint8_t *dst, const uint64_t *src, size_t bCnt) in Skein_Put64_LSB_First() argument
111 for (n = 0; n < bCnt; n++) in Skein_Put64_LSB_First()
H A Dskein_impl.h173 (ctxPtr)->h.bCnt = 0; \
/illumos-gate/usr/src/uts/common/sys/
H A Dskein.h59 size_t bCnt; /* current byte count in buffer b[] */ member