pub struct ExportableAuditRoot {
pub blake3_root: [u8; 32],
pub streebog_root: [u8; 32],
}Expand description
Dual-hash audit root for regulatory export (GOST R 34.11-2012 / Streebog-256). The blake3_root is the internal chain root; streebog_root is its Streebog-256 re-hash required for CBR submissions and SMEV 4 payload signatures.
Fields§
§blake3_root: [u8; 32]Internal BLAKE3 chain root (high-speed, no_std).
streebog_root: [u8; 32]GOST R 34.11-2012 (Streebog-256) re-hash of blake3_root for regulatory submissions.
Implementations§
Source§impl ExportableAuditRoot
Hex-encode a 32-byte hash to a stack-allocated String (no_std compatible).
impl ExportableAuditRoot
Hex-encode a 32-byte hash to a stack-allocated String (no_std compatible).
pub fn streebog_hex(&self) -> String
Trait Implementations§
Source§impl Clone for ExportableAuditRoot
impl Clone for ExportableAuditRoot
Source§fn clone(&self) -> ExportableAuditRoot
fn clone(&self) -> ExportableAuditRoot
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 ExportableAuditRoot
impl Debug for ExportableAuditRoot
Source§impl<'de> Deserialize<'de> for ExportableAuditRoot
impl<'de> Deserialize<'de> for ExportableAuditRoot
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 ExportableAuditRoot
impl RefUnwindSafe for ExportableAuditRoot
impl Send for ExportableAuditRoot
impl Sync for ExportableAuditRoot
impl Unpin for ExportableAuditRoot
impl UnsafeUnpin for ExportableAuditRoot
impl UnwindSafe for ExportableAuditRoot
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