Home
last modified time | relevance | path

Searched refs:second_imei (Results 1 – 10 of 10) sorted by relevance

/trusty/user/app/keymaster/
Dsecond_imei_attestation.cpp61 const uint64_t second_imei = second_imei_no_checksum * 10 + checksum_digit; in validate_second_imei() local
66 "%" PRIu64, second_imei); in validate_second_imei()
Dkeymaster_attributes.pb.h51 AttestationIds_second_imei_t second_imei; member
Dsecure_storage_manager.cpp565 if (request.second_imei.buffer_size() > kAttestationIdLengthMax) { in SetAttestationIdsKM3()
567 request.second_imei.buffer_size()); in SetAttestationIdsKM3()
569 } else if (request.second_imei.buffer_size() > 0) { in SetAttestationIdsKM3()
571 result.ids->second_imei.size = request.second_imei.buffer_size(); in SetAttestationIdsKM3()
572 memcpy(result.ids->second_imei.bytes, request.second_imei.begin(), in SetAttestationIdsKM3()
573 request.second_imei.buffer_size()); in SetAttestationIdsKM3()
Dkeymaster_attributes.pb.c97 second_imei,
Dkeymaster_attributes.proto56 optional bytes second_imei = 9 [(nanopb).max_size=64]; field
Dtrusty_keymaster_context.cpp1003 if (ids.second_imei.size > 0) { in VerifyAndCopyDeviceIds()
1005 entry.blob, ids.second_imei); in VerifyAndCopyDeviceIds()
/trusty/user/app/keymint/
Dkeymaster_attributes.rs258 second_imei: ::protobuf::SingularField<::std::vec::Vec<u8>>, field
567 match self.second_imei.as_ref() { in get_second_imei()
573 self.second_imei.clear(); in clear_second_imei()
577 self.second_imei.is_some() in has_second_imei()
582 self.second_imei = ::protobuf::SingularField::some(v); in set_second_imei()
588 if self.second_imei.is_none() { in mut_second_imei()
589 self.second_imei.set_default(); in mut_second_imei()
591 self.second_imei.as_mut().unwrap() in mut_second_imei()
596 self.second_imei.take().unwrap_or_else(|| ::std::vec::Vec::new()) in take_second_imei()
634 ::protobuf::rt::read_singular_bytes_into(wire_type, is, &mut self.second_imei)?; in merge_from()
[all …]
Dipc_manager.rs383 Some(&req.second_imei), in handle_message()
/trusty/user/app/keymaster/device_unittest/
Dmain.cpp292 const char* second_imei = "721367498765412"; in TestSecondImeiValidation() local
299 ASSERT_EQ(true, validate_second_imei(toBlob(second_imei), first_imei)); in TestSecondImeiValidation()
/trusty/user/app/keymaster/host_unittest/
Dmain.cpp406 const char* second_imei = "721367498765412"; in TestSecondImeiValidation() local
413 ASSERT_EQ(true, validate_second_imei(toBlob(second_imei), first_imei)); in TestSecondImeiValidation()