Home
last modified time | relevance | path

Searched refs:first_imei (Results 1 – 4 of 4) sorted by relevance

/trusty/user/app/keymaster/
Dsecond_imei_attestation.cpp55 uint64_t first_imei) { in validate_second_imei() argument
58 const uint64_t second_imei_no_checksum = (first_imei / 10) + 1; in validate_second_imei()
Dsecond_imei_attestation.h30 uint64_t first_imei);
/trusty/user/app/keymaster/device_unittest/
Dmain.cpp290 const uint64_t first_imei = 721367498765404; in TestSecondImeiValidation() local
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.cpp404 const uint64_t first_imei = 721367498765404; in TestSecondImeiValidation() local
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()