AM243x MCU+ SDK  08.05.00
tisci_keystore.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2017-2022 Texas Instruments Incorporated
3  *
4  * Redistribution and use in source and binary forms, with or without
5  * modification, are permitted provided that the following conditions
6  * are met:
7  *
8  * Redistributions of source code must retain the above copyright
9  * notice, this list of conditions and the following disclaimer.
10  *
11  * Redistributions in binary form must reproduce the above copyright
12  * notice, this list of conditions and the following disclaimer in the
13  * documentation and/or other materials provided with the
14  * distribution.
15  *
16  * Neither the name of Texas Instruments Incorporated nor the names of
17  * its contributors may be used to endorse or promote products derived
18  * from this software without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  *
32  */
53 #ifndef TISCI_KEYSTORE_H_
54 #define TISCI_KEYSTORE_H_
55 
56 #ifdef __cplusplus
57 extern "C"
58 {
59 #endif
60 
61 
62 
64 #define KEYSTORE_ABI_MAJ_VALUE 0x00
65 
66 #define KEYSTORE_ABI_MIN_VALUE 0x01
67 
85  struct tisci_header hdr;
86  uint32_t keystore_lo;
87  uint32_t keystore_hi;
88 } __attribute__((__packed__));
89 
100  struct tisci_header hdr;
101 } __attribute__((__packed__));
102 
120  struct tisci_header hdr;
121  uint32_t keystore_lo;
122  uint32_t keystore_hi;
123 } __attribute__((__packed__));
124 
134  struct tisci_header hdr;
135 } __attribute__((__packed__));
136 
148  struct tisci_header hdr;
149  uint32_t keystore_lo;
150  uint32_t keystore_hi;
151 } __attribute__((__packed__));
152 
162  struct tisci_header hdr;
163 } __attribute__((__packed__));
164 
165 
166 #ifdef __cplusplus
167 }
168 #endif
169 
170 #endif /* TISCI_KEYSTORE_H_ */
171 
tisci_msg_keystore_write_req::keystore_lo
uint32_t keystore_lo
Definition: tisci_keystore.h:86
tisci_msg_keystore_import_resp::hdr
struct tisci_header hdr
Definition: tisci_keystore.h:162
tisci_msg_keystore_write_req
Request for writing the entire keystore contents.
Definition: tisci_keystore.h:84
tisci_msg_keystore_export_req
Request for exporting the entire keystore contents.
Definition: tisci_keystore.h:119
tisci_msg_keystore_import_req::keystore_hi
uint32_t keystore_hi
Definition: tisci_keystore.h:150
tisci_msg_keystore_import_resp
Response to the keystore import.
Definition: tisci_keystore.h:161
tisci_msg_keystore_write_resp::hdr
struct tisci_header hdr
Definition: tisci_keystore.h:100
tisci_msg_keystore_write_req::keystore_hi
uint32_t keystore_hi
Definition: tisci_keystore.h:87
tisci_header
Header that prefixes all TISCI messages.
Definition: tisci_protocol.h:95
tisci_msg_keystore_import_req::keystore_lo
uint32_t keystore_lo
Definition: tisci_keystore.h:149
tisci_msg_keystore_export_req::hdr
struct tisci_header hdr
Definition: tisci_keystore.h:120
__attribute__
struct tisci_msg_keystore_write_req __attribute__((__packed__))
tisci_msg_keystore_export_resp
Response to the keystore export.
Definition: tisci_keystore.h:133
tisci_msg_keystore_import_req
Request for importing a previously exported keystore.
Definition: tisci_keystore.h:147
tisci_msg_keystore_import_req::hdr
struct tisci_header hdr
Definition: tisci_keystore.h:148
tisci_msg_keystore_export_req::keystore_lo
uint32_t keystore_lo
Definition: tisci_keystore.h:121
tisci_msg_keystore_write_req::hdr
struct tisci_header hdr
Definition: tisci_keystore.h:85
tisci_msg_keystore_write_resp
Response to the keystore write.
Definition: tisci_keystore.h:99
tisci_msg_keystore_export_req::keystore_hi
uint32_t keystore_hi
Definition: tisci_keystore.h:122
tisci_msg_keystore_export_resp::hdr
struct tisci_header hdr
Definition: tisci_keystore.h:134