Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/openzfs/module/icp/algs/skein/
H A Dskein.c158 if (ctx->h.bCnt) { in Skein_256_Update()
167 ctx->h.bCnt += n; in Skein_256_Update()
172 ctx->h.bCnt = 0; in Skein_256_Update()
193 ctx->h.bCnt += msgByteCnt; in Skein_256_Update()
212 bzero(&ctx->b[ctx->h.bCnt], in Skein_256_Final()
394 if (ctx->h.bCnt) { in Skein_512_Update()
403 ctx->h.bCnt += n; in Skein_512_Update()
408 ctx->h.bCnt = 0; in Skein_512_Update()
627 if (ctx->h.bCnt) { in Skein1024_Update()
636 ctx->h.bCnt += n; in Skein1024_Update()
[all …]
H A Dskein_port.h53 #define Skein_Put64_LSB_First(dst08, src64, bCnt) bcopy(src64, dst08, bCnt) argument
81 Skein_Put64_LSB_First(uint8_t *dst, const uint64_t *src, size_t bCnt) in Skein_Put64_LSB_First() argument
89 for (n = 0; n < bCnt; n++) in Skein_Put64_LSB_First()
H A Dskein_impl.h168 (ctxPtr)->h.bCnt = 0; \
/f-stack/freebsd/crypto/skein/
H A Dskein.c161 ctx->h.bCnt += n; in Skein_256_Update()
165 ctx->h.bCnt = 0; in Skein_256_Update()
183 ctx->h.bCnt += msgByteCnt; in Skein_256_Update()
199 memset(&ctx->b[ctx->h.bCnt],0,SKEIN_256_BLOCK_BYTES - ctx->h.bCnt); in Skein_256_Final()
363 ctx->h.bCnt = 0; in Skein_512_Update()
397 memset(&ctx->b[ctx->h.bCnt],0,SKEIN_512_BLOCK_BYTES - ctx->h.bCnt); in Skein_512_Final()
560 ctx->h.bCnt = 0; in Skein1024_Update()
594 memset(&ctx->b[ctx->h.bCnt],0,SKEIN1024_BLOCK_BYTES - ctx->h.bCnt); in Skein1024_Final()
638 memset(&ctx->b[ctx->h.bCnt],0,SKEIN_256_BLOCK_BYTES - ctx->h.bCnt); in Skein_256_Final_Pad()
654 memset(&ctx->b[ctx->h.bCnt],0,SKEIN_512_BLOCK_BYTES - ctx->h.bCnt); in Skein_512_Final_Pad()
[all …]
H A Dskein_port.h60 void Skein_Put64_LSB_First(u08b_t *dst,const u64b_t *src,size_t bCnt);
66 #define Skein_Put64_LSB_First(dst08,src64,bCnt) memcpy(dst08,src64,bCnt)
89 void Skein_Put64_LSB_First(u08b_t *dst,const u64b_t *src,size_t bCnt) in Skein_Put64_LSB_First() argument
94 for (n = 0; n < bCnt / 8; n++) in Skein_Put64_LSB_First()
H A Dskein.h70 size_t bCnt; /* current byte count in buffer b[] */ member
247 …Skein_Set_T0_T1(ctxPtr,0,SKEIN_T1_FLAG_FIRST | SKEIN_T1_BLK_TYPE_##BLK_TYPE); (ctxPtr)->h.bCnt=0; }
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dskein.h64 size_t bCnt; /* current byte count in buffer b[] */ member