We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3d187e commit fafa3edCopy full SHA for fafa3ed
generic-ec-core/src/lib.rs
@@ -252,8 +252,8 @@ pub trait Reduce<const N: usize> {
252
/// Marker trait for curves whose underlying implementation doesn't allow
253
/// representing invalid points.
254
/// # Safety
255
-/// Safe to implement when the checks in `generic_ec::TryFromRaw` would always
256
-/// return 1 for any point. Those checks are:
257
-/// - `point.is_on_curve()`
258
-/// - `point.is_torsion_free()`
+/// Safe to implement when the checks for invalid points always return `true`.
+/// Those checks are:
+/// - [`OnCurve::is_on_curve`]
+/// - [`SmallFactor::is_torsion_free`]
259
pub unsafe trait NoInvalidPoints {}
0 commit comments