Skip to main content

max / everycycle

706 B · 21 lines History Blame Raw
1 #![allow(clippy::doc_markdown, clippy::missing_errors_doc)]
2
3 //! EveryCycle GPU appraisal: probe runner, canonical serializer, signer.
4 //!
5 //! Format and signing land here. Real probes live alongside, but the
6 //! contract this crate enforces is: a `CapabilityVector` produced by any
7 //! probe can be packaged into a signed `CardReport`, and the signature
8 //! survives a round-trip through a canonical JSON encoding.
9
10 pub mod canonical;
11 pub mod enumerate;
12 pub mod host;
13 pub mod probe;
14 pub mod sign;
15
16 pub use canonical::{CanonicalError, canonical_json};
17 pub use sign::{
18 SignError, TenantKey, VerifyError, box_payload_hash, sign_box_report, sign_card_report,
19 verify_box_report, verify_card_report,
20 };
21