Lines Matching defs:keyBytes
84 /* [identical to Skein_256_Init() when keyBytes == 0 && treeInfo == SKEIN_CFG_TREE_INFO_SEQUENTIAL] */
85 int Skein_256_InitExt(Skein_256_Ctxt_t *ctx,size_t hashBitLen,u64b_t treeInfo, const u08b_t *key, size_t keyBytes)
94 Skein_Assert(keyBytes == 0 || key != NULL,SKEIN_FAIL);
97 if (keyBytes == 0) /* is there a key? */
108 Skein_256_Update(ctx,key,keyBytes); /* hash the key */
128 Skein_Show_Key(256,&ctx->h,key,keyBytes);
282 /* [identical to Skein_512_Init() when keyBytes == 0 && treeInfo == SKEIN_CFG_TREE_INFO_SEQUENTIAL] */
283 int Skein_512_InitExt(Skein_512_Ctxt_t *ctx,size_t hashBitLen,u64b_t treeInfo, const u08b_t *key, size_t keyBytes)
292 Skein_Assert(keyBytes == 0 || key != NULL,SKEIN_FAIL);
295 if (keyBytes == 0) /* is there a key? */
306 Skein_512_Update(ctx,key,keyBytes); /* hash the key */
326 Skein_Show_Key(512,&ctx->h,key,keyBytes);
479 /* [identical to Skein1024_Init() when keyBytes == 0 && treeInfo == SKEIN_CFG_TREE_INFO_SEQUENTIAL] */
480 int Skein1024_InitExt(Skein1024_Ctxt_t *ctx,size_t hashBitLen,u64b_t treeInfo, const u08b_t *key, size_t keyBytes)
489 Skein_Assert(keyBytes == 0 || key != NULL,SKEIN_FAIL);
492 if (keyBytes == 0) /* is there a key? */
503 Skein1024_Update(ctx,key,keyBytes); /* hash the key */
523 Skein_Show_Key(1024,&ctx->h,key,keyBytes);