Lines Matching refs:keyBytes
83 …nitExt(Skein_256_Ctxt_t *ctx,size_t hashBitLen,u64b_t treeInfo, const u08b_t *key, size_t keyBytes) in Skein_256_InitExt() argument
92 Skein_Assert(keyBytes == 0 || key != NULL,SKEIN_FAIL); in Skein_256_InitExt()
95 if (keyBytes == 0) /* is there a key? */ in Skein_256_InitExt()
106 Skein_256_Update(ctx,key,keyBytes); /* hash the key */ in Skein_256_InitExt()
126 Skein_Show_Key(256,&ctx->h,key,keyBytes); in Skein_256_InitExt()
281 …nitExt(Skein_512_Ctxt_t *ctx,size_t hashBitLen,u64b_t treeInfo, const u08b_t *key, size_t keyBytes) in Skein_512_InitExt() argument
290 Skein_Assert(keyBytes == 0 || key != NULL,SKEIN_FAIL); in Skein_512_InitExt()
293 if (keyBytes == 0) /* is there a key? */ in Skein_512_InitExt()
304 Skein_512_Update(ctx,key,keyBytes); /* hash the key */ in Skein_512_InitExt()
324 Skein_Show_Key(512,&ctx->h,key,keyBytes); in Skein_512_InitExt()
478 …nitExt(Skein1024_Ctxt_t *ctx,size_t hashBitLen,u64b_t treeInfo, const u08b_t *key, size_t keyBytes) in Skein1024_InitExt() argument
487 Skein_Assert(keyBytes == 0 || key != NULL,SKEIN_FAIL); in Skein1024_InitExt()
490 if (keyBytes == 0) /* is there a key? */ in Skein1024_InitExt()
501 Skein1024_Update(ctx,key,keyBytes); /* hash the key */ in Skein1024_InitExt()
521 Skein_Show_Key(1024,&ctx->h,key,keyBytes); in Skein1024_InitExt()