From 3b138a86b4be09bfc56de1f23914d505ce1bbc6c Mon Sep 17 00:00:00 2001 From: Anthony Hu Date: Fri, 25 Nov 2022 12:13:28 -0500 Subject: [PATCH] wrong variable. --- pq/stm32/setup_kyber.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pq/stm32/setup_kyber.patch b/pq/stm32/setup_kyber.patch index 9ee38b42..7e1ec96a 100644 --- a/pq/stm32/setup_kyber.patch +++ b/pq/stm32/setup_kyber.patch @@ -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