Home
last modified time | relevance | path

Searched refs:brand (Results 1 – 9 of 9) sorted by relevance

/trusty/user/app/keymaster/
Dkeymaster_attributes.pb.c25 brand,
26 brand,
35 brand,
Dkeymaster_attributes.pb.h35 AttestationIds_brand_t brand; member
Dsecure_storage_manager.cpp473 if (request.brand.buffer_size() > kAttestationIdLengthMax) { in ValidateAndSetBaseAttestationIds()
474 LOG_E("Error: Brand ID too large: %zu", request.brand.buffer_size()); in ValidateAndSetBaseAttestationIds()
476 } else if (request.brand.buffer_size() > 0) { in ValidateAndSetBaseAttestationIds()
478 attestation_ids->brand.size = request.brand.buffer_size(); in ValidateAndSetBaseAttestationIds()
479 memcpy(attestation_ids->brand.bytes, request.brand.begin(), in ValidateAndSetBaseAttestationIds()
480 request.brand.buffer_size()); in ValidateAndSetBaseAttestationIds()
Dkeymaster_attributes.proto48 optional bytes brand = 1 [(nanopb).max_size=64]; field
Dtrusty_remote_provisioning_context.cpp117 ADD_ID_FIELD(result, ids.brand, "brand") in CreateDeviceInfo()
Dtrusty_keymaster_context.cpp973 PROTO_BYTES_DOES_NOT_MATCH_BLOB(entry.blob, ids.brand); in VerifyAndCopyDeviceIds()
/trusty/user/app/keymint/
Dsecure_storage_manager.rs225 brand: &[u8], in provision_attestation_id_file()
239 if !brand.is_empty() { in provision_attestation_id_file()
240 attestation_ids.set_brand(try_to_vec(brand)?); in provision_attestation_id_file()
336 let brand = attestation_ids_pb.take_brand(); in read_attestation_ids() localVariable
356 Ok(AttestationIdInfo { brand, device, product, serial, imei, imei2, meid, manufacturer, model }) in read_attestation_ids()
526 expect_eq!(lhs.brand, rhs.brand, "brand doesn't match"); in compare_attestation_ids()
841 expect_eq!(attestation_ids.brand.len(), 0, "brand should be empty"); in unprovisioned_attestation_ids_do_not_error()
858 let brand = b"new brand"; in single_attestation_id_field() localVariable
860 attestation_ids.set_brand(brand.to_vec()); in single_attestation_id_field()
878 expect_eq!(attestation_ids_info.brand, brand.to_vec(), "brand doesn't match"); in single_attestation_id_field()
[all …]
Dkeymaster_attributes.rs250 brand: ::protobuf::SingularField<::std::vec::Vec<u8>>, field
279 match self.brand.as_ref() { in get_brand()
285 self.brand.clear(); in clear_brand()
289 self.brand.is_some() in has_brand()
294 self.brand = ::protobuf::SingularField::some(v); in set_brand()
300 if self.brand.is_none() { in mut_brand()
301 self.brand.set_default(); in mut_brand()
303 self.brand.as_mut().unwrap() in mut_brand()
308 self.brand.take().unwrap_or_else(|| ::std::vec::Vec::new()) in take_brand()
610 ::protobuf::rt::read_singular_bytes_into(wire_type, is, &mut self.brand)?; in merge_from()
[all …]
Dipc_manager.rs361 &req.brand, in handle_message()
375 &req.base.brand, in handle_message()
473 &req.brand, in handle_message()
726 brand: &Vec<u8>, in get_set_attestation_ids_message()
736 brand.serialize_into(&mut req)?; in get_set_attestation_ids_message()
781 let brand = b"no brand".to_vec(); in set_attestation_ids_secure() localVariable
790 &brand, in set_attestation_ids_secure()
820 let brand = b"no brand".to_vec(); in set_attestation_ids() localVariable
829 &brand, in set_attestation_ids()