Merge "Allow device properties tags for attestation" am: 9a2f497439
Change-Id: Ie6d745578c951cd7c69e709b63d7051055bb644c
This commit is contained in:
commit
3fd8b10984
1 changed files with 21 additions and 15 deletions
|
@ -112,6 +112,11 @@ DECLARE_TYPED_TAG(APPLICATION_ID);
|
||||||
DECLARE_TYPED_TAG(ASSOCIATED_DATA);
|
DECLARE_TYPED_TAG(ASSOCIATED_DATA);
|
||||||
DECLARE_TYPED_TAG(ATTESTATION_APPLICATION_ID);
|
DECLARE_TYPED_TAG(ATTESTATION_APPLICATION_ID);
|
||||||
DECLARE_TYPED_TAG(ATTESTATION_CHALLENGE);
|
DECLARE_TYPED_TAG(ATTESTATION_CHALLENGE);
|
||||||
|
DECLARE_TYPED_TAG(ATTESTATION_ID_BRAND);
|
||||||
|
DECLARE_TYPED_TAG(ATTESTATION_ID_DEVICE);
|
||||||
|
DECLARE_TYPED_TAG(ATTESTATION_ID_PRODUCT);
|
||||||
|
DECLARE_TYPED_TAG(ATTESTATION_ID_MANUFACTURER);
|
||||||
|
DECLARE_TYPED_TAG(ATTESTATION_ID_MODEL);
|
||||||
DECLARE_TYPED_TAG(AUTH_TIMEOUT);
|
DECLARE_TYPED_TAG(AUTH_TIMEOUT);
|
||||||
DECLARE_TYPED_TAG(BLOB_USAGE_REQUIREMENTS);
|
DECLARE_TYPED_TAG(BLOB_USAGE_REQUIREMENTS);
|
||||||
DECLARE_TYPED_TAG(BLOCK_MODE);
|
DECLARE_TYPED_TAG(BLOCK_MODE);
|
||||||
|
@ -155,21 +160,22 @@ DECLARE_TYPED_TAG(VENDOR_PATCHLEVEL);
|
||||||
template <typename... Elems>
|
template <typename... Elems>
|
||||||
struct MetaList {};
|
struct MetaList {};
|
||||||
|
|
||||||
using all_tags_t =
|
using all_tags_t = MetaList<
|
||||||
MetaList<TAG_INVALID_t, TAG_KEY_SIZE_t, TAG_MAC_LENGTH_t, TAG_CALLER_NONCE_t,
|
TAG_INVALID_t, TAG_KEY_SIZE_t, TAG_MAC_LENGTH_t, TAG_CALLER_NONCE_t, TAG_MIN_MAC_LENGTH_t,
|
||||||
TAG_MIN_MAC_LENGTH_t, TAG_RSA_PUBLIC_EXPONENT_t, TAG_INCLUDE_UNIQUE_ID_t,
|
TAG_RSA_PUBLIC_EXPONENT_t, TAG_INCLUDE_UNIQUE_ID_t, TAG_ACTIVE_DATETIME_t,
|
||||||
TAG_ACTIVE_DATETIME_t, TAG_ORIGINATION_EXPIRE_DATETIME_t, TAG_USAGE_EXPIRE_DATETIME_t,
|
TAG_ORIGINATION_EXPIRE_DATETIME_t, TAG_USAGE_EXPIRE_DATETIME_t,
|
||||||
TAG_MIN_SECONDS_BETWEEN_OPS_t, TAG_MAX_USES_PER_BOOT_t, TAG_USER_ID_t,
|
TAG_MIN_SECONDS_BETWEEN_OPS_t, TAG_MAX_USES_PER_BOOT_t, TAG_USER_ID_t, TAG_USER_SECURE_ID_t,
|
||||||
TAG_USER_SECURE_ID_t, TAG_NO_AUTH_REQUIRED_t, TAG_AUTH_TIMEOUT_t,
|
TAG_NO_AUTH_REQUIRED_t, TAG_AUTH_TIMEOUT_t, TAG_ALLOW_WHILE_ON_BODY_t,
|
||||||
TAG_ALLOW_WHILE_ON_BODY_t, TAG_UNLOCKED_DEVICE_REQUIRED_t, TAG_APPLICATION_ID_t,
|
TAG_UNLOCKED_DEVICE_REQUIRED_t, TAG_APPLICATION_ID_t, TAG_APPLICATION_DATA_t,
|
||||||
TAG_APPLICATION_DATA_t, TAG_CREATION_DATETIME_t, TAG_ROLLBACK_RESISTANCE_t,
|
TAG_CREATION_DATETIME_t, TAG_ROLLBACK_RESISTANCE_t, TAG_HARDWARE_TYPE_t,
|
||||||
TAG_HARDWARE_TYPE_t, TAG_ROOT_OF_TRUST_t, TAG_ASSOCIATED_DATA_t, TAG_NONCE_t,
|
TAG_ROOT_OF_TRUST_t, TAG_ASSOCIATED_DATA_t, TAG_NONCE_t, TAG_BOOTLOADER_ONLY_t,
|
||||||
TAG_BOOTLOADER_ONLY_t, TAG_OS_VERSION_t, TAG_OS_PATCHLEVEL_t, TAG_UNIQUE_ID_t,
|
TAG_OS_VERSION_t, TAG_OS_PATCHLEVEL_t, TAG_UNIQUE_ID_t, TAG_ATTESTATION_CHALLENGE_t,
|
||||||
TAG_ATTESTATION_CHALLENGE_t, TAG_ATTESTATION_APPLICATION_ID_t,
|
TAG_ATTESTATION_APPLICATION_ID_t, TAG_ATTESTATION_ID_BRAND_t, TAG_ATTESTATION_ID_DEVICE_t,
|
||||||
TAG_RESET_SINCE_ID_ROTATION_t, TAG_PURPOSE_t, TAG_ALGORITHM_t, TAG_BLOCK_MODE_t,
|
TAG_ATTESTATION_ID_PRODUCT_t, TAG_ATTESTATION_ID_MANUFACTURER_t, TAG_ATTESTATION_ID_MODEL_t,
|
||||||
TAG_DIGEST_t, TAG_PADDING_t, TAG_BLOB_USAGE_REQUIREMENTS_t, TAG_ORIGIN_t,
|
TAG_RESET_SINCE_ID_ROTATION_t, TAG_PURPOSE_t, TAG_ALGORITHM_t, TAG_BLOCK_MODE_t,
|
||||||
TAG_USER_AUTH_TYPE_t, TAG_EC_CURVE_t, TAG_BOOT_PATCHLEVEL_t, TAG_VENDOR_PATCHLEVEL_t,
|
TAG_DIGEST_t, TAG_PADDING_t, TAG_BLOB_USAGE_REQUIREMENTS_t, TAG_ORIGIN_t,
|
||||||
TAG_TRUSTED_CONFIRMATION_REQUIRED_t, TAG_TRUSTED_USER_PRESENCE_REQUIRED_t>;
|
TAG_USER_AUTH_TYPE_t, TAG_EC_CURVE_t, TAG_BOOT_PATCHLEVEL_t, TAG_VENDOR_PATCHLEVEL_t,
|
||||||
|
TAG_TRUSTED_CONFIRMATION_REQUIRED_t, TAG_TRUSTED_USER_PRESENCE_REQUIRED_t>;
|
||||||
|
|
||||||
template <typename TypedTagType>
|
template <typename TypedTagType>
|
||||||
struct TypedTag2ValueType;
|
struct TypedTag2ValueType;
|
||||||
|
|
Loading…
Reference in a new issue