wrong variable.

pull/347/head
Anthony Hu 2022-11-25 12:13:28 -05:00
parent cf2c577177
commit 3b138a86b4
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ diff -u pqm4_kyber512.old/randombytes.c pqm4_kyber512/randombytes.c
-# error "randombytes(...) is not supported on this platform"
+ #warning randombytes() is not supported on this platform!
+ for (size_t i = 0; i < n; i++) {
+ buf[i] = (uint8_t)i;
+ output[i] = (uint8_t)i;
+ }
+ return 0;
#endif