commit | 9e63188f934a4a57c9845ef2da3053d010fbfaf2 | [log] [tgz] |
---|---|---|
author | David Drysdale <drysdale@google.com> | Thu Aug 19 17:53:54 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Aug 19 17:53:54 2021 +0000 |
tree | 2c008104674e422f83e31f77616c8c9cc0e16622 | |
parent | 56ee8d8e2ff0a5fffa9b4e193fc1357cc9cacb4c [diff] | |
parent | bac1a4098b7e64ae6a5242fed2748b69ab41ab7c [diff] |
KeyMint VTS: add missing purpose/algo am: ca76a75096 am: bac1a4098b Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15624902 Change-Id: I11a31c88479edcdafb1d520a1491ec9717557c66
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); } /*