mirror of https://github.com/zcash/halo2.git
Fix typos
This commit is contained in:
parent
4c9a05ba74
commit
c0444f8c31
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue