Searched refs:keyBytes (Results 1 – 7 of 7) sorted by relevance
| /f-stack/freebsd/contrib/openzfs/module/icp/algs/skein/ |
| H A D | skein.c | 81 const uint8_t *key, size_t keyBytes) in Skein_256_InitExt() argument 89 Skein_Assert(keyBytes == 0 || key != NULL, SKEIN_FAIL); in Skein_256_InitExt() 92 if (keyBytes == 0) { /* is there a key? */ in Skein_256_InitExt() 106 (void) Skein_256_Update(ctx, key, keyBytes); in Skein_256_InitExt() 133 Skein_Show_Key(256, &ctx->h, key, keyBytes); in Skein_256_InitExt() 318 const uint8_t *key, size_t keyBytes) in Skein_512_InitExt() argument 329 if (keyBytes == 0) { /* is there a key? */ in Skein_512_InitExt() 369 Skein_Show_Key(512, &ctx->h, key, keyBytes); in Skein_512_InitExt() 551 const uint8_t *key, size_t keyBytes) in Skein1024_InitExt() argument 562 if (keyBytes == 0) { /* is there a key? */ in Skein1024_InitExt() [all …]
|
| H A D | skein_impl.h | 197 #define Skein_Show_Key(bits, ctx, key, keyBytes) argument
|
| /f-stack/freebsd/crypto/skein/ |
| H A D | skein.c | 94 Skein_Assert(keyBytes == 0 || key != NULL,SKEIN_FAIL); in Skein_256_InitExt() 97 if (keyBytes == 0) /* is there a key? */ in Skein_256_InitExt() 108 Skein_256_Update(ctx,key,keyBytes); /* hash the key */ in Skein_256_InitExt() 128 Skein_Show_Key(256,&ctx->h,key,keyBytes); in Skein_256_InitExt() 292 Skein_Assert(keyBytes == 0 || key != NULL,SKEIN_FAIL); in Skein_512_InitExt() 295 if (keyBytes == 0) /* is there a key? */ in Skein_512_InitExt() 306 Skein_512_Update(ctx,key,keyBytes); /* hash the key */ in Skein_512_InitExt() 326 Skein_Show_Key(512,&ctx->h,key,keyBytes); in Skein_512_InitExt() 489 Skein_Assert(keyBytes == 0 || key != NULL,SKEIN_FAIL); in Skein1024_InitExt() 503 Skein1024_Update(ctx,key,keyBytes); /* hash the key */ in Skein1024_InitExt() [all …]
|
| H A D | skein_debug.c | 237 void Skein_Show_Key(uint_t bits,const Skein_Ctxt_Hdr_t *h,const u08b_t *key,size_t keyBytes) in Skein_Show_Key() argument 239 if (keyBytes) in Skein_Show_Key() 243 printf("\n%s MAC key = %4u bytes\n",AlgoHeader(bits),(unsigned) keyBytes); in Skein_Show_Key() 244 Show08(keyBytes,key); in Skein_Show_Key()
|
| H A D | skein.h | 122 …Ext(Skein_256_Ctxt_t *ctx, size_t hashBitLen, u64b_t treeInfo, const u08b_t *key, size_t keyBytes); 123 …Ext(Skein_512_Ctxt_t *ctx, size_t hashBitLen, u64b_t treeInfo, const u08b_t *key, size_t keyBytes); 124 …Ext(Skein1024_Ctxt_t *ctx, size_t hashBitLen, u64b_t treeInfo, const u08b_t *key, size_t keyBytes); 264 #define Skein_Show_Key(bits,ctx,key,keyBytes) argument
|
| H A D | skein_debug.h | 20 void Skein_Show_Key (uint_t bits,const Skein_Ctxt_Hdr_t *h,const u08b_t *key,size_t keyBytes);
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | skein.h | 121 uint64_t treeInfo, const uint8_t *key, size_t keyBytes); 123 uint64_t treeInfo, const uint8_t *key, size_t keyBytes); 125 uint64_t treeInfo, const uint8_t *key, size_t keyBytes);
|