mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
KeyMint: use a smaller invalid IMEI value am: 8351f33b2b am: 3a9d425ec6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2977372 Change-Id: Ie36ecb4968a0c3a8044fc34da31b19880f024a0f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -939,7 +939,9 @@ TEST_P(AttestKeyTest, EcdsaAttestationMismatchID) {
|
||||
.Authorization(TAG_ATTESTATION_ID_MODEL, "malicious-model");
|
||||
|
||||
if (isSecondImeiIdAttestationRequired()) {
|
||||
attestation_id_tags.Authorization(TAG_ATTESTATION_ID_SECOND_IMEI, "invalid-second-imei");
|
||||
// Note: the invalid value here is < 16 bytes long to avoid triggering any implementation
|
||||
// checks on valid IMEI lengths.
|
||||
attestation_id_tags.Authorization(TAG_ATTESTATION_ID_SECOND_IMEI, "invalid-imei2");
|
||||
}
|
||||
vector<uint8_t> key_blob;
|
||||
vector<KeyCharacteristics> key_characteristics;
|
||||
|
||||
Reference in New Issue
Block a user