Home
last modified time | relevance | path

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

/trusty/user/app/keymaster/
Dsecond_imei_attestation.cpp34 uint8_t calculate_luhn_checksum_digit(uint64_t val) { in calculate_luhn_checksum_digit() function
60 calculate_luhn_checksum_digit(second_imei_no_checksum); in validate_second_imei()
Dsecond_imei_attestation.h25 uint8_t calculate_luhn_checksum_digit(uint64_t val);
/trusty/user/app/keymaster/device_unittest/
Dmain.cpp50 using keymaster::calculate_luhn_checksum_digit;
276 ASSERT_EQ(0u, calculate_luhn_checksum_digit(0)); in TestLuhnChecksumCalculation()
277 ASSERT_EQ(3, calculate_luhn_checksum_digit(7992739871ul)); in TestLuhnChecksumCalculation()
278 ASSERT_EQ(3, calculate_luhn_checksum_digit(7992739871ul)); in TestLuhnChecksumCalculation()
279 ASSERT_EQ(6, calculate_luhn_checksum_digit(735423462345ul)); in TestLuhnChecksumCalculation()
280 ASSERT_EQ(4, calculate_luhn_checksum_digit(721367498765427ul)); in TestLuhnChecksumCalculation()
/trusty/user/app/keymaster/host_unittest/
Dmain.cpp57 using keymaster::calculate_luhn_checksum_digit;
390 ASSERT_EQ(0u, calculate_luhn_checksum_digit(0)); in TestLuhnChecksumCalculation()
391 ASSERT_EQ(3, calculate_luhn_checksum_digit(7992739871ul)); in TestLuhnChecksumCalculation()
392 ASSERT_EQ(3, calculate_luhn_checksum_digit(7992739871ul)); in TestLuhnChecksumCalculation()
393 ASSERT_EQ(6, calculate_luhn_checksum_digit(735423462345ul)); in TestLuhnChecksumCalculation()
394 ASSERT_EQ(4, calculate_luhn_checksum_digit(721367498765427ul)); in TestLuhnChecksumCalculation()