mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 21:37:44 +00:00
Merge "Fix StrongBoxOnly test" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ba1a4c7f6d
@@ -155,8 +155,8 @@ void check_attestation_record(AttestationRecord attestation, const HidlBuf& chal
|
||||
using std::string;
|
||||
using DeviceUniqueAttestationTest = Keymaster4_1HidlTest;
|
||||
|
||||
TEST_P(DeviceUniqueAttestationTest, StrongBoxOnly) {
|
||||
if (SecLevel() != SecurityLevel::STRONGBOX) return;
|
||||
TEST_P(DeviceUniqueAttestationTest, NonStrongBoxOnly) {
|
||||
if (SecLevel() == SecurityLevel::STRONGBOX) return;
|
||||
|
||||
ASSERT_EQ(ErrorCode::OK, convert(GenerateKey(AuthorizationSetBuilder()
|
||||
.Authorization(TAG_NO_AUTH_REQUIRED)
|
||||
|
||||
Reference in New Issue
Block a user