Home
last modified time | relevance | path

Searched refs:msgByteCnt (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/common/crypto/skein/
H A Dskein.c158 Skein_256_Update(Skein_256_Ctxt_t *ctx, const uint8_t *msg, size_t msgByteCnt) in Skein_256_Update() argument
166 if (msgByteCnt + ctx->h.bCnt > SKEIN_256_BLOCK_BYTES) { in Skein_256_Update()
173 Skein_assert(n < msgByteCnt); in Skein_256_Update()
175 msgByteCnt -= n; in Skein_256_Update()
188 if (msgByteCnt > SKEIN_256_BLOCK_BYTES) { in Skein_256_Update()
190 n = (msgByteCnt - 1) / SKEIN_256_BLOCK_BYTES; in Skein_256_Update()
193 msgByteCnt -= n * SKEIN_256_BLOCK_BYTES; in Skein_256_Update()
200 if (msgByteCnt) { in Skein_256_Update()
201 Skein_assert(msgByteCnt + ctx->h.bCnt <= SKEIN_256_BLOCK_BYTES); in Skein_256_Update()
202 bcopy(msg, &ctx->b[ctx->h.bCnt], msgByteCnt); in Skein_256_Update()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dskein.h91 size_t msgByteCnt);
93 size_t msgByteCnt);
95 size_t msgByteCnt);