Searched refs:hashBitLen (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/
H A Dskein.h58 size_t hashBitLen; /* size of hash result, in bits */ member in struct:__anon471
86 int Skein_256_Init(Skein_256_Ctxt_t *ctx, size_t hashBitLen);
87 int Skein_512_Init(Skein_512_Ctxt_t *ctx, size_t hashBitLen);
88 int Skein1024_Init(Skein1024_Ctxt_t *ctx, size_t hashBitLen);
109 * a given hashBitLen value, then by saving a copy of the context
115 int Skein_256_InitExt(Skein_256_Ctxt_t *ctx, size_t hashBitLen,
117 int Skein_512_InitExt(Skein_512_Ctxt_t *ctx, size_t hashBitLen,
119 int Skein1024_InitExt(Skein1024_Ctxt_t *ctx, size_t hashBitLen,
/illumos-gate/usr/src/common/crypto/skein/
H A Dskein.c26 Skein_256_Init(Skein_256_Ctxt_t *ctx, size_t hashBitLen) argument
33 Skein_Assert(hashBitLen > 0, SKEIN_BAD_HASHLEN);
34 ctx->h.hashBitLen = hashBitLen; /* output hash bit count */
36 switch (hashBitLen) { /* use pre-computed values, where available */
63 cfg.w[1] = Skein_Swap64(hashBitLen);
76 * hashBitLen.
90 Skein_256_InitExt(Skein_256_Ctxt_t *ctx, size_t hashBitLen, uint64_t treeInfo, argument
98 Skein_Assert(hashBitLen > 0, SKEIN_BAD_HASHLEN);
110 ctx->h.hashBitLen
262 Skein_512_Init(Skein_512_Ctxt_t *ctx, size_t hashBitLen) argument
327 Skein_512_InitExt(Skein_512_Ctxt_t *ctx, size_t hashBitLen, uint64_t treeInfo, const uint8_t *key, size_t keyBytes) argument
498 Skein1024_Init(Skein1024_Ctxt_t *ctx, size_t hashBitLen) argument
560 Skein1024_InitExt(Skein1024_Ctxt_t *ctx, size_t hashBitLen, uint64_t treeInfo, const uint8_t *key, size_t keyBytes) argument
[all...]

Completed in 78 milliseconds