mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +00:00
Merge pull request #274 from 3for/comment-fix
`curve_models` Comment fix
This commit is contained in:
commit
68b71578af
2 changed files with 4 additions and 1 deletions
|
|
@ -84,7 +84,7 @@
|
|||
//! successful decompression of a compressed point, or else by
|
||||
//! operations on other (valid) `EdwardsPoint`s.
|
||||
//!
|
||||
//! [curve_models]: https://doc-internal.dalek.rs/curve25519_dalek/curve_models/index.html
|
||||
//! [curve_models]: https://doc-internal.dalek.rs/curve25519_dalek/backend/serial/curve_models/index.html
|
||||
|
||||
// We allow non snake_case names because coordinates in projective space are
|
||||
// traditionally denoted by the capitalisation of their respective
|
||||
|
|
|
|||
|
|
@ -154,6 +154,9 @@ impl FieldElement {
|
|||
acc = &acc * input;
|
||||
}
|
||||
|
||||
// acc is nonzero iff all inputs are nonzero
|
||||
assert_eq!(acc.is_zero().unwrap_u8(), 0);
|
||||
|
||||
// Compute the inverse of all products
|
||||
acc = acc.invert();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue