Home
last modified time | relevance | path

Searched refs:update_path (Results 1 – 10 of 10) sorted by relevance

/external/rust/android-crates-io/crates/mls-rs/src/tree_kem/
Dupdate_path.rs192 let update_path = test_update_path(TEST_CIPHER_SUITE, "creator").await; in test_valid_leaf_node() localVariable
197 update_path.clone(), in test_valid_leaf_node()
205 let expected = update_path.nodes.into_iter().map(Some).collect::<Vec<_>>(); in test_valid_leaf_node()
208 assert_eq!(validated.leaf_node, update_path.leaf_node); in test_valid_leaf_node()
214 let mut update_path = test_update_path(TEST_CIPHER_SUITE, "creator").await; in test_invalid_key_package() localVariable
215 update_path.leaf_node.signature = random_bytes(32); in test_invalid_key_package()
220 update_path, in test_invalid_key_package()
234 let update_path = test_update_path(cipher_suite, "foobar").await; in validating_path_fails_with_different_identity() localVariable
239 update_path, in validating_path_fails_with_different_identity()
252 let update_path = test_update_path(TEST_CIPHER_SUITE, "creator").await; in validating_path_fails_with_same_hpke_key() localVariable
[all …]
Dkem.rs44 pub update_path: UpdatePath, field
162 let update_path = UpdatePath { in encap() localVariable
168 update_path, in encap()
247 update_path: &ValidatedUpdatePath, in decap()
268 let lca_node = update_path.nodes[lca_index] in decap()
299 for (i, update) in update_path.nodes.iter().enumerate().skip(lca_index) { in decap()
440 update_path: &UpdatePath, in verify_tree_update_path()
457 update_path.nodes[i].public_key in verify_tree_update_path()
464 &update_path.leaf_node in verify_tree_update_path()
469 assert_eq!(update_path.leaf_node.capabilities, capabilities); in verify_tree_update_path()
[all …]
Dmod.rs45 pub mod update_path; module
50 pub use update_path::*;
266 update_path: &ValidatedUpdatePath, in apply_update_path()
287 *existing_leaf = update_path.leaf_node.clone(); in apply_update_path()
292 for (node, pn) in update_path.nodes.iter().zip(path) { in apply_update_path()
306 &update_path.leaf_node, in apply_update_path()
/external/rust/android-crates-io/crates/mls-rs/src/group/interop_test_vectors/
Dtree_kem.rs62 update_path: Vec<u8>, field
144 for update_path in paths { in tree_kem()
150 let path = UpdatePath::mls_decode(&mut &*update_path.update_path).unwrap(); in tree_kem()
159 Sender::Member(update_path.sender), in tree_kem()
176 assert_eq!(&*commit_secret, &update_path.commit_secret); in tree_kem()
181 assert_eq!(&new_tree_hash, &update_path.tree_hash_after); in tree_kem()
/external/pigweed/pw_build/py/pw_build/
Dbazel_to_gn.py562 update_path = build_dir.parent.joinpath(
570 with open(update_path, 'r') as pkg_file:
572 with open(update_path, 'w') as pkg_file:
577 update_path = third_party_path.joinpath(name, 'docs.rst')
579 with open(update_path, 'r') as docs_rst:
581 with open(update_path, 'w') as docs_rst:
/external/rust/android-crates-io/crates/mls-rs/src/group/
Dmessage_processor.rs807 let update_path = match commit.path { in process_commit() localVariable
808 Some(update_path) => Some( in process_commit()
812 update_path, in process_commit()
822 let new_secrets = match update_path { in process_commit()
823 Some(update_path) => { in process_commit()
824 self.apply_update_path(sender, &update_path, &mut provisional_state) in process_commit()
1001 update_path: &ValidatedUpdatePath, in apply_update_path()
1008 update_path, in apply_update_path()
Dtest_utils.rs477 update_path: &ValidatedUpdatePath, in apply_update_path()
481 .apply_update_path(sender, update_path, provisional_state) in apply_update_path()
Dcommit.rs493 let (update_path, path_secrets, commit_secret) = if perform_path_update { in commit_internal()
517 Some(encap_gen.update_path), in commit_internal()
556 path: update_path, in commit_internal()
Dmod.rs1652 update_path: &ValidatedUpdatePath, in apply_update_path()
1667 update_path, in apply_update_path()
1699 update_path, in apply_update_path()
/external/e2fsprogs/lib/ext2fs/
Dextent.c589 static errcode_t update_path(ext2_extent_handle_t handle) in update_path() function
821 update_path(handle); in ext2fs_extent_fix_parents()
879 update_path(handle); in ext2fs_extent_replace()
1107 retval = update_path(handle); in extent_node_split()
1233 retval = update_path(handle); in ext2fs_extent_insert()
1686 retval = update_path(handle); in ext2fs_extent_delete()
1791 errcode = update_path(handle); in ext2fs_fix_extents_checksums()