Matching to latest test vectors with metadata mode (#3)
This commit is contained in:
+7
-2
@@ -149,12 +149,17 @@ impl Group for ProjectivePoint {
|
||||
self * &Self::Scalar::from_bytes_reduced(scalar)
|
||||
}
|
||||
|
||||
fn is_identity(&self) -> bool {
|
||||
self == &Self::identity()
|
||||
fn identity() -> Self {
|
||||
Self::identity()
|
||||
}
|
||||
|
||||
fn ct_equal(&self, other: &Self) -> bool {
|
||||
self.ct_eq(other).into()
|
||||
}
|
||||
|
||||
fn ct_equal_scalar(s1: &Self::Scalar, s2: &Self::Scalar) -> bool {
|
||||
s1.ct_eq(s2).into()
|
||||
}
|
||||
}
|
||||
|
||||
/// Corresponds to the map_to_curve_simple_swu() function defined in
|
||||
|
||||
Reference in New Issue
Block a user