1 //------------------------------------------------------------------------------
2 // Copyright 2012 (c) Silicon Laboratories Inc.
3 //
4 // SPDX-License-Identifier: Zlib
5 //
6 // This siHAL software is provided 'as-is', without any express or implied
7 // warranty. In no event will the authors be held liable for any damages
8 // arising from the use of this software.
9 //
10 // Permission is granted to anyone to use this software for any purpose,
11 // including commercial applications, and to alter it and redistribute it
12 // freely, subject to the following restrictions:
13 //
14 // 1. The origin of this software must not be misrepresented; you must not
15 //    claim that you wrote the original software. If you use this software
16 //    in a product, an acknowledgment in the product documentation would be
17 //    appreciated but is not required.
18 // 2. Altered source versions must be plainly marked as such, and must not be
19 //    misrepresented as being the original software.
20 // 3. This notice may not be removed or altered from any source distribution.
21 //------------------------------------------------------------------------------
22 
23 // Version: 1
24 
25 #ifndef __SI32_AES_A_Support_Guard__
26 #define __SI32_AES_A_Support_Guard__
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
32 //-----------------------------------------------------------------------------
33 // Define the Initialization Vector Structure
34 
35 typedef struct SI32_AES_A_Initialization_Vector_Struct
36 {
37    volatile uint32_t iv[4];
38 } SI32_AES_A_Initialization_Vector_Type;
39 
40 //-----------------------------------------------------------------------------
41 // Define the Hardware Key Structure
42 
43 typedef struct SI32_AES_A_Hardware_Key_Struct
44 {
45    volatile uint32_t hwkey[8];
46 } SI32_AES_A_Hardware_Key_Type;
47 
48 //-----------------------------------------------------------------------------
49 // Define the Hardware Counter Structure
50 
51 typedef struct SI32_AES_A_Hardware_Counter_Struct
52 {
53    volatile uint32_t hwctr[4];
54 } SI32_AES_A_Hardware_Counter_Type;
55 
56 //-----------------------------------------------------------------------------
57 
58 #ifdef __cplusplus
59 }
60 #endif
61 
62 #endif // __SI32_AES_A_Guard__
63 
64 //-eof--------------------------------------------------------------------------
65