Fix incorrect variable name in a comment.

Co-authored-by: str4d <thestr4d@gmail.com>
This commit is contained in:
Daira Hopwood 2021-01-17 01:52:49 +00:00 committed by GitHub
parent 288a21ef1e
commit adc3c9c2ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ impl<F: FieldExt> SqrtTables<F> {
// * [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)