Home
last modified time | relevance | path

Searched refs:validate_second_imei (Results 1 – 5 of 5) sorted by relevance

/trusty/user/app/keymaster/
Dsecond_imei_attestation.h29 bool validate_second_imei(const keymaster_blob_t& received_second_imei,
Dsecond_imei_attestation.cpp54 bool validate_second_imei(const keymaster_blob_t& received_second_imei, in validate_second_imei() function
Dtrusty_keymaster_context.cpp1020 !validate_second_imei(entry.blob, imei_numeric); in VerifyAndCopyDeviceIds()
/trusty/user/app/keymaster/device_unittest/
Dmain.cpp56 using keymaster::validate_second_imei;
299 ASSERT_EQ(true, validate_second_imei(toBlob(second_imei), first_imei)); in TestSecondImeiValidation()
302 validate_second_imei(toBlob(second_imei_not_seq), first_imei)); in TestSecondImeiValidation()
303 ASSERT_EQ(false, validate_second_imei(toBlob(invalid_imei), first_imei)); in TestSecondImeiValidation()
305 validate_second_imei(toBlob(invalid_seq_imei), first_imei)); in TestSecondImeiValidation()
/trusty/user/app/keymaster/host_unittest/
Dmain.cpp63 using keymaster::validate_second_imei;
413 ASSERT_EQ(true, validate_second_imei(toBlob(second_imei), first_imei)); in TestSecondImeiValidation()
416 validate_second_imei(toBlob(second_imei_not_seq), first_imei)); in TestSecondImeiValidation()
417 ASSERT_EQ(false, validate_second_imei(toBlob(invalid_imei), first_imei)); in TestSecondImeiValidation()
419 validate_second_imei(toBlob(invalid_seq_imei), first_imei)); in TestSecondImeiValidation()