Fix typos

This commit is contained in:
Dimitris Apostolou 2020-09-01 20:45:20 +03:00
parent 4c9a05ba74
commit c0444f8c31
No known key found for this signature in database
GPG Key ID: 4B5D20E938204A8A
3 changed files with 3 additions and 3 deletions

View File

@ -209,7 +209,7 @@ impl Fp {
//
// and computing their sum in the field. It remains to see that arbitrary 256-bit
// numbers can be placed into Montgomery form safely using the reduction. The
// reduction works so long as the product is less than R=2^256 multipled by
// reduction works so long as the product is less than R=2^256 multiplied by
// the modulus. This holds because for any `c` smaller than the modulus, we have
// that (2^256 - 1)*c is an acceptable product for the reduction. Therefore, the
// reduction always works so long as `c` is in the field; in this case it is either the

View File

@ -224,7 +224,7 @@ impl Fq {
//
// and computing their sum in the field. It remains to see that arbitrary 256-bit
// numbers can be placed into Montgomery form safely using the reduction. The
// reduction works so long as the product is less than R=2^256 multipled by
// reduction works so long as the product is less than R=2^256 multiplied by
// the modulus. This holds because for any `c` smaller than the modulus, we have
// that (2^256 - 1)*c is an acceptable product for the reduction. Therefore, the
// reduction always works so long as `c` is in the field; in this case it is either the

View File

@ -310,7 +310,7 @@ impl<C: CurveAffine> Params<C> {
blind += &(r_randomness * &challenge_sq_inv);
}
// We have fully colapsed `a`, `b`, `G`
// We have fully collapsed `a`, `b`, `G`
assert_eq!(a.len(), 1);
let a = a[0];
assert_eq!(b.len(), 1);