Lines Matching refs:keyBytes
91 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()
561 const uint8_t *key, size_t keyBytes) in Skein1024_InitExt() argument
569 Skein_Assert(keyBytes == 0 || key != NULL, SKEIN_FAIL); in Skein1024_InitExt()
572 if (keyBytes == 0) { /* is there a key? */ in Skein1024_InitExt()
584 (void) Skein1024_Update(ctx, key, keyBytes); /* hash the key */ in Skein1024_InitExt()
612 Skein_Show_Key(1024, &ctx->h, key, keyBytes); in Skein1024_InitExt()