mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-03 20:54:41 +02:00
Changed key to size BLAKE2B_KEYBYTES
This commit is contained in:
@@ -5886,9 +5886,11 @@ static int test_wc_InitBlake2b_WithKey (void)
|
||||
#ifdef HAVE_BLAKE2
|
||||
Blake2b blake2;
|
||||
word32 digestSz = BLAKE2B_KEYBYTES;
|
||||
byte *key = (byte*)"01234567890123456789012345678901";
|
||||
byte key[BLAKE2B_KEYBYTES];
|
||||
word32 keylen = BLAKE2B_KEYBYTES;
|
||||
|
||||
|
||||
|
||||
printf(testingFmt, "wc_InitBlake2b_WithKey()");
|
||||
|
||||
/* Test good arg. */
|
||||
|
Reference in New Issue
Block a user