pub trait MachineProvingKey<SC: StarkGenericConfig>: Send + Sync {
// Required methods
fn preprocessed_commit(&self) -> Com<SC>;
fn pc_start(&self) -> Val<SC>;
fn to_host(&self) -> StarkProvingKey<SC>;
fn from_host(host: &StarkProvingKey<SC>) -> Self;
fn observe_into(&self, challenger: &mut Challenger<SC>);
}
Expand description
A proving key for any MachineAir
that is agnostic to hardware.
Required Methods§
sourcefn preprocessed_commit(&self) -> Com<SC>
fn preprocessed_commit(&self) -> Com<SC>
The main commitment.
sourcefn to_host(&self) -> StarkProvingKey<SC>
fn to_host(&self) -> StarkProvingKey<SC>
The proving key on the host.
sourcefn from_host(host: &StarkProvingKey<SC>) -> Self
fn from_host(host: &StarkProvingKey<SC>) -> Self
The proving key on the device.
sourcefn observe_into(&self, challenger: &mut Challenger<SC>)
fn observe_into(&self, challenger: &mut Challenger<SC>)
Observe itself in the challenger.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.