Skip to content
1 viewer

rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off

crates/cre8-app-radio/src/capsule.rs

cre8-app-radio · module capsule · src · 1,183 lines (940 code, 144 comment) · sha a535726b02150b20

Items

const BASIS_LEAF_DOMAIN const BASIS_INNER_DOMAIN const BASIS_EMPTY_DOMAIN const PUBLIC_INPUT_DOMAIN const CAPSULE_KIND const WITNESS_KIND const BUNDLE_LEAF_DOMAIN const BUNDLE_INNER_DOMAIN const BUNDLE_EMPTY_DOMAIN const BUNDLE_ROOT_DOMAIN const BUNDLE_KIND const BUNDLE_WITNESS_KIND struct RadioCapsule struct TargetFile struct BasisFile struct CapsuleSegment enum CapsuleVerification struct CapsuleReplay impl CapsuleReplay struct LocalCapsuleBasis struct RadioCapsuleBundle struct BundleMember enum BundleVerification

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
build_capsulesrc/capsule.rs:188fn7141342.8
segmentsrc/capsule.rs:811fn311002.1
replay_capsule_payloadsrc/capsule.rs:422fn354431.7
build_capsule_bundlesrc/capsule.rs:606fn505751.6
basis_merkle_rootsrc/capsule.rs:114fn205431.6
public_input_commitmentsrc/capsule.rs:135fn71401.6
decode_hex32src/capsule.rs:143fn113301.4
verify_capsulesrc/capsule.rs:380fn346751.3
build_membersrc/capsule.rs:987fn81621.2
voice_takesrc/capsule.rs:815fn151701.2
ctx_with_graphsrc/capsule.rs:839fn81931.1
basis_leaf_hashsrc/capsule.rs:93fn81100.9
basis_inner_hashsrc/capsule.rs:102fn71100.9
basis_empty_hashsrc/capsule.rs:110fn31110.9
capsule_sub_rootsrc/capsule.rs:531fn102230.9
bundle_leaf_hashsrc/capsule.rs:542fn81200.9
bundle_merkle_rootsrc/capsule.rs:567fn205220.9
bundle_public_input_commitmentsrc/capsule.rs:591fn102200.9
bundle_inner_hashsrc/capsule.rs:551fn71100.9
bundle_empty_hashsrc/capsule.rs:559fn31110.9
fresh_protocol_graphsrc/capsule.rs:831fn71110.8
verify_capsule_bundlesrc/capsule.rs:755fn306430.8
recompute_bundle_structuresrc/capsule.rs:660fn8910150.7
capsule_target_for_verificationsrc/capsule.rs:268fn264100.7
target_sha32_for_verificationsrc/capsule.rs:295fn61110.7
collect_local_capsule_basissrc/capsule.rs:302fn414130.7
verify_replayed_targetsrc/capsule.rs:344fn294110.7
recomputed_capsule_witnesssrc/capsule.rs:374fn51130.7
import_member_takessrc/capsule.rs:996fn81320.7
CapsuleReplay::primary_audio_formatsrc/capsule.rs:179method31100.6
capsule_to_jsonsrc/capsule.rs:1154fn151200.6
replay_capsule_bundlesrc/capsule.rs:790fn103110.6
replay_capsulesrc/capsule.rs:458fn31010.5
empty_segments_rejectedsrc/capsule.rs:849fn41010.5
capsule_is_deterministic_across_segment_input_ordersrc/capsule.rs:855fn91020.5
witness_ref_has_structural_prefix_and_64_hex_suffixsrc/capsule.rs:866fn81020.5
basis_merkle_root_changes_when_a_byte_flipssrc/capsule.rs:876fn91020.5
target_sha_is_concat_of_segments_in_index_ordersrc/capsule.rs:887fn101030.5
verifier_accepts_matching_local_voice_takessrc/capsule.rs:899fn121060.5
verifier_uses_targeted_lookup_not_recent_windowsrc/capsule.rs:913fn162060.5
replay_payload_returns_verified_concat_bytessrc/capsule.rs:931fn181060.5
verifier_rejects_forged_target_even_when_witness_is_recomputedsrc/capsule.rs:951fn3330110.5
bundle_rejects_zero_tunessrc/capsule.rs:1006fn41010.5
bundle_root_is_deterministic_and_differs_from_any_single_tune_rootsrc/capsule.rs:1012fn221020.5
bundle_order_changes_the_rootsrc/capsule.rs:1036fn81020.5
bundle_verifies_and_each_member_sub_proof_holdssrc/capsule.rs:1046fn212070.5
bundle_tamper_in_one_member_basis_is_rejectedsrc/capsule.rs:1069fn214050.5
bundle_rejects_a_member_whose_local_audio_divergessrc/capsule.rs:1092fn192070.5
bundle_reports_missing_basis_when_takes_absentsrc/capsule.rs:1113fn152040.5
v1_single_tune_capsule_still_verifies_after_v2src/capsule.rs:1130fn191060.5
capsule_bundle_to_jsonsrc/capsule.rs:1173fn111000.5

Source not readable from this process.