wrong variable.
parent
cf2c577177
commit
3b138a86b4
|
@ -17,7 +17,7 @@ diff -u pqm4_kyber512.old/randombytes.c pqm4_kyber512/randombytes.c
|
||||||
-# error "randombytes(...) is not supported on this platform"
|
-# error "randombytes(...) is not supported on this platform"
|
||||||
+ #warning randombytes() is not supported on this platform!
|
+ #warning randombytes() is not supported on this platform!
|
||||||
+ for (size_t i = 0; i < n; i++) {
|
+ for (size_t i = 0; i < n; i++) {
|
||||||
+ buf[i] = (uint8_t)i;
|
+ output[i] = (uint8_t)i;
|
||||||
+ }
|
+ }
|
||||||
+ return 0;
|
+ return 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue