MCPcopy Create free account

hub / github.com/Barre/compact_log / functions

Functions454 in github.com/Barre/compact_log

↓ 195 callersMethodclone
(&self)
src/storage/mod.rs:30
↓ 119 callersMethodpush
(&self, new_val: T)
src/merkle_tree/slatedb_backed_tree.rs:815
↓ 97 callersMethodlen
(&self)
src/merkle_tree/slatedb_backed_tree.rs:177
↓ 73 callersMethodbatch_push_with_data
Appends multiple items to the tree along with additional key-value pairs in a single atomic batch. This ensures consistency between the merkle tree an
src/merkle_tree/slatedb_backed_tree.rs:254
↓ 50 callersFunctioncreate_test_db
()
src/merkle_tree/slatedb_backed_tree.rs:992
↓ 48 callersMethodupdate
(&mut self, data: &[u8])
src/merkle_tree/ct_merkle_vendored.rs:138
↓ 35 callersMethodas_bytes
(&self)
src/types/sct.rs:113
↓ 35 callersMethodencode
(&self)
src/types/signed_note.rs:69
↓ 32 callersMethodas_u64
Returns this index as a `u64`
src/merkle_tree/ct_merkle_vendored.rs:119
↓ 32 callersMethodroot_at_size
Returns the root hash at a specific tree size (for committed STH)
src/merkle_tree/slatedb_backed_tree.rs:716
↓ 30 callersMethodfinalize
(self)
src/merkle_tree/ct_merkle_vendored.rs:132
↓ 28 callersMethodget
(&self, idx: u64)
src/merkle_tree/slatedb_backed_tree.rs:926
↓ 28 callersMethodprove_inclusion_at_size
Returns a proof of inclusion of the item at the given index for a specific tree size. # Errors Returns an error if the index is out of bounds, tree_s
src/merkle_tree/slatedb_backed_tree.rs:752
↓ 26 callersMethodas_ref
(&self)
src/merkle_storage.rs:13
↓ 25 callersMethodverify
( &self, leaf_val: &L, leaf_idx: u64, root_hash: &RootHash<H>, )
src/merkle_tree/ct_merkle_vendored.rs:372
↓ 24 callersMethodis_empty
(&self)
src/merkle_tree/slatedb_backed_tree.rs:811
↓ 23 callersMethodprove_consistency_between
( &self, old_size: u64, new_size: u64, )
src/merkle_tree/slatedb_backed_tree.rs:535
↓ 22 callersMethodroot
(&self)
src/merkle_tree/slatedb_backed_tree.rs:912
↓ 22 callersMethodto_bytes
(&self)
src/types/mod.rs:55
↓ 20 callersFunctioncreate_test_certificate_with_key
( subject: &str, issuer: &str, is_ca: bool, mut extensions: Vec<Extension>,
src/validation/rfc6962_validator.rs:603
↓ 20 callersMethodget_node_hash_at_version
( &self, idx: u64, version: u64, )
src/merkle_tree/slatedb_backed_tree.rs:622
↓ 18 callersMethodadd_entry_batched
Add entry to batch queue and return assigned index and SCT
src/storage/mod.rs:168
↓ 16 callersMethodprove_inclusion
(&self, idx: u64)
src/merkle_tree/slatedb_backed_tree.rs:937
↓ 15 callersFunctioncreate_basic_certificate
Helper function to create a basic certificate
src/validation/tbs_extractor.rs:269
↓ 15 callersFunctioncreate_test_log_id
()
src/types/sct.rs:199
↓ 15 callersFunctioncreate_test_sct
(log_id: LogId, timestamp: u64)
src/storage/mod.rs:1145
↓ 15 callersFunctioncreate_test_storage
(config: BatchConfig)
src/storage/mod.rs:1159
↓ 15 callersMethodparent
Returns the parent of this node, in a tree of `num_leaves` leaves # Panics Panics if this is the root
src/merkle_tree/ct_merkle_vendored.rs:196
↓ 15 callersMethodput
Put a value into the database (not rate limited)
src/storage/rate_limited_db.rs:48
↓ 15 callersMethodvalidate_chain
Validate a certificate chain according to RFC 6962
src/validation/rfc6962_validator.rs:187
↓ 14 callersMethodadd_from_ccadb_csv
Add certificates from CCADB CSV data (additive only)
src/ccadb.rs:128
↓ 14 callersMethodget_entry
Get a full log entry by index (with reconstruction)
src/storage/mod.rs:930
↓ 14 callersFunctionroot_idx
Returns the root index of a tree with `num_leaves` leaves # Panics Panics when `num_leaves > ⌊u64::MAX / 2⌋ + 1`
src/merkle_tree/ct_merkle_vendored.rs:278
↓ 13 callersFunctioncompute_subtree_root
Compute the root of a subtree containing leaves [start, end)
src/merkle_tree/consistency.rs:61
↓ 13 callersFunctioncreate_test_log_id
()
src/storage/mod.rs:1155
↓ 12 callersMethodget_node_hash
(&self, idx: u64)
src/merkle_tree/slatedb_backed_tree.rs:602
↓ 11 callersFunctioncreate_test_validator
Helper function to create a validator for tests
src/validation/rfc6962_validator.rs:749
↓ 11 callersMethodget
(&self, key: &[u8])
src/storage/mod.rs:750
↓ 10 callersFunctioncreate_test_certificate
( subject: &str, issuer: &str, is_ca: bool, extensions: Vec<Extension>, )
src/validation/rfc6962_validator.rs:686
↓ 9 callersFunctioncreate_precertificate_with_poison
()
src/types/mod.rs:550
↓ 9 callersMethodget_certificate
Get a certificate by its hash
src/storage/mod.rs:791
↓ 9 callersMethodget_signature_input
Get the data that needs to be signed for this SCT
src/types/sct.rs:44
↓ 9 callersFunctionindices_for_consistency_proof
Given a tree size and number of additions, produces a list of tree node indices whose values in the new tree (i.e., including the additions) are neede
src/merkle_tree/consistency.rs:8
↓ 8 callersFunctioncreate_test_key_pair
()
src/types/sct.rs:212
↓ 8 callersFunctioncreate_test_root_hash
()
src/types/tree_head.rs:171
↓ 8 callersFunctionindices_for_inclusion_proof
Given a tree size and index, produces a list of tree node indices whose values we need in order to build the inclusion proof. This is useful when we
src/merkle_tree/ct_merkle_vendored.rs:325
↓ 8 callersFunctionsubproof
RFC 6962 SUBPROOF algorithm
src/merkle_tree/consistency.rs:29
↓ 7 callersMethodcreate_sct_with_timestamp_and_index
Create and sign an SCT for a certificate with a specific timestamp and optional index
src/types/sct.rs:153
↓ 7 callersFunctioncreate_test_certificate
()
src/types/mod.rs:489
↓ 7 callersMethoddecode
(bytes: &[u8])
src/types/sct_extensions.rs:75
↓ 7 callersMethodget_committed_size
Get the last committed tree size (for STH generation)
src/merkle_tree/slatedb_backed_tree.rs:182
↓ 7 callersMethodget_deduplicated_entry
Get a deduplicated log entry by index
src/storage/mod.rs:826
↓ 7 callersMethodnum_leaves
Returns the number of leaves in the tree that created this `RootHash`.
src/merkle_tree/ct_merkle_vendored.rs:67
↓ 7 callersMethodsibling
Returns the sibling of this node, in a tree of `num_leaves` leaves # Panics Panics if this is the root
src/merkle_tree/ct_merkle_vendored.rs:246
↓ 6 callersFunctioncreate_precert_signing_cert
Helper function to create a precertificate signing certificate
src/validation/tbs_extractor.rs:332
↓ 6 callersFunctioncreate_precertificate
Helper function to create a precertificate with poison extension
src/validation/tbs_extractor.rs:291
↓ 6 callersFunctioncreate_test_timestamp
()
src/types/mod.rs:472
↓ 6 callersMethodformat
(&self)
src/types/signed_note.rs:33
↓ 6 callersMethodget_sct_by_cert_hash
Get SCT by certificate hash for deduplication
src/storage/mod.rs:772
↓ 6 callersMethodget_signature_input
Get the data that needs to be signed for this STH
src/types/tree_head.rs:34
↓ 6 callersMethodsize
(&self)
src/merkle_storage.rs:57
↓ 5 callersFunctioncreate_test_log_entry
Helper functions for creating test data
src/storage/mod.rs:1102
↓ 5 callersFunctionextract_issuer_key_hash_minimal
Extract issuer key hash from a precertificate chain without full validation.
src/validation/issuer_key_hash.rs:8
↓ 5 callersMethodget_tile
Retrieve a precomputed merkle tile
src/merkle_tree/slatedb_backed_tree.rs:239
↓ 5 callersMethodis_left
Returns whether this node is to the left of its parent
src/merkle_tree/ct_merkle_vendored.rs:184
↓ 5 callersMethodpersist_to_directory
Write certificates to disk (flat structure)
src/ccadb.rs:266
↓ 5 callersMethodupdate
Fetch and update root certificates from CCADB
src/ccadb.rs:340
↓ 4 callersMethodas_bytes
(&self)
src/types/sct_extensions.rs:28
↓ 4 callersMethodcommitted_root
Get the root at the committed tree size (for STH generation)
src/merkle_storage.rs:115
↓ 4 callersMethodcreate_sth
( &self, tree_size: u64, root_hash: Vec<u8>, checkpoint_timestamp: Option<u64>
src/types/tree_head.rs:109
↓ 4 callersFunctioncreate_test_key_pair
()
src/types/tree_head.rs:180
↓ 4 callersFunctionlargest_power_of_two_less_than
(n: u64)
src/merkle_tree/consistency.rs:82
↓ 4 callersMethodreconstruct_log_entry
Reconstruct a full LogEntry from a DeduplicatedLogEntry
src/storage/mod.rs:845
↓ 3 callersMethodcert_to_x509
Convert a certificate to X509
src/validation/rfc6962_validator.rs:346
↓ 3 callersFunctioncreate_ca_with_ski
Helper function to create a CA certificate with SKI
src/validation/tbs_extractor.rs:358
↓ 3 callersFunctioncreate_precertificate_with_akid
Helper function to create a precertificate with poison extension and AKID
src/validation/tbs_extractor.rs:304
↓ 3 callersMethodcreate_sct_with_timestamp
( &self, certificate: &[u8], entry_type: LogEntryType, issuer_key_hash: Option
src/types/sct.rs:136
↓ 3 callersFunctioncreate_test_public_key
()
src/test_utils.rs:14
↓ 3 callersFunctioncreate_test_public_key
()
src/types/mod.rs:476
↓ 3 callersFunctionextract_test_issuer_key_hash
(chain: &[Vec<u8>])
src/test_utils.rs:219
↓ 3 callersMethodfind_index_by_hash
Find index by hash
src/storage/mod.rs:755
↓ 3 callersMethodget_all_certificates
Get all certificates as a vector
src/ccadb.rs:251
↓ 3 callersMethodlevel
The level of an internal node is how "odd" it is, i.e., how many trailing ones it has in its binary representation
src/merkle_tree/ct_merkle_vendored.rs:179
↓ 3 callersFunctionnum_internal_nodes
The number of internal nodes necessary to represent a tree with `num_leaves` leaves. # Panics Panics when `num_leaves > ⌊u64::MAX / 2⌋ + 1`
src/merkle_tree/ct_merkle_vendored.rs:266
↓ 2 callersMethodadd_signature
(&mut self, signature: NoteSignature)
src/types/signed_note.rs:29
↓ 2 callersMethodanalyze_chain
Analyze a certificate chain and return validation context
src/validation/rfc6962_validator.rs:136
↓ 2 callersFunctionbuild_extra_data
(log_entry: &LogEntry)
src/api/handlers.rs:525
↓ 2 callersMethodcalculate_key_id
(&self)
src/types/signed_note.rs:101
↓ 2 callersMethodcount
Get certificate count
src/ccadb.rs:261
↓ 2 callersFunctioncreate_test_algorithm
Helper function to create test ECDSA algorithm identifier
src/validation/tbs_extractor.rs:261
↓ 2 callersFunctioncreate_test_key
()
src/types/signed_note.rs:168
↓ 2 callersFunctioncreate_test_log_id
()
src/types/signed_note.rs:172
↓ 2 callersFunctioncreate_test_name
Helper function to create test subject/issuer names
src/validation/tbs_extractor.rs:216
↓ 2 callersFunctioncreate_test_precert_entry
()
src/storage/mod.rs:1112
↓ 2 callersFunctioncreate_test_precertificate
(subject: &str, issuer: &str)
src/validation/rfc6962_validator.rs:719
↓ 2 callersMethodencode
(&self)
src/types/sct_extensions.rs:63
↓ 2 callersMethodextract_issuer_key_hash
(&self, chain: &[Vec<u8>])
src/validation/rfc6962_validator.rs:566
↓ 2 callersFunctiongenerate_and_save_keys
( keys_config: &KeysConfig, )
src/main.rs:385
↓ 2 callersFunctiongenerate_merkle_tile
( state: &ApiState, level: u8, tile_index: u64, tree_size: u64, requested_width: Option<u1
src/api/static_handlers.rs:209
↓ 2 callersMethodget_chain_certificate
Get a chain certificate by its hash
src/storage/mod.rs:802
next →1–100 of 454, ranked by callers