pub struct SecretRecovery {
pub e0: Curve2,
pub basis_a: (Point2, Point2),
pub basis_b: (Point2, Point2),
pub images: (Point2, Point2),
pub ell: u64,
pub a: u32,
pub secret: BigInt,
pub generator: Point2,
pub path: Vec<IsogenyStep2>,
pub laws: Vec<RecoveryLaw>,
}Expand description
A recovered SIDH secret together with the self-checking record of the laws its recovery invoked. The
certificate carries everything needed to re-derive itself: verify re-runs
every law from scratch, trusting nothing about how the answer was produced. This is the auto-formalizing
recovery — it inverts images → generator and emits the re-checkable mathematics it stands on.
Fields§
§e0: Curve2§basis_a: (Point2, Point2)§basis_b: (Point2, Point2)§images: (Point2, Point2)§ell: u64§a: u32§secret: BigInt§generator: Point2§path: Vec<IsogenyStep2>§laws: Vec<RecoveryLaw>Implementations§
Trait Implementations§
Source§impl Clone for SecretRecovery
impl Clone for SecretRecovery
Source§fn clone(&self) -> SecretRecovery
fn clone(&self) -> SecretRecovery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SecretRecovery
impl RefUnwindSafe for SecretRecovery
impl Send for SecretRecovery
impl Sync for SecretRecovery
impl Unpin for SecretRecovery
impl UnsafeUnpin for SecretRecovery
impl UnwindSafe for SecretRecovery
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more