Tamas Ban | f549275 | 2022-01-18 16:19:17 +0100 | [diff] [blame] | 1 | /* |
| 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 | |
| 16 | struct 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 */ |