commit | 701d363572c4ec5262ee0a8d1d5de72ccd6cf85b | [log] [tgz] |
---|---|---|
author | David Drysdale <drysdale@google.com> | Thu Aug 19 17:53:59 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Aug 19 17:53:59 2021 +0000 |
tree | 38047907fbdb1f64eae4e2e8fadad0d79992078f | |
parent | 5cdf1b444c1585b461f38bde377a3f95f73141a7 [diff] | |
parent | 9e52270470fec401ae0cc71011986aaf2d404e39 [diff] |
KeyMint VTS: add missing purpose/algo am: ca76a75096 am: 9e52270470 Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15624902 Change-Id: Ie94f1472ec2da3f1ad9108b2b169e149e7922b89
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); } /*