mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +00:00
Add PartialEq derive to PublicKey
Derives from the PartialEq impl for MontgomeryPoint
This commit is contained in:
parent
d438d486fd
commit
48df927d7b
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ use zeroize::Zeroize;
|
|||
feature = "serde",
|
||||
derive(our_serde::Serialize, our_serde::Deserialize)
|
||||
)]
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
#[derive(PartialEq, Copy, Clone, Debug)]
|
||||
pub struct PublicKey(pub(crate) MontgomeryPoint);
|
||||
|
||||
impl From<[u8; 32]> for PublicKey {
|
||||
|
|
|
|||
Loading…
Reference in a new issue