mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-05 20:30:57 +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 }
|
Scalar{ bytes: s_bytes }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Compute the multiplicative inverse of this scalar.
|
/// Given a nonzero `Scalar`, compute its multiplicative inverse.
|
||||||
///
|
///
|
||||||
/// # Warning
|
/// # 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
|
/// *prove* that this is the case, you **SHOULD NOT USE THIS
|
||||||
/// FUNCTION**.
|
/// FUNCTION**.
|
||||||
///
|
///
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue