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
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.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| binding_id_for_payloadsrc/peer_encryption.rs:82 | fn | 3 | 1 | 4 | 2 | 2.6 | |
| verify_peer_encryption_key_bindingsrc/peer_encryption.rs:217 | fn | 44 | 7 | 6 | 3 | 1.9 | |
| canonical_preimagesrc/peer_encryption.rs:73 | fn | 8 | 1 | 1 | 0 | 1.6 | |
| PeerEncryptionKeyBindingPayloadV1::newsrc/peer_encryption.rs:38 | method | 26 | 1 | 10 | 0 | 1.5 | |
| sign_peer_encryption_key_bindingsrc/peer_encryption.rs:96 | fn | 8 | 1 | 12 | 2 | 1.5 | |
| x25519_public_keysrc/peer_encryption.rs:333 | fn | 3 | 1 | 4 | 1 | 1.1 | |
| verify_payload_shapesrc/peer_encryption.rs:174 | fn | 42 | 11 | 1 | 2 | 1 | |
| payloadsrc/peer_encryption.rs:337 | fn | 13 | 1 | 4 | 2 | 1 | |
| require_nonemptysrc/peer_encryption.rs:170 | fn | 3 | 2 | 1 | 0 | 0.9 | |
| signed_bindingsrc/peer_encryption.rs:351 | fn | 5 | 1 | 3 | 4 | 0.9 | |
| canonical_bytes_for_signingsrc/peer_encryption.rs:86 | fn | 3 | 1 | 1 | 1 | 0.9 | |
| verify_peer_encryption_key_rotation_linksrc/peer_encryption.rs:289 | fn | 38 | 7 | 1 | 0 | 0.6 | |
| PeerEncryptionKeyBindingPayloadV1::canonical_bytes_for_signingsrc/peer_encryption.rs:91 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| VerifyPeerEncryptionKeyBindingError::fmtsrc/peer_encryption.rs:127 | trait impl | 39 | 17 | 0 | 0 | 0.5 | |
| VerifyPeerEncryptionKeyRotationError::fmtsrc/peer_encryption.rs:272 | trait impl | 13 | 5 | 0 | 0 | 0.5 | |
| signed_binding_verifies_and_round_tripssrc/peer_encryption.rs:358 | fn | 10 | 1 | 0 | 3 | 0.5 | |
| binding_id_and_signature_are_deterministic_for_same_payload_and_keysrc/peer_encryption.rs:370 | fn | 6 | 1 | 0 | 3 | 0.5 | |
| tampered_payload_and_wrong_passport_key_failsrc/peer_encryption.rs:378 | fn | 16 | 1 | 0 | 5 | 0.5 | |
| validity_and_scope_are_enforcedsrc/peer_encryption.rs:396 | fn | 19 | 1 | 0 | 2 | 0.5 | |
| malformed_key_and_epoch_metadata_are_rejectedsrc/peer_encryption.rs:417 | fn | 45 | 1 | 0 | 6 | 0.5 | |
| rotation_requires_a_new_key_and_exact_chain_linksrc/peer_encryption.rs:464 | fn | 34 | 1 | 0 | 6 | 0.5 |
Source not readable from this process.