Update comment to say 7 is the primitive root (#374)
* Update comment to say 7 is the primitive root * Remove 5 from list
This commit is contained in:
parent
b2e41491ad
commit
a1d0380305
|
@ -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.
|
* 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
|
* 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:
|
* Generally, there are a lot of primitive roots:
|
||||||
* https://crypto.stanford.edu/pbc/notes/numbertheory/gen.html
|
* https://crypto.stanford.edu/pbc/notes/numbertheory/gen.html
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue