@annadata/capacitor-mqtt-quic 0.1.5 → 0.1.6

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.
Files changed (157) hide show
  1. package/AnnadataCapacitorMqttQuic.podspec +35 -0
  2. package/ios/libs/libnghttp3.a +0 -0
  3. package/ios/libs/libngtcp2.a +0 -0
  4. package/ios/libs/libngtcp2_crypto_wolfssl.a +0 -0
  5. package/ios/libs/libwolfssl.a +0 -0
  6. package/ios/libs-simulator/libnghttp3.a +0 -0
  7. package/ios/libs-simulator/libngtcp2.a +0 -0
  8. package/ios/libs-simulator/libngtcp2_crypto_wolfssl.a +0 -0
  9. package/ios/libs-simulator/libwolfssl.a +0 -0
  10. package/ios/libs-simulator-x86_64/libnghttp3.a +0 -0
  11. package/ios/libs-simulator-x86_64/libngtcp2.a +0 -0
  12. package/ios/libs-simulator-x86_64/libngtcp2_crypto_wolfssl.a +0 -0
  13. package/ios/libs-simulator-x86_64/libwolfssl.a +0 -0
  14. package/package.json +3 -2
  15. package/ios/include/ngtcp2/ngtcp2_crypto_quictls.h +0 -147
  16. package/ios/include/openssl/aes.h +0 -111
  17. package/ios/include/openssl/asn1.h +0 -1131
  18. package/ios/include/openssl/asn1_mac.h +0 -10
  19. package/ios/include/openssl/asn1err.h +0 -140
  20. package/ios/include/openssl/asn1t.h +0 -946
  21. package/ios/include/openssl/async.h +0 -96
  22. package/ios/include/openssl/asyncerr.h +0 -29
  23. package/ios/include/openssl/bio.h +0 -887
  24. package/ios/include/openssl/bioerr.h +0 -65
  25. package/ios/include/openssl/blowfish.h +0 -78
  26. package/ios/include/openssl/bn.h +0 -584
  27. package/ios/include/openssl/bnerr.h +0 -47
  28. package/ios/include/openssl/buffer.h +0 -62
  29. package/ios/include/openssl/buffererr.h +0 -25
  30. package/ios/include/openssl/camellia.h +0 -117
  31. package/ios/include/openssl/cast.h +0 -71
  32. package/ios/include/openssl/cmac.h +0 -52
  33. package/ios/include/openssl/cmp.h +0 -597
  34. package/ios/include/openssl/cmp_util.h +0 -56
  35. package/ios/include/openssl/cmperr.h +0 -116
  36. package/ios/include/openssl/cms.h +0 -493
  37. package/ios/include/openssl/cmserr.h +0 -124
  38. package/ios/include/openssl/comp.h +0 -59
  39. package/ios/include/openssl/comperr.h +0 -31
  40. package/ios/include/openssl/conf.h +0 -214
  41. package/ios/include/openssl/conf_api.h +0 -46
  42. package/ios/include/openssl/conferr.h +0 -52
  43. package/ios/include/openssl/configuration.h +0 -149
  44. package/ios/include/openssl/conftypes.h +0 -44
  45. package/ios/include/openssl/core.h +0 -233
  46. package/ios/include/openssl/core_dispatch.h +0 -960
  47. package/ios/include/openssl/core_names.h +0 -561
  48. package/ios/include/openssl/core_object.h +0 -41
  49. package/ios/include/openssl/crmf.h +0 -227
  50. package/ios/include/openssl/crmferr.h +0 -50
  51. package/ios/include/openssl/crypto.h +0 -558
  52. package/ios/include/openssl/cryptoerr.h +0 -55
  53. package/ios/include/openssl/cryptoerr_legacy.h +0 -1466
  54. package/ios/include/openssl/ct.h +0 -573
  55. package/ios/include/openssl/cterr.h +0 -45
  56. package/ios/include/openssl/decoder.h +0 -133
  57. package/ios/include/openssl/decodererr.h +0 -28
  58. package/ios/include/openssl/des.h +0 -211
  59. package/ios/include/openssl/dh.h +0 -335
  60. package/ios/include/openssl/dherr.h +0 -58
  61. package/ios/include/openssl/dsa.h +0 -280
  62. package/ios/include/openssl/dsaerr.h +0 -44
  63. package/ios/include/openssl/dtls1.h +0 -57
  64. package/ios/include/openssl/e_os2.h +0 -308
  65. package/ios/include/openssl/ebcdic.h +0 -39
  66. package/ios/include/openssl/ec.h +0 -1572
  67. package/ios/include/openssl/ecdh.h +0 -10
  68. package/ios/include/openssl/ecdsa.h +0 -10
  69. package/ios/include/openssl/ecerr.h +0 -104
  70. package/ios/include/openssl/encoder.h +0 -124
  71. package/ios/include/openssl/encodererr.h +0 -28
  72. package/ios/include/openssl/engine.h +0 -833
  73. package/ios/include/openssl/engineerr.h +0 -63
  74. package/ios/include/openssl/err.h +0 -504
  75. package/ios/include/openssl/ess.h +0 -128
  76. package/ios/include/openssl/esserr.h +0 -32
  77. package/ios/include/openssl/evp.h +0 -2175
  78. package/ios/include/openssl/evperr.h +0 -134
  79. package/ios/include/openssl/fips_names.h +0 -77
  80. package/ios/include/openssl/fipskey.h +0 -36
  81. package/ios/include/openssl/hmac.h +0 -62
  82. package/ios/include/openssl/http.h +0 -109
  83. package/ios/include/openssl/httperr.h +0 -55
  84. package/ios/include/openssl/idea.h +0 -82
  85. package/ios/include/openssl/kdf.h +0 -138
  86. package/ios/include/openssl/kdferr.h +0 -16
  87. package/ios/include/openssl/lhash.h +0 -331
  88. package/ios/include/openssl/macros.h +0 -325
  89. package/ios/include/openssl/md2.h +0 -56
  90. package/ios/include/openssl/md4.h +0 -63
  91. package/ios/include/openssl/md5.h +0 -62
  92. package/ios/include/openssl/mdc2.h +0 -55
  93. package/ios/include/openssl/modes.h +0 -219
  94. package/ios/include/openssl/obj_mac.h +0 -5481
  95. package/ios/include/openssl/objects.h +0 -183
  96. package/ios/include/openssl/objectserr.h +0 -28
  97. package/ios/include/openssl/ocsp.h +0 -483
  98. package/ios/include/openssl/ocsperr.h +0 -53
  99. package/ios/include/openssl/opensslconf.h +0 -17
  100. package/ios/include/openssl/opensslv.h +0 -114
  101. package/ios/include/openssl/ossl_typ.h +0 -16
  102. package/ios/include/openssl/param_build.h +0 -63
  103. package/ios/include/openssl/params.h +0 -160
  104. package/ios/include/openssl/pem.h +0 -541
  105. package/ios/include/openssl/pem2.h +0 -19
  106. package/ios/include/openssl/pemerr.h +0 -58
  107. package/ios/include/openssl/pkcs12.h +0 -353
  108. package/ios/include/openssl/pkcs12err.h +0 -45
  109. package/ios/include/openssl/pkcs7.h +0 -430
  110. package/ios/include/openssl/pkcs7err.h +0 -63
  111. package/ios/include/openssl/prov_ssl.h +0 -34
  112. package/ios/include/openssl/proverr.h +0 -149
  113. package/ios/include/openssl/provider.h +0 -60
  114. package/ios/include/openssl/quic.h +0 -19
  115. package/ios/include/openssl/rand.h +0 -125
  116. package/ios/include/openssl/randerr.h +0 -69
  117. package/ios/include/openssl/rc2.h +0 -68
  118. package/ios/include/openssl/rc4.h +0 -47
  119. package/ios/include/openssl/rc5.h +0 -79
  120. package/ios/include/openssl/ripemd.h +0 -59
  121. package/ios/include/openssl/rsa.h +0 -610
  122. package/ios/include/openssl/rsaerr.h +0 -107
  123. package/ios/include/openssl/safestack.h +0 -297
  124. package/ios/include/openssl/seed.h +0 -113
  125. package/ios/include/openssl/self_test.h +0 -94
  126. package/ios/include/openssl/sha.h +0 -138
  127. package/ios/include/openssl/srp.h +0 -285
  128. package/ios/include/openssl/srtp.h +0 -56
  129. package/ios/include/openssl/ssl.h +0 -2671
  130. package/ios/include/openssl/ssl2.h +0 -30
  131. package/ios/include/openssl/ssl3.h +0 -347
  132. package/ios/include/openssl/sslerr.h +0 -348
  133. package/ios/include/openssl/sslerr_legacy.h +0 -468
  134. package/ios/include/openssl/stack.h +0 -90
  135. package/ios/include/openssl/store.h +0 -369
  136. package/ios/include/openssl/storeerr.h +0 -49
  137. package/ios/include/openssl/symhacks.h +0 -39
  138. package/ios/include/openssl/tls1.h +0 -1186
  139. package/ios/include/openssl/trace.h +0 -312
  140. package/ios/include/openssl/ts.h +0 -505
  141. package/ios/include/openssl/tserr.h +0 -67
  142. package/ios/include/openssl/txt_db.h +0 -63
  143. package/ios/include/openssl/types.h +0 -239
  144. package/ios/include/openssl/ui.h +0 -407
  145. package/ios/include/openssl/uierr.h +0 -38
  146. package/ios/include/openssl/whrlpool.h +0 -62
  147. package/ios/include/openssl/x509.h +0 -1279
  148. package/ios/include/openssl/x509_vfy.h +0 -894
  149. package/ios/include/openssl/x509err.h +0 -69
  150. package/ios/include/openssl/x509v3.h +0 -1453
  151. package/ios/include/openssl/x509v3err.h +0 -93
  152. package/ios/libs/MqttQuicLibs.xcframework/Info.plist +0 -44
  153. package/ios/libs/MqttQuicLibs.xcframework/ios-arm64/libmqttquic_native_device.a +0 -0
  154. package/ios/libs/MqttQuicLibs.xcframework/ios-arm64_x86_64-simulator/libmqttquic_native_simulator.a +0 -0
  155. package/ios/libs/libcrypto.a +0 -0
  156. package/ios/libs/libngtcp2_crypto_quictls.a +0 -0
  157. package/ios/libs/libssl.a +0 -0
@@ -0,0 +1,35 @@
1
+ require 'json'
2
+
3
+ package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4
+
5
+ Pod::Spec.new do |s|
6
+ s.name = 'AnnadataCapacitorMqttQuic'
7
+ s.version = package['version']
8
+ s.summary = 'MQTT-over-QUIC Capacitor plugin (iOS)'
9
+ s.license = package['license']
10
+ s.homepage = 'https://github.com/annadata/capacitor-mqtt-quic'
11
+ s.author = 'Annadata'
12
+ s.source = { :git => 'https://github.com/annadata/capacitor-mqtt-quic', :tag => s.version.to_s }
13
+ s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}'
14
+ s.resources = ['ios/Sources/MqttQuicPlugin/Resources/*.pem']
15
+ s.ios.deployment_target = '15.0'
16
+ s.dependency 'Capacitor'
17
+ s.swift_version = '5.1'
18
+ s.vendored_libraries = [
19
+ 'ios/libs/libngtcp2.a',
20
+ 'ios/libs/libngtcp2_crypto_wolfssl.a',
21
+ 'ios/libs/libnghttp3.a',
22
+ 'ios/libs/libwolfssl.a'
23
+ ]
24
+ s.public_header_files = 'ios/Sources/**/*.h', 'ios/include/**/*.h'
25
+ s.private_header_files = 'ios/Sources/**/*.h', 'ios/include/**/*.h'
26
+ s.header_mappings_dir = 'ios/Sources'
27
+ s.pod_target_xcconfig = {
28
+ 'HEADER_SEARCH_PATHS' => '$(PODS_TARGET_SRCROOT)/ios/include $(PODS_TARGET_SRCROOT)/ios/Sources/MqttQuicPlugin/QUIC',
29
+ 'LIBRARY_SEARCH_PATHS' => '$(PODS_TARGET_SRCROOT)/ios/libs',
30
+ 'OTHER_LDFLAGS' => '-lngtcp2 -lngtcp2_crypto_wolfssl -lnghttp3 -lwolfssl',
31
+ 'SWIFT_ACTIVE_COMPILATION_CONDITIONS' => 'NGTCP2_ENABLED NGHTTP3_ENABLED',
32
+ 'OTHER_CFLAGS' => '$(inherited) -fmodule-map-file=$(PODS_TARGET_SRCROOT)/ios/Sources/MqttQuicPlugin/QUIC/module.modulemap',
33
+ 'OTHER_SWIFT_FLAGS' => '$(inherited) -Xcc -fmodule-map-file=$(PODS_TARGET_SRCROOT)/ios/Sources/MqttQuicPlugin/QUIC/module.modulemap'
34
+ }
35
+ end
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@annadata/capacitor-mqtt-quic",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "type": "module",
5
5
  "description": "MQTT-over-QUIC client for Capacitor (iOS/Android). Uses ngtcp2 for QUIC; MQTT over WebSocket fallback on web.",
