Home
last modified time | relevance | path

Searched refs:keyBytes (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/common/crypto/skein/
H A Dskein.c91 const uint8_t *key, size_t keyBytes) in Skein_256_InitExt() argument
99 Skein_Assert(keyBytes == 0 || key != NULL, SKEIN_FAIL); in Skein_256_InitExt()
102 if (keyBytes == 0) { /* is there a key? */ in Skein_256_InitExt()
116 (void) Skein_256_Update(ctx, key, keyBytes); in Skein_256_InitExt()
143 Skein_Show_Key(256, &ctx->h, key, keyBytes); in Skein_256_InitExt()
328 const uint8_t *key, size_t keyBytes) in Skein_512_InitExt() argument
336 Skein_Assert(keyBytes == 0 || key != NULL, SKEIN_FAIL); in Skein_512_InitExt()
339 if (keyBytes == 0) { /* is there a key? */ in Skein_512_InitExt()
352 (void) Skein_512_Update(ctx, key, keyBytes); /* hash the key */ in Skein_512_InitExt()
379 Skein_Show_Key(512, &ctx->h, key, keyBytes); in Skein_512_InitExt()
[all …]
H A Dskein_impl.h202 #define Skein_Show_Key(bits, ctx, key, keyBytes) argument
/illumos-gate/usr/src/uts/common/sys/
H A Dskein.h116 uint64_t treeInfo, const uint8_t *key, size_t keyBytes);
118 uint64_t treeInfo, const uint8_t *key, size_t keyBytes);
120 uint64_t treeInfo, const uint8_t *key, size_t keyBytes);