mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +00:00
Hide the underlying ExtendedPoint from a Ristretto point
This commit is contained in:
parent
a9f8789524
commit
0cb70ae032
1 changed files with 1 additions and 1 deletions
|
|
@ -560,7 +560,7 @@ impl<'de> Deserialize<'de> for RistrettoPoint {
|
|||
/// `ExtendedPoint`, with custom equality, compression, and
|
||||
/// decompression routines to account for the quotient.
|
||||
#[derive(Copy, Clone)]
|
||||
pub struct RistrettoPoint(pub ExtendedPoint);
|
||||
pub struct RistrettoPoint(pub(crate) ExtendedPoint);
|
||||
|
||||
impl RistrettoPoint {
|
||||
/// Compress in Ristretto format.
|
||||
|
|
|
|||
Loading…
Reference in a new issue