mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +00:00
Derive of Hash trait to CompressedRistretto
This commit is contained in:
parent
805cdbfd3c
commit
d57fb6caeb
1 changed files with 1 additions and 1 deletions
|
|
@ -208,7 +208,7 @@ use backend::vector::scalar_mul;
|
|||
///
|
||||
/// The Ristretto encoding is canonical, so two points are equal if and
|
||||
/// only if their encodings are equal.
|
||||
#[derive(Copy, Clone, Eq, PartialEq)]
|
||||
#[derive(Copy, Clone, Eq, PartialEq, Hash)]
|
||||
pub struct CompressedRistretto(pub [u8; 32]);
|
||||
|
||||
impl ConstantTimeEq for CompressedRistretto {
|
||||
|
|
|
|||
Loading…
Reference in a new issue