Home
last modified time | relevance | path

Searched defs:LeafIndex (Results 1 – 22 of 22) sorted by relevance

/aosp_15_r20/external/rust/android-crates-io/crates/mls-rs/src/tree_kem/
Dkem.rs65 excluding: &[LeafIndex], in encap()
182 excluding: &[LeafIndex], in encrypt_path_secrets()
218 excluding: &[LeafIndex], in encrypt_path_secrets()
246 sender_index: LeafIndex, in decap()
248 added_leaves: &[LeafIndex], in decap()
398 excluding: &[LeafIndex], in find_ciphertext_pos()
441 index: LeafIndex, in verify_tree_update_path()
487 index: LeafIndex, in verify_tree_private_path()
Dmod.rs137 pub(crate) fn get_leaf_node_with_identity(&self, identity: &[u8]) -> Option<LeafIndex> { in get_leaf_node_with_identity()
148 ) -> Result<Option<LeafIndex>, MlsError> { in get_leaf_node_with_identity()
194 pub fn find_leaf_node(&self, leaf_node: &LeafNode) -> Option<LeafIndex> { in find_leaf_node()
224 ) -> Result<Vec<LeafIndex>, MlsError> { in add_leaves()
265 sender: LeafIndex, in apply_update_path()
341 ) -> Result<Vec<LeafIndex>, MlsError> in batch_edit()
525 ) -> Result<Vec<LeafIndex>, MlsError> in batch_edit_lite()
584 start: Option<LeafIndex>, in add_leaf()
585 ) -> Result<LeafIndex, MlsError> { in add_leaf()
660 indexes: Vec<LeafIndex>, in remove_leaves()
[all …]
Dtree_hash.rs93 updated_leaves: &[LeafIndex], in update_hashes()
150 ) -> Result<&[LeafIndex], MlsError> { in unmerged_in_subtree()
263 leaves_to_update: Option<Vec<LeafIndex>>, in tree_hash()
264 filtered_leaves: &[LeafIndex], in tree_hash()
311 async fn hash_for_leaf<P: CipherSuiteProvider>( in hash_for_leaf()
331 filtered: &[LeafIndex], in hash_for_parent()
Dnode.rs30 pub struct LeafIndex(pub(crate) u32); struct
32 impl LeafIndex { impl
38 impl Deref for LeafIndex { implementation
384 pub(crate) fn next_empty_leaf(&self, start: LeafIndex) -> LeafIndex { in next_empty_leaf()
400 pub fn insert_leaf(&mut self, index: LeafIndex, leaf: LeafNode) { in insert_leaf()
Dparent_hash.rs119 index: LeafIndex, in parent_hash_for_leaf()
149 index: LeafIndex, in update_parent_hashes()
299 unmerged_leaves: Vec<LeafIndex>, in test_parent()
316 unmerged_leaves: Vec<LeafIndex>, in test_parent_node()
Dtree_index.rs73 new_leaf_idx: LeafIndex, in index_insert()
90 new_leaf_idx: LeafIndex, in index_insert()
150 index: LeafIndex, in insert()
236 pub(crate) fn get_leaf_index_with_identity(&self, identity: &[u8]) -> Option<LeafIndex> { in get_leaf_index_with_identity()
Dprivate.rs27 pub fn new_self_leaf(self_index: LeafIndex, leaf_secret: HpkeSecretKey) -> Self { in new_self_leaf()
45 signer_index: LeafIndex, in update_secrets()
281 async fn setup_direct_path(self_index: LeafIndex, leaf_count: u32) -> TreeKemPrivate { in setup_direct_path()
Dmath.rs148 pub fn subtree(x: u32) -> (LeafIndex, LeafIndex) { in subtree()
Dupdate_path.rs48 sender: LeafIndex, in validate_update_path()
/aosp_15_r20/external/rust/android-crates-io/crates/mls-rs/src/group/proposal_filter/
Dfiltering.rs58 commit_sender: LeafIndex, in apply_proposals_from_member()
279 commit_sender: LeafIndex, in filter_out_update_for_committer()
296 commit_sender: LeafIndex, in filter_out_removal_of_committer()
550 fn leaf_index_of_update_sender(p: &ProposalInfo<UpdateProposal>) -> Result<LeafIndex, MlsError> { in leaf_index_of_update_sender()
Dfiltering_lite.rs51 commit_sender: LeafIndex, in apply_proposals_from_member()
147 commit_sender: LeafIndex, in filter_out_removal_of_committer()
Dfiltering_common.rs576 ) -> Result<LeafIndex, MlsError> { in insert_external_leaf()
Dbundle.rs343 pub fn update_proposal_senders(&self) -> &[LeafIndex] { in update_proposal_senders()
/aosp_15_r20/external/rust/android-crates-io/crates/mls-rs/src/group/
Dciphertext_processor.rs39 fn self_index(&self) -> LeafIndex; in self_index()
85 sender: LeafIndex, in decryption_key()
Dmessage_verifier.rs41 self_index: Option<LeafIndex>, in verify_plaintext_authentication()
155 leaf_index: LeafIndex, in signing_identity_for_member()
Dtest_utils.rs478 sender: LeafIndex, in apply_update_path()
518 fn self_index(&self) -> Option<LeafIndex> { in self_index()
Dmessage_processor.rs618 sender: LeafIndex, in make_state_update()
865 fn self_index(&self) -> Option<LeafIndex>; in self_index()
989 sender: LeafIndex, in apply_update_path()
Dproposal_cache.rs396 receiver: LeafIndex, in new()
709 ) -> (LeafIndex, TreeKemPublic) { in new_tree_custom_proposals()
729 async fn new_tree(name: &str) -> (LeafIndex, TreeKemPublic) { in new_tree()
734 async fn add_member(tree: &mut TreeKemPublic, name: &str) -> LeafIndex { in add_member()
1893 fn new(tree: &'a TreeKemPublic, sender: LeafIndex, cipher_suite_provider: CSP) -> Self { in new()
Dutil.rs124 ) -> Result<LeafIndex, MlsError> { in commit_sender()
Depoch.rs54 fn self_index(&self) -> LeafIndex { in self_index()
Dmod.rs782 leaf_index: LeafIndex, in encrypt_group_secrets()
1578 fn self_index(&self) -> LeafIndex { in self_index()
1608 fn self_index(&self) -> Option<LeafIndex> { in self_index()
1640 sender: LeafIndex, in apply_update_path()
/aosp_15_r20/external/rust/android-crates-io/crates/mls-rs/src/external_client/
Dgroup.rs573 fn self_index(&self) -> Option<LeafIndex> { in self_index()