Skip to content
1 viewer

rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off

crates/cre8-app-network-model/src/peer_encryption.rs

cre8-app-network-model · module peer_encryption · src · 498 lines (453 code, 6 comment) · sha b9d209eef07d0693

Items

const PEER_ENCRYPTION_KEY_BINDING_SCHEMA_V1 const PEER_ENCRYPTION_KEY_BINDING_PURPOSE_V1 const PEER_ENCRYPTION_KEY_ALGORITHM_X25519 const PEER_ENCRYPTION_KEY_BINDING_PROFILE_FIELD const SIGNING_DOMAIN_V1 struct PeerEncryptionKeyBindingPayloadV1 impl PeerEncryptionKeyBindingPayloadV1 struct PeerEncryptionKeyBindingV1 impl CanonicalBytes for PeerEncryptionKeyBindingPayloadV1 enum VerifyPeerEncryptionKeyBindingError impl Display for VerifyPeerEncryptionKeyBindingError impl Error for VerifyPeerEncryptionKeyBindingError enum VerifyPeerEncryptionKeyRotationError impl Display for VerifyPeerEncryptionKeyRotationError impl Error for VerifyPeerEncryptionKeyRotationError

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
binding_id_for_payloadsrc/peer_encryption.rs:82fn31422.6
verify_peer_encryption_key_bindingsrc/peer_encryption.rs:217fn447631.9
canonical_preimagesrc/peer_encryption.rs:73fn81101.6
PeerEncryptionKeyBindingPayloadV1::newsrc/peer_encryption.rs:38method2611001.5
sign_peer_encryption_key_bindingsrc/peer_encryption.rs:96fn811221.5
x25519_public_keysrc/peer_encryption.rs:333fn31411.1
verify_payload_shapesrc/peer_encryption.rs:174fn4211121
payloadsrc/peer_encryption.rs:337fn131421
require_nonemptysrc/peer_encryption.rs:170fn32100.9
signed_bindingsrc/peer_encryption.rs:351fn51340.9
canonical_bytes_for_signingsrc/peer_encryption.rs:86fn31110.9
verify_peer_encryption_key_rotation_linksrc/peer_encryption.rs:289fn387100.6
PeerEncryptionKeyBindingPayloadV1::canonical_bytes_for_signingsrc/peer_encryption.rs:91trait impl31010.5
VerifyPeerEncryptionKeyBindingError::fmtsrc/peer_encryption.rs:127trait impl3917000.5
VerifyPeerEncryptionKeyRotationError::fmtsrc/peer_encryption.rs:272trait impl135000.5
signed_binding_verifies_and_round_tripssrc/peer_encryption.rs:358fn101030.5
binding_id_and_signature_are_deterministic_for_same_payload_and_keysrc/peer_encryption.rs:370fn61030.5
tampered_payload_and_wrong_passport_key_failsrc/peer_encryption.rs:378fn161050.5
validity_and_scope_are_enforcedsrc/peer_encryption.rs:396fn191020.5
malformed_key_and_epoch_metadata_are_rejectedsrc/peer_encryption.rs:417fn451060.5
rotation_requires_a_new_key_and_exact_chain_linksrc/peer_encryption.rs:464fn341060.5

Source not readable from this process.