Home
last modified time | relevance | path

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

/system/keymaster/km_openssl/
Dattestation_record.cpp193 uint8_t ueid[kUeidLength]; in imei_to_ueid() local
194 ueid[0] = kImeiTypeByte; in imei_to_ueid()
199 ueid[i] = imei_blob.data[i - 1] - '0'; // Intentionally skip check digit at last position. in imei_to_ueid()
202 *out = cppbor::Bstr(std::pair(ueid, sizeof(ueid))); in imei_to_ueid()
206 keymaster_error_t ueid_to_imei_blob(const cppbor::Bstr* ueid, keymaster_blob_t* out) { in ueid_to_imei_blob() argument
207 ASSERT_OR_RETURN_ERROR(ueid, KM_ERROR_INVALID_TAG); in ueid_to_imei_blob()
208 const std::vector<uint8_t>& ueid_vec = ueid->value(); in ueid_to_imei_blob()
467 cppbor::Bstr ueid(""); in build_eat_submod() local
468 keymaster_error_t error = imei_to_ueid(entry.blob, &ueid); in build_eat_submod()
470 submod->add(EatClaim::UEID, ueid); in build_eat_submod()