1 /***************************************************************************//**
2  * @file
3  * @brief Crypto Compatibility Header
4  *******************************************************************************
5  * # License
6  * <b>Copyright 2020 Silicon Laboratories Inc. www.silabs.com</b>
7  *******************************************************************************
8  *
9  * SPDX-License-Identifier: Zlib
10  *
11  * The licensor of this software is Silicon Laboratories Inc.
12  *
13  * This software is provided 'as-is', without any express or implied
14  * warranty. In no event will the authors be held liable for any damages
15  * arising from the use of this software.
16  *
17  * Permission is granted to anyone to use this software for any purpose,
18  * including commercial applications, and to alter it and redistribute it
19  * freely, subject to the following restrictions:
20  *
21  * 1. The origin of this software must not be misrepresented; you must not
22  *    claim that you wrote the original software. If you use this software
23  *    in a product, an acknowledgment in the product documentation would be
24  *    appreciated but is not required.
25  * 2. Altered source versions must be plainly marked as such, and must not be
26  *    misrepresented as being the original software.
27  * 3. This notice may not be removed or altered from any source distribution.
28  *
29  ******************************************************************************/
30 
31 #ifndef EM_CRYPTO_COMPAT_H
32 #define EM_CRYPTO_COMPAT_H
33 
34 #if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_2)
35 
36 #define CRYPTOACC_IEN_FETCHERENDOFBLOCKIEN                         CRYPTOACC_IEN_FETCHERENDOFBLOCK
37 #define _CRYPTOACC_IEN_FETCHERENDOFBLOCKIEN_SHIFT                  _CRYPTOACC_IEN_FETCHERENDOFBLOCK_SHIFT
38 #define _CRYPTOACC_IEN_FETCHERENDOFBLOCKIEN_MASK                   _CRYPTOACC_IEN_FETCHERENDOFBLOCK_MASK
39 #define _CRYPTOACC_IEN_FETCHERENDOFBLOCKIEN_DEFAULT                _CRYPTOACC_IEN_FETCHERENDOFBLOCK_DEFAULT
40 #define CRYPTOACC_IEN_FETCHERENDOFBLOCKIEN_DEFAULT                 CRYPTOACC_IEN_FETCHERENDOFBLOCK_DEFAULT
41 
42 #define CRYPTOACC_IEN_FETCHERSTOPPEDIEN                            CRYPTOACC_IEN_FETCHERSTOPPED
43 #define _CRYPTOACC_IEN_FETCHERSTOPPEDIEN_SHIFT                     _CRYPTOACC_IEN_FETCHERSTOPPED_SHIFT
44 #define _CRYPTOACC_IEN_FETCHERSTOPPEDIEN_MASK                      _CRYPTOACC_IEN_FETCHERSTOPPED_MASK
45 #define _CRYPTOACC_IEN_FETCHERSTOPPEDIEN_DEFAULT                   _CRYPTOACC_IEN_FETCHERSTOPPED_DEFAULT
46 #define CRYPTOACC_IEN_FETCHERSTOPPEDIEN_DEFAULT                    CRYPTOACC_IEN_FETCHERSTOPPED_DEFAULT
47 
48 #define CRYPTOACC_IEN_FETCHERERRORIEN                              CRYPTOACC_IEN_FETCHERERROR
49 #define _CRYPTOACC_IEN_FETCHERERRORIEN_SHIFT                       _CRYPTOACC_IEN_FETCHERERROR_SHIFT
50 #define _CRYPTOACC_IEN_FETCHERERRORIEN_MASK                        _CRYPTOACC_IEN_FETCHERERROR_MASK
51 #define _CRYPTOACC_IEN_FETCHERERRORIEN_DEFAULT                     _CRYPTOACC_IEN_FETCHERERROR_DEFAULT
52 #define CRYPTOACC_IEN_FETCHERERRORIEN_DEFAULT                      CRYPTOACC_IEN_FETCHERERROR_DEFAULT
53 
54 #define CRYPTOACC_IEN_PUSHERENDOFBLOCKIEN                          CRYPTOACC_IEN_PUSHERENDOFBLOCK
55 #define _CRYPTOACC_IEN_PUSHERENDOFBLOCKIEN_SHIFT                   _CRYPTOACC_IEN_PUSHERENDOFBLOCK_SHIFT
56 #define _CRYPTOACC_IEN_PUSHERENDOFBLOCKIEN_MASK                    _CRYPTOACC_IEN_PUSHERENDOFBLOCK_MASK
57 #define _CRYPTOACC_IEN_PUSHERENDOFBLOCKIEN_DEFAULT                 _CRYPTOACC_IEN_PUSHERENDOFBLOCK_DEFAULT
58 #define CRYPTOACC_IEN_PUSHERENDOFBLOCKIEN_DEFAULT                  CRYPTOACC_IEN_PUSHERENDOFBLOCK_DEFAULT
59 
60 #define CRYPTOACC_IEN_PUSHERSTOPPEDIEN                             CRYPTOACC_IEN_PUSHERSTOPPED
61 #define _CRYPTOACC_IEN_PUSHERSTOPPEDIEN_SHIFT                      _CRYPTOACC_IEN_PUSHERSTOPPED_SHIFT
62 #define _CRYPTOACC_IEN_PUSHERSTOPPEDIEN_MASK                       _CRYPTOACC_IEN_PUSHERSTOPPED_MASK
63 #define _CRYPTOACC_IEN_PUSHERSTOPPEDIEN_DEFAULT                    _CRYPTOACC_IEN_PUSHERSTOPPED_DEFAULT
64 #define CRYPTOACC_IEN_PUSHERSTOPPEDIEN_DEFAULT                     CRYPTOACC_IEN_PUSHERSTOPPED_DEFAULT
65 
66 #define CRYPTOACC_IEN_PUSHERERRORIEN                               CRYPTOACC_IEN_PUSHERERROR
67 #define _CRYPTOACC_IEN_PUSHERERRORIEN_SHIFT                        _CRYPTOACC_IEN_PUSHERERROR_SHIFT
68 #define _CRYPTOACC_IEN_PUSHERERRORIEN_MASK                         _CRYPTOACC_IEN_PUSHERERROR_MASK
69 #define _CRYPTOACC_IEN_PUSHERERRORIEN_DEFAULT                      _CRYPTOACC_IEN_PUSHERERROR_DEFAULT
70 #define CRYPTOACC_IEN_PUSHERERRORIEN_DEFAULT                       CRYPTOACC_IEN_PUSHERERROR_DEFAULT
71 
72 #define CRYPTOACC_IF_FETCHERENDOFBLOCKIF                          CRYPTOACC_IF_FETCHERENDOFBLOCK
73 #define _CRYPTOACC_IF_FETCHERENDOFBLOCKIF_SHIFT                   _CRYPTOACC_IF_FETCHERENDOFBLOCK_SHIFT
74 #define _CRYPTOACC_IF_FETCHERENDOFBLOCKIF_MASK                    _CRYPTOACC_IF_FETCHERENDOFBLOCK_MASK
75 #define _CRYPTOACC_IF_FETCHERENDOFBLOCKIF_DEFAULT                 _CRYPTOACC_IF_FETCHERENDOFBLOCK_DEFAULT
76 #define CRYPTOACC_IF_FETCHERENDOFBLOCKIF_DEFAULT                  CRYPTOACC_IF_FETCHERENDOFBLOCK_DEFAULT
77 
78 #define CRYPTOACC_IF_FETCHERSTOPPEDIF                             CRYPTOACC_IF_FETCHERSTOPPED
79 #define _CRYPTOACC_IF_FETCHERSTOPPEDIF_SHIFT                      _CRYPTOACC_IF_FETCHERSTOPPED_SHIFT
80 #define _CRYPTOACC_IF_FETCHERSTOPPEDIF_MASK                       _CRYPTOACC_IF_FETCHERSTOPPED_MASK
81 #define _CRYPTOACC_IF_FETCHERSTOPPEDIF_DEFAULT                    _CRYPTOACC_IF_FETCHERSTOPPED_DEFAULT
82 #define CRYPTOACC_IF_FETCHERSTOPPEDIF_DEFAULT                     CRYPTOACC_IF_FETCHERSTOPPED_DEFAULT
83 
84 #define CRYPTOACC_IF_FETCHERERRORIF                               CRYPTOACC_IF_FETCHERERROR
85 #define _CRYPTOACC_IF_FETCHERERRORIF_SHIFT                        _CRYPTOACC_IF_FETCHERERROR_SHIFT
86 #define _CRYPTOACC_IF_FETCHERERRORIF_MASK                         _CRYPTOACC_IF_FETCHERERROR_MASK
87 #define _CRYPTOACC_IF_FETCHERERRORIF_DEFAULT                      _CRYPTOACC_IF_FETCHERERROR_DEFAULT
88 #define CRYPTOACC_IF_FETCHERERRORIF_DEFAULT                       CRYPTOACC_IF_FETCHERERROR_DEFAULT
89 
90 #define CRYPTOACC_IF_PUSHERENDOFBLOCKIF                           CRYPTOACC_IF_PUSHERENDOFBLOCK
91 #define _CRYPTOACC_IF_PUSHERENDOFBLOCKIF_SHIFT                    _CRYPTOACC_IF_PUSHERENDOFBLOCK_SHIFT
92 #define _CRYPTOACC_IF_PUSHERENDOFBLOCKIF_MASK                     _CRYPTOACC_IF_PUSHERENDOFBLOCK_MASK
93 #define _CRYPTOACC_IF_PUSHERENDOFBLOCKIF_DEFAULT                  _CRYPTOACC_IF_PUSHERENDOFBLOCK_DEFAULT
94 #define CRYPTOACC_IF_PUSHERENDOFBLOCKIF_DEFAULT                   CRYPTOACC_IF_PUSHERENDOFBLOCK_DEFAULT
95 
96 #define CRYPTOACC_IF_PUSHERSTOPPEDIF                              CRYPTOACC_IF_PUSHERSTOPPED
97 #define _CRYPTOACC_IF_PUSHERSTOPPEDIF_SHIFT                       _CRYPTOACC_IF_PUSHERSTOPPED_SHIFT
98 #define _CRYPTOACC_IF_PUSHERSTOPPEDIF_MASK                        _CRYPTOACC_IF_PUSHERSTOPPED_MASK
99 #define _CRYPTOACC_IF_PUSHERSTOPPEDIF_DEFAULT                     _CRYPTOACC_IF_PUSHERSTOPPED_DEFAULT
100 #define CRYPTOACC_IF_PUSHERSTOPPEDIF_DEFAULT                      CRYPTOACC_IF_PUSHERSTOPPED_DEFAULT
101 
102 #define CRYPTOACC_IF_PUSHERERRORIF                                CRYPTOACC_IF_PUSHERERROR
103 #define _CRYPTOACC_IF_PUSHERERRORIF_SHIFT                         _CRYPTOACC_IF_PUSHERERROR_SHIFT
104 #define _CRYPTOACC_IF_PUSHERERRORIF_MASK                          _CRYPTOACC_IF_PUSHERERROR_MASK
105 #define _CRYPTOACC_IF_PUSHERERRORIF_DEFAULT                       _CRYPTOACC_IF_PUSHERERROR_DEFAULT
106 #define CRYPTOACC_IF_PUSHERERRORIF_DEFAULT                        CRYPTOACC_IF_PUSHERERROR_DEFAULT
107 
108 #define CRYPTOACC_IF_CLR_FETCHERENDOFBLOCKIFC                     CRYPTOACC_IF_CLR_FETCHERENDOFBLOCK
109 #define _CRYPTOACC_IF_CLR_FETCHERENDOFBLOCKIFC_SHIFT              _CRYPTOACC_IF_CLR_FETCHERENDOFBLOCK_SHIFT
110 #define _CRYPTOACC_IF_CLR_FETCHERENDOFBLOCKIFC_MASK               _CRYPTOACC_IF_CLR_FETCHERENDOFBLOCK_MASK
111 #define _CRYPTOACC_IF_CLR_FETCHERENDOFBLOCKIFC_DEFAULT            _CRYPTOACC_IF_CLR_FETCHERENDOFBLOCK_DEFAULT
112 #define CRYPTOACC_IF_CLR_FETCHERENDOFBLOCKIFC_DEFAULT             CRYPTOACC_IF_CLR_FETCHERENDOFBLOCK_DEFAULT
113 
114 #define CRYPTOACC_IF_CLR_FETCHERSTOPPEDIFC                        CRYPTOACC_IF_CLR_FETCHERSTOPPED
115 #define _CRYPTOACC_IF_CLR_FETCHERSTOPPEDIFC_SHIFT                 _CRYPTOACC_IF_CLR_FETCHERSTOPPED_SHIFT
116 #define _CRYPTOACC_IF_CLR_FETCHERSTOPPEDIFC_MASK                  _CRYPTOACC_IF_CLR_FETCHERSTOPPED_MASK
117 #define _CRYPTOACC_IF_CLR_FETCHERSTOPPEDIFC_DEFAULT               _CRYPTOACC_IF_CLR_FETCHERSTOPPED_DEFAULT
118 #define CRYPTOACC_IF_CLR_FETCHERSTOPPEDIFC_DEFAULT                CRYPTOACC_IF_CLR_FETCHERSTOPPED_DEFAULT
119 
120 #define CRYPTOACC_IF_CLR_FETCHERERRORIFC                          CRYPTOACC_IF_CLR_FETCHERERROR
121 #define _CRYPTOACC_IF_CLR_FETCHERERRORIFC_SHIFT                   _CRYPTOACC_IF_CLR_FETCHERERROR_SHIFT
122 #define _CRYPTOACC_IF_CLR_FETCHERERRORIFC_MASK                    _CRYPTOACC_IF_CLR_FETCHERERROR_MASK
123 #define _CRYPTOACC_IF_CLR_FETCHERERRORIFC_DEFAULT                 _CRYPTOACC_IF_CLR_FETCHERERROR_DEFAULT
124 #define CRYPTOACC_IF_CLR_FETCHERERRORIFC_DEFAULT                  CRYPTOACC_IF_CLR_FETCHERERROR_DEFAULT
125 
126 #define CRYPTOACC_IF_CLR_PUSHERENDOFBLOCKIFC                      CRYPTOACC_IF_CLR_PUSHERENDOFBLOCK
127 #define _CRYPTOACC_IF_CLR_PUSHERENDOFBLOCKIFC_SHIFT               _CRYPTOACC_IF_CLR_PUSHERENDOFBLOCK_SHIFT
128 #define _CRYPTOACC_IF_CLR_PUSHERENDOFBLOCKIFC_MASK                _CRYPTOACC_IF_CLR_PUSHERENDOFBLOCK_MASK
129 #define _CRYPTOACC_IF_CLR_PUSHERENDOFBLOCKIFC_DEFAULT             _CRYPTOACC_IF_CLR_PUSHERENDOFBLOCK_DEFAULT
130 #define CRYPTOACC_IF_CLR_PUSHERENDOFBLOCKIFC_DEFAULT              CRYPTOACC_IF_CLR_PUSHERENDOFBLOCK_DEFAULT
131 
132 #define CRYPTOACC_IF_CLR_PUSHERSTOPPEDIFC                         CRYPTOACC_IF_CLR_PUSHERSTOPPED
133 #define _CRYPTOACC_IF_CLR_PUSHERSTOPPEDIFC_SHIFT                  _CRYPTOACC_IF_CLR_PUSHERSTOPPED_SHIFT
134 #define _CRYPTOACC_IF_CLR_PUSHERSTOPPEDIFC_MASK                   _CRYPTOACC_IF_CLR_PUSHERSTOPPED_MASK
135 #define _CRYPTOACC_IF_CLR_PUSHERSTOPPEDIFC_DEFAULT                _CRYPTOACC_IF_CLR_PUSHERSTOPPED_DEFAULT
136 #define CRYPTOACC_IF_CLR_PUSHERSTOPPEDIFC_DEFAULT                 CRYPTOACC_IF_CLR_PUSHERSTOPPED_DEFAULT
137 
138 #define CRYPTOACC_IF_CLR_PUSHERERRORIFC                           CRYPTOACC_IF_CLR_PUSHERERROR
139 #define _CRYPTOACC_IF_CLR_PUSHERERRORIFC_SHIFT                    _CRYPTOACC_IF_CLR_PUSHERERROR_SHIFT
140 #define _CRYPTOACC_IF_CLR_PUSHERERRORIFC_MASK                     _CRYPTOACC_IF_CLR_PUSHERERROR_MASK
141 #define _CRYPTOACC_IF_CLR_PUSHERERRORIFC_DEFAULT                  _CRYPTOACC_IF_CLR_PUSHERERROR_DEFAULT
142 #define CRYPTOACC_IF_CLR_PUSHERERRORIFC_DEFAULT                   CRYPTOACC_IF_CLR_PUSHERERROR_DEFAULT
143 
144 #endif /* _SILICON_LABS_32B_SERIES_2_CONFIG_2 */
145 #endif /* EM_CRYPTO_COMPAT_H */
146