pub struct SaVdfProof {
pub algorithm: u32,
pub iterations: u64,
pub cycle_count: u64,
pub output: Vec<u8>,
}Expand description
Silicon-bound VDF proof with bio-binding.
sa-vdf-proof = {
1 => uint, ; algorithm (20=hmac-sha256-puf)
2 => uint, ; iterations
3 => uint, ; cycle-count (RDTSC)
4 => bstr, ; output
}Fields§
§algorithm: u3220 = HMAC-SHA256-PUF
iterations: u64§cycle_count: u64§output: Vec<u8>Trait Implementations§
Source§impl Clone for SaVdfProof
impl Clone for SaVdfProof
Source§fn clone(&self) -> SaVdfProof
fn clone(&self) -> SaVdfProof
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SaVdfProof
impl Debug for SaVdfProof
Source§impl<'de> Deserialize<'de> for SaVdfProof
impl<'de> Deserialize<'de> for SaVdfProof
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SaVdfProof
impl RefUnwindSafe for SaVdfProof
impl Send for SaVdfProof
impl Sync for SaVdfProof
impl Unpin for SaVdfProof
impl UnsafeUnpin for SaVdfProof
impl UnwindSafe for SaVdfProof
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