Searched refs:product_id (Results 1 – 6 of 6) sorted by relevance
/trusty/user/app/keymaster/ |
D | secure_storage_manager.h | 161 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]);
|
D | secure_storage_manager.cpp | 417 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()
|
D | keymaster_attributes.pb.h | 61 KeymasterAttributes_product_id_t product_id; member
|
D | keymaster_attributes.pb.c | 15 PB_FIELD( 2, BYTES , OPTIONAL, STATIC , OTHER, KeymasterAttributes, product_id, uuid, 0),
|
D | keymaster_attributes.proto | 44 optional bytes product_id = 2 [(nanopb).max_size=16]; field
|
/trusty/user/app/keymint/ |
D | keymaster_attributes.rs | 30 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 …]
|