mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-07 20:50:39 +00:00
Remove comment on non-canonical encodings in CompressedMontgomeryU.decompress().
This commit is contained in:
parent
4965238b5a
commit
d39e47ff11
1 changed files with 0 additions and 1 deletions
|
|
@ -120,7 +120,6 @@ impl CompressedMontgomeryU {
|
||||||
/// A projective `MontgomeryPoint` corresponding to this compressed point.
|
/// A projective `MontgomeryPoint` corresponding to this compressed point.
|
||||||
pub fn decompress(&self) -> MontgomeryPoint {
|
pub fn decompress(&self) -> MontgomeryPoint {
|
||||||
MontgomeryPoint{
|
MontgomeryPoint{
|
||||||
// XXX is it a problem here if we're not using a canonical encoding? —isis
|
|
||||||
U: FieldElement::from_bytes(&self.0),
|
U: FieldElement::from_bytes(&self.0),
|
||||||
W: FieldElement::one(),
|
W: FieldElement::one(),
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue