cordova-plugin-mserviceinterface-2.0 1.0.21 → 1.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +28 -28
- package/plugin.xml +153 -153
- package/src/android/CallbackProgressDialog.java +53 -53
- package/src/android/FileProvider.java +7 -7
- package/src/android/backgroundNotification.java +120 -120
- package/src/android/doubleogradle.gradle +5 -5
- package/src/android/mInterface.java +2087 -2066
- package/src/android/mInterfaceReceiver.java +59 -59
- package/src/android/mInterfaceService.java +749 -749
- package/src/android/mInterfaceUtil.java +1686 -1688
- package/src/android/res/xml/network_security_config.xml +8 -8
- package/src/android/res/xml/opener_paths.xml +16 -16
- package/src/ios/InternetConnection.h +64 -64
- package/src/ios/InternetConnection.m +242 -242
- package/src/ios/SSZipArchive.h +146 -146
- package/src/ios/SSZipArchive.m +1180 -1180
- package/src/ios/SSZipCommon.h +66 -66
- package/src/ios/UICKeyChainStore.h +64 -64
- package/src/ios/UICKeyChainStore.m +434 -434
- package/src/ios/XMLConverter.h +61 -61
- package/src/ios/XMLConverter.m +243 -243
- package/src/ios/ZipArchive.h +19 -19
- package/src/ios/aes/aes.h +270 -270
- package/src/ios/aes/aes_ni.c +687 -687
- package/src/ios/aes/aes_ni.h +59 -59
- package/src/ios/aes/aescrypt.c +301 -301
- package/src/ios/aes/aeskey.c +554 -554
- package/src/ios/aes/aesopt.h +776 -776
- package/src/ios/aes/aestab.c +418 -418
- package/src/ios/aes/aestab.h +173 -173
- package/src/ios/aes/brg_endian.h +127 -127
- package/src/ios/aes/brg_types.h +191 -191
- package/src/ios/aes/fileenc.c +145 -145
- package/src/ios/aes/fileenc.h +121 -121
- package/src/ios/aes/hmac.c +209 -209
- package/src/ios/aes/hmac.h +119 -119
- package/src/ios/aes/prng.c +155 -155
- package/src/ios/aes/prng.h +82 -82
- package/src/ios/aes/pwd2key.c +181 -181
- package/src/ios/aes/pwd2key.h +45 -45
- package/src/ios/aes/sha1.c +283 -283
- package/src/ios/aes/sha1.h +72 -72
- package/src/ios/mInterface.h +2 -0
- package/src/ios/mInterface.m +18 -1
- package/src/ios/minizip/crypt.c +146 -146
- package/src/ios/minizip/crypt.h +66 -66
- package/src/ios/minizip/ioapi.c +353 -353
- package/src/ios/minizip/ioapi.h +154 -154
- package/src/ios/minizip/ioapi_buf.c +452 -452
- package/src/ios/minizip/ioapi_buf.h +52 -52
- package/src/ios/minizip/ioapi_mem.c +167 -167
- package/src/ios/minizip/ioapi_mem.h +52 -52
- package/src/ios/minizip/minishared.c +292 -292
- package/src/ios/minizip/minishared.h +50 -50
- package/src/ios/minizip/unzip.c +2007 -2007
- package/src/ios/minizip/unzip.h +254 -254
- package/src/ios/minizip/zip.c +2007 -2007
- package/src/ios/minizip/zip.h +215 -215
- package/www/mInterface.js +3 -3
package/src/ios/aes/aes_ni.h
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright (c) 1998-2013, Brian Gladman, Worcester, UK. All rights reserved.
|
|
3
|
-
|
|
4
|
-
The redistribution and use of this software (with or without changes)
|
|
5
|
-
is allowed without the payment of fees or royalties provided that:
|
|
6
|
-
|
|
7
|
-
source code distributions include the above copyright notice, this
|
|
8
|
-
list of conditions and the following disclaimer;
|
|
9
|
-
|
|
10
|
-
binary distributions include the above copyright notice, this list
|
|
11
|
-
of conditions and the following disclaimer in their documentation.
|
|
12
|
-
|
|
13
|
-
This software is provided 'as is' with no explicit or implied warranties
|
|
14
|
-
in respect of its operation, including, but not limited to, correctness
|
|
15
|
-
and fitness for purpose.
|
|
16
|
-
---------------------------------------------------------------------------
|
|
17
|
-
Issue Date: 13/11/2013
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
#ifndef AES_NI_H
|
|
21
|
-
#define AES_NI_H
|
|
22
|
-
|
|
23
|
-
#define USE_AES_CONTEXT
|
|
24
|
-
|
|
25
|
-
#include "aesopt.h"
|
|
26
|
-
|
|
27
|
-
#if defined( USE_INTEL_AES_IF_PRESENT )
|
|
28
|
-
|
|
29
|
-
/* map names in C code to make them internal ('name' -> 'aes_name_i') */
|
|
30
|
-
#define aes_xi(x) aes_ ## x ## _i
|
|
31
|
-
|
|
32
|
-
/* map names here to provide the external API ('name' -> 'aes_name') */
|
|
33
|
-
#define aes_ni(x) aes_ ## x
|
|
34
|
-
|
|
35
|
-
AES_RETURN aes_ni(encrypt_key128)(const unsigned char *key, aes_encrypt_ctx cx[1]);
|
|
36
|
-
AES_RETURN aes_ni(encrypt_key192)(const unsigned char *key, aes_encrypt_ctx cx[1]);
|
|
37
|
-
AES_RETURN aes_ni(encrypt_key256)(const unsigned char *key, aes_encrypt_ctx cx[1]);
|
|
38
|
-
|
|
39
|
-
AES_RETURN aes_ni(decrypt_key128)(const unsigned char *key, aes_decrypt_ctx cx[1]);
|
|
40
|
-
AES_RETURN aes_ni(decrypt_key192)(const unsigned char *key, aes_decrypt_ctx cx[1]);
|
|
41
|
-
AES_RETURN aes_ni(decrypt_key256)(const unsigned char *key, aes_decrypt_ctx cx[1]);
|
|
42
|
-
|
|
43
|
-
AES_RETURN aes_ni(encrypt)(const unsigned char *in, unsigned char *out, const aes_encrypt_ctx cx[1]);
|
|
44
|
-
AES_RETURN aes_ni(decrypt)(const unsigned char *in, unsigned char *out, const aes_decrypt_ctx cx[1]);
|
|
45
|
-
|
|
46
|
-
AES_RETURN aes_xi(encrypt_key128)(const unsigned char *key, aes_encrypt_ctx cx[1]);
|
|
47
|
-
AES_RETURN aes_xi(encrypt_key192)(const unsigned char *key, aes_encrypt_ctx cx[1]);
|
|
48
|
-
AES_RETURN aes_xi(encrypt_key256)(const unsigned char *key, aes_encrypt_ctx cx[1]);
|
|
49
|
-
|
|
50
|
-
AES_RETURN aes_xi(decrypt_key128)(const unsigned char *key, aes_decrypt_ctx cx[1]);
|
|
51
|
-
AES_RETURN aes_xi(decrypt_key192)(const unsigned char *key, aes_decrypt_ctx cx[1]);
|
|
52
|
-
AES_RETURN aes_xi(decrypt_key256)(const unsigned char *key, aes_decrypt_ctx cx[1]);
|
|
53
|
-
|
|
54
|
-
AES_RETURN aes_xi(encrypt)(const unsigned char *in, unsigned char *out, const aes_encrypt_ctx cx[1]);
|
|
55
|
-
AES_RETURN aes_xi(decrypt)(const unsigned char *in, unsigned char *out, const aes_decrypt_ctx cx[1]);
|
|
56
|
-
|
|
57
|
-
#endif
|
|
58
|
-
|
|
59
|
-
#endif
|
|
1
|
+
/*
|
|
2
|
+
Copyright (c) 1998-2013, Brian Gladman, Worcester, UK. All rights reserved.
|
|
3
|
+
|
|
4
|
+
The redistribution and use of this software (with or without changes)
|
|
5
|
+
is allowed without the payment of fees or royalties provided that:
|
|
6
|
+
|
|
7
|
+
source code distributions include the above copyright notice, this
|
|
8
|
+
list of conditions and the following disclaimer;
|
|
9
|
+
|
|
10
|
+
binary distributions include the above copyright notice, this list
|
|
11
|
+
of conditions and the following disclaimer in their documentation.
|
|
12
|
+
|
|
13
|
+
This software is provided 'as is' with no explicit or implied warranties
|
|
14
|
+
in respect of its operation, including, but not limited to, correctness
|
|
15
|
+
and fitness for purpose.
|
|
16
|
+
---------------------------------------------------------------------------
|
|
17
|
+
Issue Date: 13/11/2013
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
#ifndef AES_NI_H
|
|
21
|
+
#define AES_NI_H
|
|
22
|
+
|
|
23
|
+
#define USE_AES_CONTEXT
|
|
24
|
+
|
|
25
|
+
#include "aesopt.h"
|
|
26
|
+
|
|
27
|
+
#if defined( USE_INTEL_AES_IF_PRESENT )
|
|
28
|
+
|
|
29
|
+
/* map names in C code to make them internal ('name' -> 'aes_name_i') */
|
|
30
|
+
#define aes_xi(x) aes_ ## x ## _i
|
|
31
|
+
|
|
32
|
+
/* map names here to provide the external API ('name' -> 'aes_name') */
|
|
33
|
+
#define aes_ni(x) aes_ ## x
|
|
34
|
+
|
|
35
|
+
AES_RETURN aes_ni(encrypt_key128)(const unsigned char *key, aes_encrypt_ctx cx[1]);
|
|
36
|
+
AES_RETURN aes_ni(encrypt_key192)(const unsigned char *key, aes_encrypt_ctx cx[1]);
|
|
37
|
+
AES_RETURN aes_ni(encrypt_key256)(const unsigned char *key, aes_encrypt_ctx cx[1]);
|
|
38
|
+
|
|
39
|
+
AES_RETURN aes_ni(decrypt_key128)(const unsigned char *key, aes_decrypt_ctx cx[1]);
|
|
40
|
+
AES_RETURN aes_ni(decrypt_key192)(const unsigned char *key, aes_decrypt_ctx cx[1]);
|
|
41
|
+
AES_RETURN aes_ni(decrypt_key256)(const unsigned char *key, aes_decrypt_ctx cx[1]);
|
|
42
|
+
|
|
43
|
+
AES_RETURN aes_ni(encrypt)(const unsigned char *in, unsigned char *out, const aes_encrypt_ctx cx[1]);
|
|
44
|
+
AES_RETURN aes_ni(decrypt)(const unsigned char *in, unsigned char *out, const aes_decrypt_ctx cx[1]);
|
|
45
|
+
|
|
46
|
+
AES_RETURN aes_xi(encrypt_key128)(const unsigned char *key, aes_encrypt_ctx cx[1]);
|
|
47
|
+
AES_RETURN aes_xi(encrypt_key192)(const unsigned char *key, aes_encrypt_ctx cx[1]);
|
|
48
|
+
AES_RETURN aes_xi(encrypt_key256)(const unsigned char *key, aes_encrypt_ctx cx[1]);
|
|
49
|
+
|
|
50
|
+
AES_RETURN aes_xi(decrypt_key128)(const unsigned char *key, aes_decrypt_ctx cx[1]);
|
|
51
|
+
AES_RETURN aes_xi(decrypt_key192)(const unsigned char *key, aes_decrypt_ctx cx[1]);
|
|
52
|
+
AES_RETURN aes_xi(decrypt_key256)(const unsigned char *key, aes_decrypt_ctx cx[1]);
|
|
53
|
+
|
|
54
|
+
AES_RETURN aes_xi(encrypt)(const unsigned char *in, unsigned char *out, const aes_encrypt_ctx cx[1]);
|
|
55
|
+
AES_RETURN aes_xi(decrypt)(const unsigned char *in, unsigned char *out, const aes_decrypt_ctx cx[1]);
|
|
56
|
+
|
|
57
|
+
#endif
|
|
58
|
+
|
|
59
|
+
#endif
|