We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56d554c commit 49972d1Copy full SHA for 49972d1
src/ring.rs
@@ -258,6 +258,12 @@ where
258
ring_proof::ArkTranscript::new(S::SUITE_ID),
259
)
260
}
261
+
262
+ /// Get the padding point.
263
+ #[inline(always)]
264
+ pub const fn padding_point(&self) -> AffinePoint<S> {
265
+ S::PADDING
266
+ }
267
268
269
impl<S: RingSuite> CanonicalSerialize for RingContext<S>
src/suites/bandersnatch.rs
@@ -232,6 +232,7 @@ pub mod edwards {
232
#[cfg(test)]
233
suite_tests!(BandersnatchSha512Ell2);
234
235
+ #[cfg(test)]
236
fn check_point(p: AffinePoint) {
237
assert!(p.is_on_curve());
238
assert!(p.is_in_correct_subgroup_assuming_on_curve());
0 commit comments