blob: 9f98165bd31142d2a08c203f16347e914f2dc38e [file] [log] [blame]
David Drysdaleb95093d2024-01-11 19:26:57 +00001/*
2 * Copyright (C) 2023 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17//! Test helper functions.
18
19pub mod dice_sample;
20
21// Constants for DICE map keys.
22
23/// Map key for authority hash.
24pub const AUTHORITY_HASH: i64 = -4670549;
25/// Map key for config descriptor.
26pub const CONFIG_DESC: i64 = -4670548;
27/// Map key for component name.
28pub const COMPONENT_NAME: i64 = -70002;
29/// Map key for component version.
30pub const COMPONENT_VERSION: i64 = -70003;
31/// Map key for security version.
32pub const SECURITY_VERSION: i64 = -70005;
33/// Map key for mode.
34pub const MODE: i64 = -4670551;