Lines Matching refs:SecurityLevel
48 SecurityLevel KeymasterHidlTest::securityLevel_;
58 ->getHardwareInfo([&](SecurityLevel securityLevel, const hidl_string& name, in SetUpTestCase()
651 case SecurityLevel::TRUSTED_ENVIRONMENT: in ValidKeySizes()
653 case SecurityLevel::STRONGBOX: in ValidKeySizes()
662 case SecurityLevel::TRUSTED_ENVIRONMENT: in ValidKeySizes()
664 case SecurityLevel::STRONGBOX: in ValidKeySizes()
689 if (SecLevel() == SecurityLevel::TRUSTED_ENVIRONMENT) return {}; in InvalidKeySizes()
690 CHECK(SecLevel() == SecurityLevel::STRONGBOX); in InvalidKeySizes()
704 if (securityLevel_ == SecurityLevel::STRONGBOX) { in ValidCurves()
712 if (SecLevel() == SecurityLevel::TRUSTED_ENVIRONMENT) return {}; in InvalidCurves()
713 CHECK(SecLevel() == SecurityLevel::STRONGBOX); in InvalidCurves()
719 case SecurityLevel::TRUSTED_ENVIRONMENT: in ValidDigests()
737 case SecurityLevel::STRONGBOX: in ValidDigests()