Home
last modified time | relevance | path

Searched refs:product_id (Results 1 – 6 of 6) sorted by relevance

/trusty/user/app/keymaster/
Dsecure_storage_manager.h161 keymaster_error_t ReadProductId(uint8_t product_id[kProductIdSize]);
166 keymaster_error_t SetProductId(const uint8_t product_id[kProductIdSize]);
230 const uint8_t product_id[kProductIdSize]);
Dsecure_storage_manager.cpp417 const uint8_t product_id[kProductIdSize]) { in SetProductId()
432 km_attributes->product_id.size = kProductIdSize; in SetProductId()
433 memcpy(km_attributes->product_id.bytes, product_id, kProductIdSize); in SetProductId()
442 uint8_t product_id[kProductIdSize]) { in ReadProductId()
453 if (km_attributes->product_id.size != kProductIdSize) { in ReadProductId()
456 memcpy(product_id, km_attributes->product_id.bytes, kProductIdSize); in ReadProductId()
891 km_attributes->product_id.bytes, in TranslateLegacyFormat()
898 km_attributes->product_id.size = product_id_size; in TranslateLegacyFormat()
1023 const uint8_t product_id[kProductIdSize]) { in LegacySetProductId()
1024 return LegacySecureStorageWrite(kLegacyProductIdFileName, product_id, in LegacySetProductId()
Dkeymaster_attributes.pb.h61 KeymasterAttributes_product_id_t product_id; member
Dkeymaster_attributes.pb.c15 PB_FIELD( 2, BYTES , OPTIONAL, STATIC , OTHER, KeymasterAttributes, product_id, uuid, 0),
Dkeymaster_attributes.proto44 optional bytes product_id = 2 [(nanopb).max_size=16]; field
/trusty/user/app/keymint/
Dkeymaster_attributes.rs30 product_id: ::protobuf::SingularField<::std::vec::Vec<u8>>, field
87 match self.product_id.as_ref() { in get_product_id()
93 self.product_id.clear(); in clear_product_id()
97 self.product_id.is_some() in has_product_id()
102 self.product_id = ::protobuf::SingularField::some(v); in set_product_id()
108 if self.product_id.is_none() { in mut_product_id()
109 self.product_id.set_default(); in mut_product_id()
111 self.product_id.as_mut().unwrap() in mut_product_id()
116 self.product_id.take().unwrap_or_else(|| ::std::vec::Vec::new()) in take_product_id()
133 ::protobuf::rt::read_singular_bytes_into(wire_type, is, &mut self.product_id)?; in merge_from()
[all …]