Home
last modified time | relevance | path

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

/system/keymaster/km_openssl/
Dattestation_record.cpp191 ASSERT_OR_RETURN_ERROR(imei_blob.data_length == kImeiBlobLength, KM_ERROR_INVALID_TAG); in imei_to_ueid()
212 uint8_t* imei_string = (uint8_t*)calloc(kImeiBlobLength, sizeof(uint8_t)); in ueid_to_imei_blob()
215 for (size_t i = 0; i < kImeiBlobLength - 1; i++) { in ueid_to_imei_blob()
221 imei_string[kImeiBlobLength - 1] = '0' + (10 - luhn_digit_sum % 10) % 10; in ueid_to_imei_blob()
223 *out = {.data = imei_string, .data_length = kImeiBlobLength}; in ueid_to_imei_blob()
/system/keymaster/include/keymaster/km_openssl/
Dattestation_record.h307 constexpr size_t kImeiBlobLength = 15; variable