Home
last modified time | relevance | path

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

/system/keymaster/tests/
Dattestation_record_test.cpp357 EatSecurityLevel submod_security_level; in TEST()
364 submod_security_level = (EatSecurityLevel)value_item->asInt()->value(); in TEST()
367 if (submod_security_level == EatSecurityLevel::UNRESTRICTED) { in TEST()
369 } else if (submod_security_level == EatSecurityLevel::SECURE_RESTRICTED) { in TEST()
/system/keymaster/km_openssl/
Dattestation_record.cpp100 static int64_t get_uint32_value(EatSecurityLevel level) { in get_uint32_value()
262 const EatSecurityLevel security_level, cppbor::Map* submod) { in build_eat_submod()
280 if (security_level == EatSecurityLevel::UNRESTRICTED) { in build_eat_submod()
813 eat_record.add(EatClaim::SECURITY_LEVEL, get_uint32_value(EatSecurityLevel::UNRESTRICTED)); in build_eat_record()
817 get_uint32_value(EatSecurityLevel::SECURE_RESTRICTED)); in build_eat_record()
820 eat_record.add(EatClaim::SECURITY_LEVEL, get_uint32_value(EatSecurityLevel::HARDWARE)); in build_eat_record()
901 error = build_eat_submod(sw_enforced, EatSecurityLevel::UNRESTRICTED, &software_submod); in build_eat_record()
905 error = build_eat_submod(tee_enforced, EatSecurityLevel::SECURE_RESTRICTED, &tee_submod); in build_eat_record()
1527 switch ((EatSecurityLevel)int_value->value()) { in parse_eat_record()
1531 case EatSecurityLevel::UNRESTRICTED: in parse_eat_record()
[all …]
/system/keymaster/include/keymaster/km_openssl/
Dattestation_record.h296 enum class EatSecurityLevel { enum
385 EatSecurityLevel security_level, cppbor::Map* submod);