Home
last modified time | relevance | path

Searched refs:EatSecurityLevel (Results 1 – 3 of 3) sorted by relevance

/system/keymaster/tests/
Dattestation_record_test.cpp329 EatSecurityLevel submod_security_level; in TEST()
336 submod_security_level = (EatSecurityLevel)value_item->asInt()->value(); in TEST()
339 if (submod_security_level == EatSecurityLevel::UNRESTRICTED) { in TEST()
341 } else if (submod_security_level == EatSecurityLevel::SECURE_RESTRICTED) { in TEST()
/system/keymaster/km_openssl/
Dattestation_record.cpp98 static int64_t get_uint32_value(EatSecurityLevel level) { in get_uint32_value()
281 const EatSecurityLevel security_level, cppbor::Map* submod) { in build_eat_submod()
299 if (security_level == EatSecurityLevel::UNRESTRICTED) { in build_eat_submod()
828 eat_record.add(EatClaim::SECURITY_LEVEL, get_uint32_value(EatSecurityLevel::UNRESTRICTED)); in build_eat_record()
832 get_uint32_value(EatSecurityLevel::SECURE_RESTRICTED)); in build_eat_record()
835 eat_record.add(EatClaim::SECURITY_LEVEL, get_uint32_value(EatSecurityLevel::HARDWARE)); in build_eat_record()
916 error = build_eat_submod(sw_enforced, EatSecurityLevel::UNRESTRICTED, &software_submod); in build_eat_record()
920 error = build_eat_submod(tee_enforced, EatSecurityLevel::SECURE_RESTRICTED, &tee_submod); in build_eat_record()
1501 switch ((EatSecurityLevel)int_value->value()) { in parse_eat_record()
1505 case EatSecurityLevel::UNRESTRICTED: in parse_eat_record()
[all …]
/system/keymaster/include/keymaster/km_openssl/
Dattestation_record.h290 enum class EatSecurityLevel { enum
369 EatSecurityLevel security_level, cppbor::Map* submod);