Home
last modified time | relevance | path

Searched refs:BLOCK_SIZE (Results 1 – 2 of 2) sorted by relevance

/trusty/user/app/keymint/
Dsecure_deletion_secret_manager.rs52 const BLOCK_SIZE: usize = SECRET_SIZE * 32; constant
56 const MAX_SECRET_FILE_SIZE: usize = BLOCK_SIZE * 32;
62 const MAX_SECRET_FILE_SIZE_FOR_UPGRADES: usize = MAX_SECRET_FILE_SIZE + 8 * BLOCK_SIZE;
74 BLOCK_SIZE >= FACTORY_RESET_SECRET_SIZE,
77 const _: () = assert!((BLOCK_SIZE % SECRET_SIZE) == 0, "Broke find_empty_slot assumption");
168 let mut block_buffer = [0; BLOCK_SIZE]; in find_empty_slot()
169 for start_pos in (0..end).step_by(BLOCK_SIZE) { in find_empty_slot()
179 if read_data.len() != BLOCK_SIZE { in find_empty_slot()
354 sdsf_file.resize(BLOCK_SIZE)?; in get_or_create_factory_reset_secret_impl()
355 debug!("Resized secure secrets file to size {}", BLOCK_SIZE); in get_or_create_factory_reset_secret_impl()
[all …]
/trusty/user/app/storage/test/block_host_test/
Dblock_test.c59 #define BLOCK_SIZE (64)
62 #define BLOCK_SIZE (80) macro
65 #define BLOCK_SIZE (96) macro
68 #define BLOCK_SIZE (112) macro
71 #define BLOCK_SIZE (128) macro
74 #define BLOCK_SIZE (144) macro
77 #define BLOCK_SIZE (256) macro
80 #define BLOCK_SIZE (2048) macro
84 #define BLOCK_SIZE (256 * 4) macro
88 #define BLOCK_SIZE (256 * 4) macro
[all …]