Home
last modified time | relevance | path

Searched refs:hashBitLen (Results 1 – 5 of 5) sorted by relevance

/f-stack/freebsd/contrib/openzfs/module/icp/algs/skein/
H A Dskein.c24 ctx->h.hashBitLen = hashBitLen; /* output hash bit count */ in Skein_256_Init()
53 cfg.w[1] = Skein_Swap64(hashBitLen); in Skein_256_Init()
124 ctx->h.hashBitLen = hashBitLen; /* output hash bit count */ in Skein_256_InitExt()
220 byteCnt = (ctx->h.hashBitLen + 7) >> 3; in Skein_256_Final()
260 ctx->h.hashBitLen = hashBitLen; /* output hash bit count */ in Skein_512_Init()
289 cfg.w[1] = Skein_Swap64(hashBitLen); in Skein_512_Init()
360 ctx->h.hashBitLen = hashBitLen; /* output hash bit count */ in Skein_512_InitExt()
496 ctx->h.hashBitLen = hashBitLen; /* output hash bit count */ in Skein1024_Init()
522 cfg.w[1] = Skein_Swap64(hashBitLen); in Skein1024_Init()
592 ctx->h.hashBitLen = hashBitLen; /* output hash bit count */ in Skein1024_InitExt()
[all …]
/f-stack/freebsd/crypto/skein/
H A Dskein.c49 Skein_Assert(hashBitLen > 0,SKEIN_BAD_HASHLEN); in Skein_256_Init()
50 ctx->h.hashBitLen = hashBitLen; /* output hash bit count */ in Skein_256_Init()
52 switch (hashBitLen) in Skein_256_Init()
93 Skein_Assert(hashBitLen > 0,SKEIN_BAD_HASHLEN); in Skein_256_InitExt()
120 ctx->h.hashBitLen = hashBitLen; /* output hash bit count */ in Skein_256_InitExt()
247 ctx->h.hashBitLen = hashBitLen; /* output hash bit count */ in Skein_512_Init()
249 switch (hashBitLen) in Skein_512_Init()
318 ctx->h.hashBitLen = hashBitLen; /* output hash bit count */ in Skein_512_InitExt()
445 ctx->h.hashBitLen = hashBitLen; /* output hash bit count */ in Skein1024_Init()
447 switch (hashBitLen) in Skein1024_Init()
[all …]
H A Dskein.h69 size_t hashBitLen; /* size of hash result, in bits */ member
96 int Skein_256_Init (Skein_256_Ctxt_t *ctx, size_t hashBitLen);
97 int Skein_512_Init (Skein_512_Ctxt_t *ctx, size_t hashBitLen);
98 int Skein1024_Init (Skein1024_Ctxt_t *ctx, size_t hashBitLen);
122 int Skein_256_InitExt(Skein_256_Ctxt_t *ctx, size_t hashBitLen, u64b_t treeInfo, const u08b_t *key…
123 int Skein_512_InitExt(Skein_512_Ctxt_t *ctx, size_t hashBitLen, u64b_t treeInfo, const u08b_t *key…
124 int Skein1024_InitExt(Skein1024_Ctxt_t *ctx, size_t hashBitLen, u64b_t treeInfo, const u08b_t *key…
H A Dskein_debug.c183 …printf("\n%s Block: outBits=%4d. T0=%06X.",AlgoHeader(bits),(uint_t) h->hashBitLen,(uint_t)h->T[0]… in Skein_Show_Block()
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dskein.h63 size_t hashBitLen; /* size of hash result, in bits */ member
91 int Skein_256_Init(Skein_256_Ctxt_t *ctx, size_t hashBitLen);
92 int Skein_512_Init(Skein_512_Ctxt_t *ctx, size_t hashBitLen);
93 int Skein1024_Init(Skein1024_Ctxt_t *ctx, size_t hashBitLen);
120 int Skein_256_InitExt(Skein_256_Ctxt_t *ctx, size_t hashBitLen,
122 int Skein_512_InitExt(Skein_512_Ctxt_t *ctx, size_t hashBitLen,
124 int Skein1024_InitExt(Skein1024_Ctxt_t *ctx, size_t hashBitLen,