Add comment documenting ROOT_OF_UNITY

Co-authored-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
str4d 2021-04-21 00:01:57 +01:00 committed by GitHub
parent 65ed28c661
commit 3b868bb182
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ assert (p - 1) == (1 << S) * T
tm1d2 = 0x2000000000000000000000000000000011234c7e04a67c8dcc969876
assert (T - 1) // 2 == tm1d2
// 5^T (mod p)
ROOT_OF_UNITY = 0x2bce74deac30ebda362120830561f81aea322bf2b7bb7584bdad6fabd87ea32f