Skip to main content

Crate weftos_rvf_crypto

Crate weftos_rvf_crypto 

Source
Expand description

Cryptographic primitives for the RuVector Format (RVF).

Provides SHAKE-256 hashing, Ed25519 segment signing/verification, signature footer codec, and WITNESS_SEG audit-trail support.

Re-exports§

pub use attestation::attestation_witness_entry;
pub use attestation::build_attestation_witness_payload;
pub use attestation::decode_attestation_header;
pub use attestation::decode_attestation_record;
pub use attestation::decode_tee_bound_key;
pub use attestation::encode_attestation_header;
pub use attestation::encode_attestation_record;
pub use attestation::encode_tee_bound_key;
pub use attestation::verify_attestation_witness_payload;
pub use attestation::verify_key_binding;
pub use attestation::QuoteVerifier;
pub use attestation::TeeBoundKeyRecord;
pub use attestation::VerifiedAttestationEntry;
pub use hash::shake256_128;
pub use hash::shake256_256;
pub use hash::shake256_hash;
pub use lineage::compute_manifest_hash;
pub use lineage::lineage_record_from_bytes;
pub use lineage::lineage_record_to_bytes;
pub use lineage::lineage_witness_entry;
pub use lineage::verify_lineage_chain;
pub use sign::sign_segment;
pub use sign::verify_segment;
pub use dual_sign::DualKey;
pub use dual_sign::DualVerifyKey;
pub use dual_sign::MlDsa65Key;
pub use dual_sign::MlDsa65VerifyKey;
pub use dual_sign::dual_sign_segment;
pub use dual_sign::verify_dual_segment;
pub use dual_sign::sign_segment_ml_dsa;
pub use dual_sign::verify_segment_ml_dsa;
pub use witness::create_witness_chain;
pub use witness::verify_witness_chain;
pub use witness::WitnessEntry;

Modules§

attestation
Confidential Core attestation module.
dual_sign
ML-DSA-65 placeholder and dual (Ed25519 + ML-DSA-65) segment signing.
footer
Signature footer codec for RVF segments.
hash
SHAKE-256 hashing for cryptographic witness and content hashing.
lineage
Lineage witness functions for DNA-style provenance chains.
sign
Ed25519 segment signing and verification.
witness
WITNESS_SEG support for cryptographic audit trails.