Home
last modified time | relevance | path

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

/trusty/user/app/keymaster/
Dtrusty_secure_deletion_secret_storage.cpp342 bool zero_entries(const StorageFile& file, in zero_entries() function
483 if (!zero_entries(*file, kFirstSecureDeletionSecretPos /* begin */, in LoadOrCreateFactoryResetSecret()
582 if (!zero_entries(*file, old_size, file->size())) { in CreateDataForNewKey()
702 if (!zero_entries(*file, key_slot_begin, key_slot_end)) { in DeleteKey()
/trusty/user/app/keymint/
Dsecure_deletion_secret_manager.rs243 fn zero_entries(&mut self, begin: usize, end: usize) -> Result<(), Error> { in zero_entries() method
360 sdsf_file.zero_entries(FACTORY_FIRST_SECURE_DELETION_SECRET_POS, BLOCK_SIZE)?; in get_or_create_factory_reset_secret_impl()
520 if let Err(e) = sdsf_file.zero_entries(original_file_size, new_size) { in new_secret()
634 if sdsf_file.zero_entries(key_slot_start, key_slot_end).is_err() { in delete_secret()