Home
last modified time | relevance | path

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

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