Lines Matching refs:Ok

89     Ok(session)  in get_secure_deletion_secret_file_session()
97 Ok(_) => Ok(()), in delete_secure_deletion_secret_file()
98 Err(storage_session::Error::Code(trusty_sys::Error::NotFound)) => Ok(()), in delete_secure_deletion_secret_file()
130 Ok(SecureDeletionSecretFile { transaction, file }) in open_or_create()
157 Ok(data) in read_block()
171 Ok(read_data) => read_data, in find_empty_slot()
196 return Ok(Some(key_slot)); in find_empty_slot()
200 Ok(None) in find_empty_slot()
240 Ok(()) in resize()
255 Ok(()) in zero_entries()
295 return Ok(RetrieveSecureDeletionSecretFileData::CachedDataFound(SecureDeletionData { in get_factory_reset_secret_impl()
318 return Ok(RetrieveSecureDeletionSecretFileData::EmptyFileFound(sdsf_file)); in get_factory_reset_secret_impl()
334 Ok(RetrieveSecureDeletionSecretFileData::DataFoundOnFile(SecureDeletionData { in get_factory_reset_secret_impl()
351 RetrieveSecureDeletionSecretFileData::CachedDataFound(data) => Ok(data), in get_or_create_factory_reset_secret_impl()
352 RetrieveSecureDeletionSecretFileData::DataFoundOnFile(data) => Ok(data), in get_or_create_factory_reset_secret_impl()
368 Ok(SecureDeletionData { in get_or_create_factory_reset_secret_impl()
389 Ok(session) => session, in read_slot_data()
396 Ok(sdsf_file) => sdsf_file, in read_slot_data()
403 Ok(file_size) => file_size, in read_slot_data()
418 Ok(read_data) => { in read_slot_data()
420 Ok(()) in read_slot_data()
457 RetrieveSecureDeletionSecretFileData::CachedDataFound(data) => Ok(data), in get_factory_reset_secret()
458 RetrieveSecureDeletionSecretFileData::DataFoundOnFile(data) => Ok(data), in get_factory_reset_secret()
475 Ok(data) => data, in new_secret()
489 Ok(slot) => slot, in new_secret()
543 Ok((SecureDeletionSlot(empty_slot as u32), secure_deletion_data)) in new_secret()
568 Ok(_) => { in get_secret()
573 break Ok(secure_deletion_data); in get_secret()
610 Ok(session) => session, in delete_secret()
617 Ok(sdsf_file) => sdsf_file, in delete_secret()
624 Ok(size) => size, in delete_secret()
651 Ok(()) in delete_secret()
659 Ok(_) => break, in delete_all()
690 Ok(RetrieveSecureDeletionSecretFileData::CachedDataFound(secret)) => secret, in secret_data_is_cached()
718 Ok(RetrieveSecureDeletionSecretFileData::DataFoundOnFile(secret)) => secret, in secret_data_is_cached()