Searched refs:calculate_luhn_checksum_digit (Results 1 – 4 of 4) sorted by relevance
/trusty/user/app/keymaster/ |
D | second_imei_attestation.cpp | 34 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()
|
D | second_imei_attestation.h | 25 uint8_t calculate_luhn_checksum_digit(uint64_t val);
|
/trusty/user/app/keymaster/device_unittest/ |
D | main.cpp | 50 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/ |
D | main.cpp | 57 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()
|