Home
last modified time | relevance | path

Searched refs:GetSecurityLevel (Results 1 – 6 of 6) sorted by relevance

/system/keymaster/include/keymaster/contexts/
Dsoft_attestation_context.h29 keymaster_security_level_t GetSecurityLevel() const override { in GetSecurityLevel() function
Dpure_soft_keymaster_context.h135 keymaster_security_level_t GetSecurityLevel() const override { return security_level_; } in GetSecurityLevel() function
/system/keymaster/include/keymaster/
Dattestation_context.h42 virtual keymaster_security_level_t GetSecurityLevel() const = 0;
/system/keymaster/contexts/
Dpure_soft_keymaster_context.cpp131 if (GetSecurityLevel() != KM_SECURITY_LEVEL_SOFTWARE && in CreateKeyBlob()
142 if (GetSecurityLevel() != KM_SECURITY_LEVEL_SOFTWARE) { in CreateKeyBlob()
301 if (GetSecurityLevel() != KM_SECURITY_LEVEL_SOFTWARE && in DeleteKey()
314 if (GetSecurityLevel() != KM_SECURITY_LEVEL_SOFTWARE && in DeleteAllKeys()
/system/keymaster/km_openssl/
Dattestation_record.cpp826 switch (context.GetSecurityLevel()) { in build_eat_record()
897 context.GetSecurityLevel() == KM_SECURITY_LEVEL_SOFTWARE ? &sw_enforced : &tee_enforced); in build_eat_record()
911 context.GetSecurityLevel() == KM_SECURITY_LEVEL_STRONGBOX) { in build_eat_record()
977 if (context.GetSecurityLevel() == KM_SECURITY_LEVEL_SOFTWARE) { in build_attestation_record()
1007 !ASN1_ENUMERATED_set(key_desc->attestation_security_level, context.GetSecurityLevel()) || in build_attestation_record()
1010 !ASN1_ENUMERATED_set(key_desc->keymaster_security_level, context.GetSecurityLevel())) { in build_attestation_record()
1036 context.GetSecurityLevel() == KM_SECURITY_LEVEL_SOFTWARE ? &sw_enforced : &tee_enforced); in build_attestation_record()
1050 context.GetSecurityLevel() == KM_SECURITY_LEVEL_STRONGBOX) { in build_attestation_record()
/system/keymaster/tests/
Dattestation_record_test.cpp42 keymaster_security_level_t GetSecurityLevel() const override { in GetSecurityLevel() function in keymaster::test::TestContext