mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-04 20:03:40 +00:00
Update wording on Scalar::invert to use self
This commit is contained in:
parent
b70b32a0c5
commit
0ab60b93ee
1 changed files with 2 additions and 2 deletions
|
|
@ -522,11 +522,11 @@ impl Scalar {
|
|||
Scalar{ bytes: s_bytes }
|
||||
}
|
||||
|
||||
/// Compute the multiplicative inverse of this scalar.
|
||||
/// Given a nonzero `Scalar`, compute its multiplicative inverse.
|
||||
///
|
||||
/// # Warning
|
||||
///
|
||||
/// All input `Scalars` **MUST** be nonzero. If you cannot
|
||||
/// `self` **MUST** be nonzero. If you cannot
|
||||
/// *prove* that this is the case, you **SHOULD NOT USE THIS
|
||||
/// FUNCTION**.
|
||||
///
|
||||
|
|
|
|||
Loading…
Reference in a new issue