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 */
163 Skein_Assert(ctx->h.bCnt <= SKEIN_256_BLOCK_BYTES, SKEIN_FAIL);
166 if (msgByteCnt + ctx->h.bCnt > SKEIN_256_BLOCK_BYTES) {
168 if (ctx->h.bCnt) {
170 n = SKEIN_256_BLOCK_BYTES - ctx->h.bCnt;
174 bcopy(msg, &ctx->b[ctx->h.bCnt], n);
177 ctx->h.bCnt += n;
179 Skein_assert(ctx->h.bCnt == SKEIN_256_BLOCK_BYTES);
182 ctx->h.bCnt = 0;
196 Skein_assert(ctx->h.bCnt
[all...]
H A Dskein_port.h56 #define Skein_Put64_LSB_First(dst08, src64, bCnt) bcopy(src64, dst08, bCnt)
85 Skein_Put64_LSB_First(uint8_t *dst, const uint64_t *src, size_t bCnt) argument
94 for (n = 0; n < bCnt; n++)
H A Dskein_impl.h167 * set up for starting with a new type: h.T[0]=0; h.T[1] = NEW_TYPE; h.bCnt=0;
173 (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 in struct:__anon471

Completed in 54 milliseconds