From adc3c9c2ea9236cba2f50df03ad924724a87ac90 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Sun, 17 Jan 2021 01:52:49 +0000 Subject: [PATCH] Fix incorrect variable name in a comment. Co-authored-by: str4d --- src/arithmetic/fields.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arithmetic/fields.rs b/src/arithmetic/fields.rs index c8f7916..584829a 100644 --- a/src/arithmetic/fields.rs +++ b/src/arithmetic/fields.rs @@ -224,7 +224,7 @@ impl SqrtTables { // * [Sarkar2020](https://eprint.iacr.org/2020/1407) // * [BDLSY2012](https://cr.yp.to/papers.html#ed25519) // - // We need to calculate uv and v, where v = u^((m-1)/2), u = num/div, and p-1 = T * 2^S. + // We need to calculate uv and v, where v = u^((T-1)/2), u = num/div, and p-1 = T * 2^S. // We can rewrite as follows: // // v = (num/div)^((T-1)/2)