Software APIs
keymgr_binding_value.h
1 // Copyright lowRISC contributors (OpenTitan project).
2 // Licensed under the Apache License, Version 2.0, see LICENSE for details.
3 // SPDX-License-Identifier: Apache-2.0
4 
5 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_KEYMGR_BINDING_VALUE_H_
6 #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_KEYMGR_BINDING_VALUE_H_
7 
8 #include <stdint.h>
9 
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif // __cplusplus
15 
16 /**
17  * Binding value used by key manager to derive secret values.
18  *
19  * A change in this value changes the secret value of key manager, and
20  * consequently, the versioned keys and identity seeds generated at subsequent
21  * boot stages.
22  *
23  * Note: The size of this value is an implementation detail of the key manager
24  * hardware.
25  */
26 typedef struct keymgr_binding_value {
27  uint32_t data[8];
29 
32 
33 #ifdef __cplusplus
34 } // extern "C"
35 #endif // __cplusplus
36 
37 #endif // OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_KEYMGR_BINDING_VALUE_H_