Searched refs:SKEIN_256_BLOCK_BYTES (Results 1 - 4 of 4) sorted by relevance

/freebsd-11-stable/sys/crypto/skein/
H A Dskein.c147 Skein_Assert(ctx->h.bCnt <= SKEIN_256_BLOCK_BYTES,SKEIN_FAIL); /* catch uninitialized context */
150 if (msgByteCnt + ctx->h.bCnt > SKEIN_256_BLOCK_BYTES)
154 n = SKEIN_256_BLOCK_BYTES - ctx->h.bCnt; /* # bytes free in buffer b[] */
163 Skein_assert(ctx->h.bCnt == SKEIN_256_BLOCK_BYTES);
164 Skein_256_Process_Block(ctx,ctx->b,1,SKEIN_256_BLOCK_BYTES);
168 if (msgByteCnt > SKEIN_256_BLOCK_BYTES)
170 n = (msgByteCnt-1) / SKEIN_256_BLOCK_BYTES; /* number of full blocks to process */
171 Skein_256_Process_Block(ctx,msg,n,SKEIN_256_BLOCK_BYTES);
172 msgByteCnt -= n * SKEIN_256_BLOCK_BYTES;
173 msg += n * SKEIN_256_BLOCK_BYTES;
811 SKEIN256_Final(unsigned char digest[static SKEIN_256_BLOCK_BYTES], SKEIN256_CTX *ctx) argument
[all...]
H A Dskein_freebsd.h32 #define SKEIN_256_BLOCK_BYTES ( 8*SKEIN_256_STATE_WORDS) macro
36 #define SKEIN256_BLOCK_LENGTH SKEIN_256_BLOCK_BYTES
H A Dskein.h63 #define SKEIN_256_BLOCK_BYTES ( 8*SKEIN_256_STATE_WORDS) macro
78 u08b_t b[SKEIN_256_BLOCK_BYTES]; /* partial block buffer (8-byte aligned) */
H A Dskein_block.c116 blkPtr += SKEIN_256_BLOCK_BYTES;

Completed in 78 milliseconds