commit | 4f250c1009bdea92ffd4cc37fce18962055f510f | [log] [tgz] |
---|---|---|
author | David Drysdale <drysdale@google.com> | Thu Aug 19 18:12:15 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Aug 19 18:12:15 2021 +0000 |
tree | 6e82b1e1998bd877120d7789ef1c298ca1acb554 | |
parent | 16aa087f4a7c023aed1261bfcbe615f026eb391c [diff] | |
parent | 481915d74af73b050edf731e0f13261fe8242aaa [diff] |
KeyMint VTS: add missing purpose/algo am: ca76a75096 am: e3e0cf4702 am: 481915d74a Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15624902 Change-Id: I5fb2380de5306fa91162531efae78bc286a50702
diff --git a/security/keymint/aidl/vts/functional/KeyMintTest.cpp b/security/keymint/aidl/vts/functional/KeyMintTest.cpp index 931317f..651b21f 100644 --- a/security/keymint/aidl/vts/functional/KeyMintTest.cpp +++ b/security/keymint/aidl/vts/functional/KeyMintTest.cpp
@@ -1843,12 +1843,13 @@ if (SecLevel() == SecurityLevel::STRONGBOX) return; auto result = GenerateKey(AuthorizationSetBuilder() + .Authorization(TAG_ALGORITHM, Algorithm::EC) .Authorization(TAG_KEY_SIZE, 224) .Authorization(TAG_EC_CURVE, EcCurve::P_256) + .SigningKey() .Digest(Digest::NONE) .SetDefaultValidity()); - ASSERT_TRUE(result == ErrorCode::INVALID_ARGUMENT || - result == ErrorCode::UNSUPPORTED_ALGORITHM); + ASSERT_TRUE(result == ErrorCode::INVALID_ARGUMENT); } /*