From a1d03803059471948e518820afa8518643e1b638 Mon Sep 17 00:00:00 2001 From: Justin Traglia <95511699+jtraglia@users.noreply.github.com> Date: Thu, 5 Oct 2023 11:19:14 -0500 Subject: [PATCH] Update comment to say 7 is the primitive root (#374) * Update comment to say 7 is the primitive root * Remove 5 from list --- src/c_kzg_4844.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c_kzg_4844.c b/src/c_kzg_4844.c index 938ab81..2f65eb3 100644 --- a/src/c_kzg_4844.c +++ b/src/c_kzg_4844.c @@ -110,7 +110,7 @@ static const g1_t G1_IDENTITY = { * * In the formula above, the restriction can be slightly relaxed to `r` being a non-square. * This is easy to check: We just require that r^((q-1)/2) == -1. Instead of - * 5, we could use 7, 10, 13, 14, 15, 20... to create the 2^i'th roots of unity below. + * 7, we could use 10, 13, 14, 15, 20... to create the 2^i'th roots of unity below. * Generally, there are a lot of primitive roots: * https://crypto.stanford.edu/pbc/notes/numbertheory/gen.html */