Skip to content

Commit 3b138a8

Browse files
committed
wrong variable.
1 parent cf2c577 commit 3b138a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pq/stm32/setup_kyber.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ diff -u pqm4_kyber512.old/randombytes.c pqm4_kyber512/randombytes.c
1717
-# error "randombytes(...) is not supported on this platform"
1818
+ #warning randombytes() is not supported on this platform!
1919
+ for (size_t i = 0; i < n; i++) {
20-
+ buf[i] = (uint8_t)i;
20+
+ output[i] = (uint8_t)i;
2121
+ }
2222
+ return 0;
2323
#endif

0 commit comments

Comments
 (0)