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

/freebsd-11-stable/sys/crypto/skein/
H A Dskein.c345 Skein_Assert(ctx->h.bCnt <= SKEIN_512_BLOCK_BYTES,SKEIN_FAIL); /* catch uninitialized context */
348 if (msgByteCnt + ctx->h.bCnt > SKEIN_512_BLOCK_BYTES)
352 n = SKEIN_512_BLOCK_BYTES - ctx->h.bCnt; /* # bytes free in buffer b[] */
361 Skein_assert(ctx->h.bCnt == SKEIN_512_BLOCK_BYTES);
362 Skein_512_Process_Block(ctx,ctx->b,1,SKEIN_512_BLOCK_BYTES);
366 if (msgByteCnt > SKEIN_512_BLOCK_BYTES)
368 n = (msgByteCnt-1) / SKEIN_512_BLOCK_BYTES; /* number of full blocks to process */
369 Skein_512_Process_Block(ctx,msg,n,SKEIN_512_BLOCK_BYTES);
370 msgByteCnt -= n * SKEIN_512_BLOCK_BYTES;
371 msg += n * SKEIN_512_BLOCK_BYTES;
818 SKEIN512_Final(unsigned char digest[static SKEIN_512_BLOCK_BYTES], SKEIN512_CTX *ctx) argument
[all...]
H A Dskein_freebsd.h33 #define SKEIN_512_BLOCK_BYTES ( 8*SKEIN_512_STATE_WORDS) macro
39 #define SKEIN512_BLOCK_LENGTH SKEIN_512_BLOCK_BYTES
H A Dskein.h64 #define SKEIN_512_BLOCK_BYTES ( 8*SKEIN_512_STATE_WORDS) macro
85 u08b_t b[SKEIN_512_BLOCK_BYTES]; /* partial block buffer (8-byte aligned) */
H A Dskein_block.c310 blkPtr += SKEIN_512_BLOCK_BYTES;

Completed in 53 milliseconds