Home
last modified time | relevance | path

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

/system/keymaster/km_openssl/
Dattestation_record.cpp216 int luhn_digit_sum = 0; in ueid_to_imei_blob() local
221 luhn_digit_sum += i % 2 == 0 ? digit_i : digit_i * 2 / 10 + (digit_i * 2) % 10; in ueid_to_imei_blob()
223 imei_string[kImeiBlobLength - 1] = '0' + (10 - luhn_digit_sum % 10) % 10; in ueid_to_imei_blob()