Skip to content

Commit be68ba4

Browse files
authored
Merge pull request #7676 from SparkiDev/dilithium_opt_1
Dilithium: C code optimized
2 parents 0900e00 + a094831 commit be68ba4

3 files changed

Lines changed: 497 additions & 73 deletions

File tree

tests/api.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27554,12 +27554,12 @@ static int test_wc_dilithium(void)
2755427554
!defined(WOLFSSL_DILITHIUM_NO_SIGN)
2755527555
WC_RNG rng;
2755627556
#endif
27557-
#ifndef WOLFSSL_DILITHIUM_NO_SIGN
2755827557
byte* privKey = NULL;
27558+
#ifndef WOLFSSL_DILITHIUM_NO_SIGN
2755927559
word32 privKeyLen = DILITHIUM_MAX_KEY_SIZE;
2756027560
#endif
27561-
#ifndef WOLFSSL_DILITHIUM_NO_VERIFY
2756227561
byte* pubKey = NULL;
27562+
#ifndef WOLFSSL_DILITHIUM_NO_VERIFY
2756327563
word32 pubKeyLen = DILITHIUM_MAX_PUB_KEY_SIZE;
2756427564
#endif
2756527565

0 commit comments

Comments
 (0)