6
6
  "main": "dist/plugin.cjs.js",
@@ -11,6 +11,7 @@
11
11
  "dist",
12
12
  "ios",
13
13
  "android",
14
+ "AnnadataCapacitorMqttQuic.podspec",
14
15
  "README.md"
15
16
  ],
16
17
  "scripts": {
@@ -62,4 +63,4 @@
62
63
  "node": ">=18"
63
64
  },
64
65
  "license": "MIT"
65
- }
66
+ }
@@ -1,147 +0,0 @@
1
- /*
2
- * ngtcp2
3
- *
4
- * Copyright (c) 2019 ngtcp2 contributors
5
- *
6
- * Permission is hereby granted, free of charge, to any person obtaining
7
- * a copy of this software and associated documentation files (the
8
- * "Software"), to deal in the Software without restriction, including
9
- * without limitation the rights to use, copy, modify, merge, publish,
10
- * distribute, sublicense, and/or sell copies of the Software, and to
11
- * permit persons to whom the Software is furnished to do so, subject to
12
- * the following conditions:
13
- *
14
- * The above copyright notice and this permission notice shall be
15
- * included in all copies or substantial portions of the Software.
16
- *
17
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
21
- * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
22
- * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
23
- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24
- */
25
- #ifndef NGTCP2_CRYPTO_QUICTLS_H
26
- #define NGTCP2_CRYPTO_QUICTLS_H
27
-
28
- #include <ngtcp2/ngtcp2.h>
29
-
30
- #include <openssl/ssl.h>
31
-
32
- #ifdef __cplusplus
33
- extern "C" {
34
- #endif /* defined(__cplusplus) */
35
-
36
- /**
37
- * @macrosection
38
- *
39
- * quictls specific error codes
40
- */
41
-
42
- /**
43
- * @macro
44
- *
45
- * :macro:`NGTCP2_CRYPTO_QUICTLS_ERR_TLS_WANT_X509_LOOKUP` is the
46
- * error code which indicates that TLS handshake routine is
47
- * interrupted by X509 certificate lookup. See
48
- * :macro:`SSL_ERROR_WANT_X509_LOOKUP` error description from
49
- * `SSL_do_handshake`.
50
- */
51
- #define NGTCP2_CRYPTO_QUICTLS_ERR_TLS_WANT_X509_LOOKUP -10001
52
-
53
- /**
54
- * @macro
55
- *
56
- * :macro:`NGTCP2_CRYPTO_QUICTLS_ERR_TLS_WANT_CLIENT_HELLO_CB` is the
57
- * error code which indicates that TLS handshake routine is
58
- * interrupted by client hello callback. See
59
- * :macro:`SSL_ERROR_WANT_CLIENT_HELLO_CB` error description from
60
- * `SSL_do_handshake`.
61
- */
62
- #define NGTCP2_CRYPTO_QUICTLS_ERR_TLS_WANT_CLIENT_HELLO_CB -10002
63
-
64
- /**
65
- * @function
66
- *
67
- * `ngtcp2_crypto_quictls_from_ossl_encryption_level` translates
68
- * |ossl_level| to :type:`ngtcp2_encryption_level`. This function is
69
- * only available for quictls backend.
70
- */
71
- NGTCP2_EXTERN ngtcp2_encryption_level
72
- ngtcp2_crypto_quictls_from_ossl_encryption_level(
73
- OSSL_ENCRYPTION_LEVEL ossl_level);
74
-
75
- /**
76
- * @function
77
- *
78
- * `ngtcp2_crypto_quictls_from_ngtcp2_encryption_level` translates
79
- * |encryption_level| to OSSL_ENCRYPTION_LEVEL. This function is only
80
- * available for quictls backend.
81
- */
82
- NGTCP2_EXTERN OSSL_ENCRYPTION_LEVEL
83
- ngtcp2_crypto_quictls_from_ngtcp2_encryption_level(
84
- ngtcp2_encryption_level encryption_level);
85
-
86
- /**
87
- * @function
88
- *
89
- * `ngtcp2_crypto_quictls_configure_server_context` configures
90
- * |ssl_ctx| for server side QUIC connection. It performs the
91
- * following modifications:
92
- *
93
- * - Set minimum and maximum TLS version to TLSv1.3.
94
- * - Set SSL_QUIC_METHOD by calling SSL_CTX_set_quic_method.
95
- *
96
- * Application must set a pointer to :type:`ngtcp2_crypto_conn_ref` to
97
- * SSL object by calling SSL_set_app_data, and
98
- * :type:`ngtcp2_crypto_conn_ref` object must have
99
- * :member:`ngtcp2_crypto_conn_ref.get_conn` field assigned to get
100
- * :type:`ngtcp2_conn`.
101
- *
102
- * It returns 0 if it succeeds, or -1.
103
- */
104
- NGTCP2_EXTERN int
105
- ngtcp2_crypto_quictls_configure_server_context(SSL_CTX *ssl_ctx);
106
-
107
- /**
108
- * @function
109
- *
110
- * `ngtcp2_crypto_quictls_configure_client_context` configures
111
- * |ssl_ctx| for client side QUIC connection. It performs the
112
- * following modifications:
113
- *
114
- * - Set minimum and maximum TLS version to TLSv1.3.
115
- * - Set SSL_QUIC_METHOD by calling SSL_CTX_set_quic_method.
116
- *
117
- * Application must set a pointer to :type:`ngtcp2_crypto_conn_ref` to
118
- * SSL object by calling SSL_set_app_data, and
119
- * :type:`ngtcp2_crypto_conn_ref` object must have
120
- * :member:`ngtcp2_crypto_conn_ref.get_conn` field assigned to get
121
- * :type:`ngtcp2_conn`.
122
- *
123
- * It returns 0 if it succeeds, or -1.
124
- */
125
- NGTCP2_EXTERN int
126
- ngtcp2_crypto_quictls_configure_client_context(SSL_CTX *ssl_ctx);
127
-
128
- /**
129
- * @function
130
- *
131
- * `ngtcp2_crypto_quictls_init` initializes libngtcp2_crypto_quictls
132
- * library. This initialization is optional. For quictls >= 3.0, it
133
- * is highly recommended to call this function before any use of
134
- * libngtcp2_crypto library API to workaround the performance
135
- * regression. Note that calling this function does not solve all
136
- * performance issues introduced in 3.x. For quictls 1.1.1, this
137
- * function does nothing, and always succeeds.
138
- *
139
- * This function returns 0 if it succeeds, or -1.
140
- */
141
- NGTCP2_EXTERN int ngtcp2_crypto_quictls_init(void);
142
-
143
- #ifdef __cplusplus
144
- }
145
- #endif /* defined(__cplusplus) */
146
-
147
- #endif /* !defined(NGTCP2_CRYPTO_QUICTLS_H) */
@@ -1,111 +0,0 @@
1
- /*
2
- * Copyright 2002-2020 The OpenSSL Project Authors. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License 2.0 (the "License"). You may not use
5
- * this file except in compliance with the License. You can obtain a copy
6
- * in the file LICENSE in the source distribution or at
7
- * https://www.openssl.org/source/license.html
8
- */
9
-
10
- #ifndef OPENSSL_AES_H
11
- # define OPENSSL_AES_H
12
- # pragma once
13
-
14
- # include <openssl/macros.h>
15
- # ifndef OPENSSL_NO_DEPRECATED_3_0
16
- # define HEADER_AES_H
17
- # endif
18
-
19
- # include <openssl/opensslconf.h>
20
-
21
- # include <stddef.h>
22
- # ifdef __cplusplus
23
- extern "C" {
24
- # endif
25
-
26
- # define AES_BLOCK_SIZE 16
27
-
28
- # ifndef OPENSSL_NO_DEPRECATED_3_0
29
-
30
- # define AES_ENCRYPT 1
31
- # define AES_DECRYPT 0
32
-
33
- # define AES_MAXNR 14
34
-
35
-
36
- /* This should be a hidden type, but EVP requires that the size be known */
37
- struct aes_key_st {
38
- # ifdef AES_LONG
39
- unsigned long rd_key[4 * (AES_MAXNR + 1)];
40
- # else
41
- unsigned int rd_key[4 * (AES_MAXNR + 1)];
42
- # endif
43
- int rounds;
44
- };
45
- typedef struct aes_key_st AES_KEY;
46
-
47
- # endif
48
- # ifndef OPENSSL_NO_DEPRECATED_3_0
49
- OSSL_DEPRECATEDIN_3_0 const char *AES_options(void);
50
- OSSL_DEPRECATEDIN_3_0
51
- int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
52
- AES_KEY *key);
53
- OSSL_DEPRECATEDIN_3_0
54
- int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
55
- AES_KEY *key);
56
- OSSL_DEPRECATEDIN_3_0
57
- void AES_encrypt(const unsigned char *in, unsigned char *out,
58
- const AES_KEY *key);
59
- OSSL_DEPRECATEDIN_3_0
60
- void AES_decrypt(const unsigned char *in, unsigned char *out,
61
- const AES_KEY *key);
62
- OSSL_DEPRECATEDIN_3_0
63
- void AES_ecb_encrypt(const unsigned char *in, unsigned char *out,
64
- const AES_KEY *key, const int enc);
65
- OSSL_DEPRECATEDIN_3_0
66
- void AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
67
- size_t length, const AES_KEY *key,
68
- unsigned char *ivec, const int enc);
69
- OSSL_DEPRECATEDIN_3_0
70
- void AES_cfb128_encrypt(const unsigned char *in, unsigned char *out,
71
- size_t length, const AES_KEY *key,
72
- unsigned char *ivec, int *num, const int enc);
73
- OSSL_DEPRECATEDIN_3_0
74
- void AES_cfb1_encrypt(const unsigned char *in, unsigned char *out,
75
- size_t length, const AES_KEY *key,
76
- unsigned char *ivec, int *num, const int enc);
77
- OSSL_DEPRECATEDIN_3_0
78
- void AES_cfb8_encrypt(const unsigned char *in, unsigned char *out,
79
- size_t length, const AES_KEY *key,
80
- unsigned char *ivec, int *num, const int enc);
81
- OSSL_DEPRECATEDIN_3_0
82
- void AES_ofb128_encrypt(const unsigned char *in, unsigned char *out,
83
- size_t length, const AES_KEY *key,
84
- unsigned char *ivec, int *num);
85
-
86
- /* NB: the IV is _two_ blocks long */
87
- OSSL_DEPRECATEDIN_3_0
88
- void AES_ige_encrypt(const unsigned char *in, unsigned char *out,
89
- size_t length, const AES_KEY *key,
90
- unsigned char *ivec, const int enc);
91
- /* NB: the IV is _four_ blocks long */
92
- OSSL_DEPRECATEDIN_3_0
93
- void AES_bi_ige_encrypt(const unsigned char *in, unsigned char *out,
94
- size_t length, const AES_KEY *key, const AES_KEY *key2,
95
- const unsigned char *ivec, const int enc);
96
- OSSL_DEPRECATEDIN_3_0
97
- int AES_wrap_key(AES_KEY *key, const unsigned char *iv,
98
- unsigned char *out, const unsigned char *in,
99
- unsigned int inlen);
100
- OSSL_DEPRECATEDIN_3_0
101
- int AES_unwrap_key(AES_KEY *key, const unsigned char *iv,
102
- unsigned char *out, const unsigned char *in,
103
- unsigned int inlen);
104
- # endif
105
-
106
-
107
- # ifdef __cplusplus
108
- }
109
- # endif
110
-
111
- #endif