@@ -10,7 +10,7 @@ internal static partial class Interop
1010{
1111 internal static partial class Crypto
1212 {
13- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_CipherCreate" ) ]
13+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_CipherCreate" ) ]
1414 internal static extern SafeEvpCipherCtxHandle EvpCipherCreate (
1515 IntPtr cipher ,
1616 ref byte key ,
@@ -19,11 +19,11 @@ internal static extern SafeEvpCipherCtxHandle EvpCipherCreate(
1919 ref byte iv ,
2020 int enc ) ;
2121
22- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_CipherCreatePartial" ) ]
22+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_CipherCreatePartial" ) ]
2323 internal static extern SafeEvpCipherCtxHandle EvpCipherCreatePartial (
2424 IntPtr cipher ) ;
2525
26- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_CipherSetKeyAndIV" ) ]
26+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_CipherSetKeyAndIV" ) ]
2727 [ return : MarshalAs ( UnmanagedType . Bool ) ]
2828 private static extern bool EvpCipherSetKeyAndIV (
2929 SafeEvpCipherCtxHandle ctx ,
@@ -47,7 +47,7 @@ ref MemoryMarshal.GetReference(iv),
4747 }
4848 }
4949
50- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_CipherSetNonceLength" ) ]
50+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_CipherSetNonceLength" ) ]
5151 [ return : MarshalAs ( UnmanagedType . Bool ) ]
5252 private static extern bool AndroidCryptoNative_CipherSetNonceLength (
5353 SafeEvpCipherCtxHandle ctx , int nonceLength ) ;
@@ -60,18 +60,18 @@ internal static void CipherSetNonceLength(SafeEvpCipherCtxHandle ctx, int nonceL
6060 }
6161 }
6262
63- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_CipherDestroy" ) ]
63+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_CipherDestroy" ) ]
6464 internal static extern void EvpCipherDestroy ( IntPtr ctx ) ;
6565
66- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_CipherReset" ) ]
66+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_CipherReset" ) ]
6767 [ return : MarshalAs ( UnmanagedType . Bool ) ]
6868 internal static extern bool EvpCipherReset ( SafeEvpCipherCtxHandle ctx ) ;
6969
70- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_CipherCtxSetPadding" ) ]
70+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_CipherCtxSetPadding" ) ]
7171 [ return : MarshalAs ( UnmanagedType . Bool ) ]
7272 internal static extern bool EvpCipherCtxSetPadding ( SafeEvpCipherCtxHandle x , int padding ) ;
7373
74- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_CipherUpdate" ) ]
74+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_CipherUpdate" ) ]
7575 [ return : MarshalAs ( UnmanagedType . Bool ) ]
7676 private static extern bool EvpCipherUpdate (
7777 SafeEvpCipherCtxHandle ctx ,
@@ -94,7 +94,7 @@ ref MemoryMarshal.GetReference(input),
9494 input . Length ) ;
9595 }
9696
97- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_CipherUpdateAAD" ) ]
97+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_CipherUpdateAAD" ) ]
9898 [ return : MarshalAs ( UnmanagedType . Bool ) ]
9999 private static extern bool CipherUpdateAAD (
100100 SafeEvpCipherCtxHandle ctx ,
@@ -114,7 +114,7 @@ ref MemoryMarshal.GetReference(input),
114114 }
115115 }
116116
117- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_CipherFinalEx" ) ]
117+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_CipherFinalEx" ) ]
118118 [ return : MarshalAs ( UnmanagedType . Bool ) ]
119119 private static extern bool EvpCipherFinalEx (
120120 SafeEvpCipherCtxHandle ctx ,
@@ -129,91 +129,91 @@ internal static bool EvpCipherFinalEx(
129129 return EvpCipherFinalEx ( ctx , ref MemoryMarshal . GetReference ( output ) , out bytesWritten ) ;
130130 }
131131
132- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_CipherSetTagLength" ) ]
132+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_CipherSetTagLength" ) ]
133133 [ return : MarshalAs ( UnmanagedType . Bool ) ]
134134 internal static extern bool CipherSetTagLength (
135135 SafeEvpCipherCtxHandle ctx ,
136136 int tagLength ) ;
137137
138- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_Aes128Ecb" ) ]
138+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_Aes128Ecb" ) ]
139139 internal static extern IntPtr EvpAes128Ecb ( ) ;
140140
141- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_Aes128Cbc" ) ]
141+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_Aes128Cbc" ) ]
142142 internal static extern IntPtr EvpAes128Cbc ( ) ;
143143
144- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_Aes128Gcm" ) ]
144+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_Aes128Gcm" ) ]
145145 internal static extern IntPtr EvpAes128Gcm ( ) ;
146146
147- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_Aes128Cfb8" ) ]
147+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_Aes128Cfb8" ) ]
148148 internal static extern IntPtr EvpAes128Cfb8 ( ) ;
149149
150- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_Aes128Cfb128" ) ]
150+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_Aes128Cfb128" ) ]
151151 internal static extern IntPtr EvpAes128Cfb128 ( ) ;
152152
153- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_Aes128Ccm" ) ]
153+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_Aes128Ccm" ) ]
154154 internal static extern IntPtr EvpAes128Ccm ( ) ;
155155
156- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_Aes192Ecb" ) ]
156+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_Aes192Ecb" ) ]
157157 internal static extern IntPtr EvpAes192Ecb ( ) ;
158158
159- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_Aes192Cbc" ) ]
159+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_Aes192Cbc" ) ]
160160 internal static extern IntPtr EvpAes192Cbc ( ) ;
161161
162- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_Aes192Gcm" ) ]
162+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_Aes192Gcm" ) ]
163163 internal static extern IntPtr EvpAes192Gcm ( ) ;
164164
165- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_Aes192Cfb8" ) ]
165+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_Aes192Cfb8" ) ]
166166 internal static extern IntPtr EvpAes192Cfb8 ( ) ;
167167
168- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_Aes192Cfb128" ) ]
168+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_Aes192Cfb128" ) ]
169169 internal static extern IntPtr EvpAes192Cfb128 ( ) ;
170170
171- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_Aes192Ccm" ) ]
171+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_Aes192Ccm" ) ]
172172 internal static extern IntPtr EvpAes192Ccm ( ) ;
173173
174- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_Aes256Ecb" ) ]
174+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_Aes256Ecb" ) ]
175175 internal static extern IntPtr EvpAes256Ecb ( ) ;
176176
177- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_Aes256Cbc" ) ]
177+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_Aes256Cbc" ) ]
178178 internal static extern IntPtr EvpAes256Cbc ( ) ;
179179
180- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_Aes256Gcm" ) ]
180+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_Aes256Gcm" ) ]
181181 internal static extern IntPtr EvpAes256Gcm ( ) ;
182182
183- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_Aes256Cfb128" ) ]
183+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_Aes256Cfb128" ) ]
184184 internal static extern IntPtr EvpAes256Cfb128 ( ) ;
185185
186- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_Aes256Cfb8" ) ]
186+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_Aes256Cfb8" ) ]
187187 internal static extern IntPtr EvpAes256Cfb8 ( ) ;
188188
189- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_Aes256Ccm" ) ]
189+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_Aes256Ccm" ) ]
190190 internal static extern IntPtr EvpAes256Ccm ( ) ;
191191
192- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_DesCbc" ) ]
192+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_DesCbc" ) ]
193193 internal static extern IntPtr EvpDesCbc ( ) ;
194194
195- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_DesEcb" ) ]
195+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_DesEcb" ) ]
196196 internal static extern IntPtr EvpDesEcb ( ) ;
197197
198- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_DesCfb8" ) ]
198+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_DesCfb8" ) ]
199199 internal static extern IntPtr EvpDesCfb8 ( ) ;
200200
201- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_Des3Cbc" ) ]
201+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_Des3Cbc" ) ]
202202 internal static extern IntPtr EvpDes3Cbc ( ) ;
203203
204- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_Des3Ecb" ) ]
204+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_Des3Ecb" ) ]
205205 internal static extern IntPtr EvpDes3Ecb ( ) ;
206206
207- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_Des3Cfb8" ) ]
207+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_Des3Cfb8" ) ]
208208 internal static extern IntPtr EvpDes3Cfb8 ( ) ;
209209
210- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_Des3Cfb64" ) ]
210+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_Des3Cfb64" ) ]
211211 internal static extern IntPtr EvpDes3Cfb64 ( ) ;
212212
213- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_RC2Cbc" ) ]
213+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_RC2Cbc" ) ]
214214 internal static extern IntPtr EvpRC2Cbc ( ) ;
215215
216- [ DllImport ( Libraries . CryptoNative , EntryPoint = "AndroidCryptoNative_RC2Ecb" ) ]
216+ [ DllImport ( Libraries . AndroidCryptoNative , EntryPoint = "AndroidCryptoNative_RC2Ecb" ) ]
217217 internal static extern IntPtr EvpRC2Ecb ( ) ;
218218
219219 internal enum EvpCipherDirection : int
0 commit comments