blob: 649c3f6a4ac0cff5ecec05e1d8c215be5ced23f0 [file] [log] [blame]
Tamas Banf5492752022-01-18 16:19:17 +01001/*
2 * Copyright (c) 2022, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
8#ifndef PSA_MEASURED_BOOT_PRIVATE_H
9#define PSA_MEASURED_BOOT_PRIVATE_H
10
11#include <stdint.h>
12
13/* Measured boot message types that distinguish its services */
14#define RSS_MEASURED_BOOT_EXTEND 1002U
15
16struct measured_boot_extend_iovec_t {
17 uint8_t index;
18 uint8_t lock_measurement;
19 uint32_t measurement_algo;
20 uint8_t sw_type[SW_TYPE_MAX_SIZE];
21 uint8_t sw_type_size;
22};
23
24#endif /* PSA_MEASURED_BOOT_PRIVATE_H */