Skip to content
1 viewer

rust 1,859,748 · typescript 235,215 · javascript 132,932 · python 20,426 · 6,405 files · digest 3ddca2872e6e · built in 1.4 s · crystals off

crates/cre8-app-inference-proof-api/src/lib.rs

cre8-app-inference-proof-api · module crate root · src · 828 lines (492 code, 277 comment) · sha 59ed1f84a2127bbc

Items

const PROVEN_ATTESTATION_SCHEMA_V1 const WITNESSED_ATTESTATION_SCHEMA_V1 enum Assurance enum InferenceAttestation impl InferenceAttestation enum ProvenBackend enum InputBinding impl InputBinding struct ProvenAttestation impl ProvenAttestation struct WitnessedAttestation struct AttestedResponse trait ProvableInference enum AttestationError impl Display for AttestationError impl Error for AttestationError

Functions

By call-graph weight (PageRank; 1.0 is the average function). 35 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
ProvenAttestation::is_succinctsrc/lib.rs:234method312003.7
hash_requestsrc/lib.rs:335fn61923.2
hash_responsesrc/lib.rs:346fn31612.4
canonical_jsonsrc/lib.rs:528fn183101.8
InputBinding::for_requestsrc/lib.rs:138method31611.6
sample_requestsrc/lib.rs:552fn101901.4
sample_responsesrc/lib.rs:563fn101801.4
ProvenAttestation::check_proof_digestsrc/lib.rs:264method112421.3
witness_responsesrc/lib.rs:365fn161521.2
witness_preimagesrc/lib.rs:353fn31201.2
verify_attestationsrc/lib.rs:407fn298741.1
InferenceAttestation::output_hashsrc/lib.rs:90method62201
verify_output_bindingsrc/lib.rs:446fn134320.9
InputBinding::request_hashsrc/lib.rs:144method62400.9
ProvenAttestation::is_remotely_verifiablesrc/lib.rs:247method33200.8
proven_oversrc/lib.rs:710fn171310.7
InferenceAttestation::assurancesrc/lib.rs:73method62200.7
InferenceAttestation::is_provensrc/lib.rs:83method31200.7
InputBinding::is_request_boundsrc/lib.rs:154method31100.6
InputBinding::digestsrc/lib.rs:160method51000.5
ProvableInference::max_assurancesrc/lib.rs:325trait default31000.5
AttestationError::fmtsrc/lib.rs:503trait impl209000.5
assurance_discriminates_proven_from_witnessedsrc/lib.rs:575fn392040.5
request_hash_is_order_independent_and_stablesrc/lib.rs:616fn101020.5
response_hash_binds_content_onlysrc/lib.rs:628fn81020.5
witness_preimage_excludes_signature_fieldssrc/lib.rs:638fn181010.5
witness_response_binds_request_and_responsesrc/lib.rs:658fn122050.5
verify_accepts_a_faithful_witnessed_attestationsrc/lib.rs:672fn61040.5
verify_rejects_a_tampered_responsesrc/lib.rs:680fn131040.5
verify_rejects_a_tampered_requestsrc/lib.rs:695fn131040.5
verify_proven_accepts_the_request_it_was_computed_onsrc/lib.rs:729fn91050.5
verify_proven_rejects_a_request_it_was_not_computed_onsrc/lib.rs:744fn191050.5
verify_proven_fails_closed_on_a_program_bindingsrc/lib.rs:768fn171050.5
input_binding_is_explicit_on_the_wiresrc/lib.rs:790fn181050.5
attestation_round_trips_with_class_tagsrc/lib.rs:810fn181000.5

Source not readable from this process.