Lines Matching refs:Ok
77 Ok(OpenSecureFile { session: Some(session), secure_file: Some(secure_file) }) in new()
137 Ok(()) in write_protobuf_to_attestation_key_file()
204 return Ok(()); in clear_attestation_cert_chain()
219 Ok(()) in clear_attestation_cert_chain()
278 Ok(()) in provision_attestation_id_file()
289 Ok(()) in delete_attestation_ids()
300 Ok(file) => file, in get_file_contents()
301 Err(storage::Error::Code(trusty_sys::Error::NotFound)) => return Ok(None), in get_file_contents()
320 Ok(Some(buffer)) in get_file_contents()
328 Ok(Some(file_contents)) => file_contents, in read_attestation_ids()
329 Ok(None) => return Ok(AttestationIdInfo::default()), in read_attestation_ids()
356 Ok(AttestationIdInfo { brand, device, product, serial, imei, imei2, meid, manufacturer, model }) in read_attestation_ids()
370 Ok(pb) in read_attestation_key_content()
377 Ok(key_material) => Ok(key_material), in import_ec_key()
389 Ok((key_material, _, _)) => Ok(key_material), in import_rsa_key()
393 Ok(key_material) in import_rsa_key()
428 Ok(certificates) in get_cert_chain()
618 Ok(key) in get_test_attestation_key()