@annadata/capacitor-mqtt-quic 0.1.0 → 0.1.1

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 (148) hide show
  1. package/ios/include/nghttp3/nghttp3.h +3295 -0
  2. package/ios/include/nghttp3/version.h +46 -0
  3. package/ios/include/ngtcp2/ngtcp2.h +6254 -0
  4. package/ios/include/ngtcp2/ngtcp2_crypto.h +1037 -0
  5. package/ios/include/ngtcp2/ngtcp2_crypto_quictls.h +147 -0
  6. package/ios/include/ngtcp2/version.h +51 -0
  7. package/ios/include/openssl/aes.h +111 -0
  8. package/ios/include/openssl/asn1.h +1131 -0
  9. package/ios/include/openssl/asn1_mac.h +10 -0
  10. package/ios/include/openssl/asn1err.h +140 -0
  11. package/ios/include/openssl/asn1t.h +946 -0
  12. package/ios/include/openssl/async.h +96 -0
  13. package/ios/include/openssl/asyncerr.h +29 -0
  14. package/ios/include/openssl/bio.h +887 -0
  15. package/ios/include/openssl/bioerr.h +65 -0
  16. package/ios/include/openssl/blowfish.h +78 -0
  17. package/ios/include/openssl/bn.h +584 -0
  18. package/ios/include/openssl/bnerr.h +47 -0
  19. package/ios/include/openssl/buffer.h +62 -0
  20. package/ios/include/openssl/buffererr.h +25 -0
  21. package/ios/include/openssl/camellia.h +117 -0
  22. package/ios/include/openssl/cast.h +71 -0
  23. package/ios/include/openssl/cmac.h +52 -0
  24. package/ios/include/openssl/cmp.h +597 -0
  25. package/ios/include/openssl/cmp_util.h +56 -0
  26. package/ios/include/openssl/cmperr.h +116 -0
  27. package/ios/include/openssl/cms.h +493 -0
  28. package/ios/include/openssl/cmserr.h +124 -0
  29. package/ios/include/openssl/comp.h +59 -0
  30. package/ios/include/openssl/comperr.h +31 -0
  31. package/ios/include/openssl/conf.h +214 -0
  32. package/ios/include/openssl/conf_api.h +46 -0
  33. package/ios/include/openssl/conferr.h +52 -0
  34. package/ios/include/openssl/configuration.h +149 -0
  35. package/ios/include/openssl/conftypes.h +44 -0
  36. package/ios/include/openssl/core.h +233 -0
  37. package/ios/include/openssl/core_dispatch.h +960 -0
  38. package/ios/include/openssl/core_names.h +561 -0
  39. package/ios/include/openssl/core_object.h +41 -0
  40. package/ios/include/openssl/crmf.h +227 -0
  41. package/ios/include/openssl/crmferr.h +50 -0
  42. package/ios/include/openssl/crypto.h +558 -0
  43. package/ios/include/openssl/cryptoerr.h +55 -0
  44. package/ios/include/openssl/cryptoerr_legacy.h +1466 -0
  45. package/ios/include/openssl/ct.h +573 -0
  46. package/ios/include/openssl/cterr.h +45 -0
  47. package/ios/include/openssl/decoder.h +133 -0
  48. package/ios/include/openssl/decodererr.h +28 -0
  49. package/ios/include/openssl/des.h +211 -0
  50. package/ios/include/openssl/dh.h +335 -0
  51. package/ios/include/openssl/dherr.h +58 -0
  52. package/ios/include/openssl/dsa.h +280 -0
  53. package/ios/include/openssl/dsaerr.h +44 -0
  54. package/ios/include/openssl/dtls1.h +57 -0
  55. package/ios/include/openssl/e_os2.h +308 -0
  56. package/ios/include/openssl/ebcdic.h +39 -0
  57. package/ios/include/openssl/ec.h +1572 -0
  58. package/ios/include/openssl/ecdh.h +10 -0
  59. package/ios/include/openssl/ecdsa.h +10 -0
  60. package/ios/include/openssl/ecerr.h +104 -0
  61. package/ios/include/openssl/encoder.h +124 -0
  62. package/ios/include/openssl/encodererr.h +28 -0
  63. package/ios/include/openssl/engine.h +833 -0
  64. package/ios/include/openssl/engineerr.h +63 -0
  65. package/ios/include/openssl/err.h +504 -0
  66. package/ios/include/openssl/ess.h +128 -0
  67. package/ios/include/openssl/esserr.h +32 -0
  68. package/ios/include/openssl/evp.h +2175 -0
  69. package/ios/include/openssl/evperr.h +134 -0
  70. package/ios/include/openssl/fips_names.h +77 -0
  71. package/ios/include/openssl/fipskey.h +36 -0
  72. package/ios/include/openssl/hmac.h +62 -0
  73. package/ios/include/openssl/http.h +109 -0
  74. package/ios/include/openssl/httperr.h +55 -0
  75. package/ios/include/openssl/idea.h +82 -0
  76. package/ios/include/openssl/kdf.h +138 -0
  77. package/ios/include/openssl/kdferr.h +16 -0
  78. package/ios/include/openssl/lhash.h +331 -0
  79. package/ios/include/openssl/macros.h +325 -0
  80. package/ios/include/openssl/md2.h +56 -0
  81. package/ios/include/openssl/md4.h +63 -0
  82. package/ios/include/openssl/md5.h +62 -0
  83. package/ios/include/openssl/mdc2.h +55 -0
  84. package/ios/include/openssl/modes.h +219 -0
  85. package/ios/include/openssl/obj_mac.h +5481 -0
  86. package/ios/include/openssl/objects.h +183 -0
  87. package/ios/include/openssl/objectserr.h +28 -0
  88. package/ios/include/openssl/ocsp.h +483 -0
  89. package/ios/include/openssl/ocsperr.h +53 -0
  90. package/ios/include/openssl/opensslconf.h +17 -0
  91. package/ios/include/openssl/opensslv.h +114 -0
  92. package/ios/include/openssl/ossl_typ.h +16 -0
  93. package/ios/include/openssl/param_build.h +63 -0
  94. package/ios/include/openssl/params.h +160 -0
  95. package/ios/include/openssl/pem.h +541 -0
  96. package/ios/include/openssl/pem2.h +19 -0
  97. package/ios/include/openssl/pemerr.h +58 -0
  98. package/ios/include/openssl/pkcs12.h +353 -0
  99. package/ios/include/openssl/pkcs12err.h +45 -0
  100. package/ios/include/openssl/pkcs7.h +430 -0
  101. package/ios/include/openssl/pkcs7err.h +63 -0
  102. package/ios/include/openssl/prov_ssl.h +34 -0
  103. package/ios/include/openssl/proverr.h +149 -0
  104. package/ios/include/openssl/provider.h +60 -0
  105. package/ios/include/openssl/quic.h +19 -0
  106. package/ios/include/openssl/rand.h +125 -0
  107. package/ios/include/openssl/randerr.h +69 -0
  108. package/ios/include/openssl/rc2.h +68 -0
  109. package/ios/include/openssl/rc4.h +47 -0
  110. package/ios/include/openssl/rc5.h +79 -0
  111. package/ios/include/openssl/ripemd.h +59 -0
  112. package/ios/include/openssl/rsa.h +610 -0
  113. package/ios/include/openssl/rsaerr.h +107 -0
  114. package/ios/include/openssl/safestack.h +297 -0
  115. package/ios/include/openssl/seed.h +113 -0
  116. package/ios/include/openssl/self_test.h +94 -0
  117. package/ios/include/openssl/sha.h +138 -0
  118. package/ios/include/openssl/srp.h +285 -0
  119. package/ios/include/openssl/srtp.h +56 -0
  120. package/ios/include/openssl/ssl.h +2671 -0
  121. package/ios/include/openssl/ssl2.h +30 -0
  122. package/ios/include/openssl/ssl3.h +347 -0
  123. package/ios/include/openssl/sslerr.h +348 -0
  124. package/ios/include/openssl/sslerr_legacy.h +468 -0
  125. package/ios/include/openssl/stack.h +90 -0
  126. package/ios/include/openssl/store.h +369 -0
  127. package/ios/include/openssl/storeerr.h +49 -0
  128. package/ios/include/openssl/symhacks.h +39 -0
  129. package/ios/include/openssl/tls1.h +1186 -0
  130. package/ios/include/openssl/trace.h +312 -0
  131. package/ios/include/openssl/ts.h +505 -0
  132. package/ios/include/openssl/tserr.h +67 -0
  133. package/ios/include/openssl/txt_db.h +63 -0
  134. package/ios/include/openssl/types.h +239 -0
  135. package/ios/include/openssl/ui.h +407 -0
  136. package/ios/include/openssl/uierr.h +38 -0
  137. package/ios/include/openssl/whrlpool.h +62 -0
  138. package/ios/include/openssl/x509.h +1279 -0
  139. package/ios/include/openssl/x509_vfy.h +894 -0
  140. package/ios/include/openssl/x509err.h +69 -0
  141. package/ios/include/openssl/x509v3.h +1453 -0
  142. package/ios/include/openssl/x509v3err.h +93 -0
  143. package/ios/libs/libcrypto.a +0 -0
  144. package/ios/libs/libnghttp3.a +0 -0
  145. package/ios/libs/libngtcp2.a +0 -0
  146. package/ios/libs/libngtcp2_crypto_quictls.a +0 -0
  147. package/ios/libs/libssl.a +0 -0
  148. package/package.json +2 -2
@@ -0,0 +1,44 @@
1
+ /*
2
+ * Generated by util/mkerr.pl DO NOT EDIT
3
+ * Copyright 1995-2023 The OpenSSL Project Authors. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
6
+ * this file except in compliance with the License. You can obtain a copy
7
+ * in the file LICENSE in the source distribution or at
8
+ * https://www.openssl.org/source/license.html
9
+ */
10
+
11
+ #ifndef OPENSSL_DSAERR_H
12
+ # define OPENSSL_DSAERR_H
13
+ # pragma once
14
+
15
+ # include <openssl/opensslconf.h>
16
+ # include <openssl/symhacks.h>
17
+ # include <openssl/cryptoerr_legacy.h>
18
+
19
+
20
+ # ifndef OPENSSL_NO_DSA
21
+
22
+
23
+ /*
24
+ * DSA reason codes.
25
+ */
26
+ # define DSA_R_BAD_FFC_PARAMETERS 114
27
+ # define DSA_R_BAD_Q_VALUE 102
28
+ # define DSA_R_BN_DECODE_ERROR 108
29
+ # define DSA_R_BN_ERROR 109
30
+ # define DSA_R_DECODE_ERROR 104
31
+ # define DSA_R_INVALID_DIGEST_TYPE 106
32
+ # define DSA_R_INVALID_PARAMETERS 112
33
+ # define DSA_R_MISSING_PARAMETERS 101
34
+ # define DSA_R_MISSING_PRIVATE_KEY 111
35
+ # define DSA_R_MODULUS_TOO_LARGE 103
36
+ # define DSA_R_NO_PARAMETERS_SET 107
37
+ # define DSA_R_PARAMETER_ENCODING_ERROR 105
38
+ # define DSA_R_P_NOT_PRIME 115
39
+ # define DSA_R_Q_NOT_PRIME 113
40
+ # define DSA_R_SEED_LEN_SMALL 110
41
+ # define DSA_R_TOO_MANY_RETRIES 116
42
+
43
+ # endif
44
+ #endif
@@ -0,0 +1,57 @@
1
+ /*
2
+ * Copyright 2005-2021 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_DTLS1_H
11
+ # define OPENSSL_DTLS1_H
12
+ # pragma once
13
+
14
+ # include <openssl/macros.h>
15
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
16
+ # define HEADER_DTLS1_H
17
+ # endif
18
+
19
+ # include <openssl/prov_ssl.h>
20
+
21
+ #ifdef __cplusplus
22
+ extern "C" {
23
+ #endif
24
+
25
+ #include <openssl/opensslconf.h>
26
+
27
+ /* DTLS*_VERSION constants are defined in prov_ssl.h */
28
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
29
+ # define DTLS_MIN_VERSION DTLS1_VERSION
30
+ # define DTLS_MAX_VERSION DTLS1_2_VERSION
31
+ # endif
32
+ # define DTLS1_VERSION_MAJOR 0xFE
33
+
34
+ /* Special value for method supporting multiple versions */
35
+ # define DTLS_ANY_VERSION 0x1FFFF
36
+
37
+ /* lengths of messages */
38
+
39
+ # define DTLS1_COOKIE_LENGTH 255
40
+
41
+ # define DTLS1_RT_HEADER_LENGTH 13
42
+
43
+ # define DTLS1_HM_HEADER_LENGTH 12
44
+
45
+ # define DTLS1_HM_BAD_FRAGMENT -2
46
+ # define DTLS1_HM_FRAGMENT_RETRY -3
47
+
48
+ # define DTLS1_CCS_HEADER_LENGTH 1
49
+
50
+ # define DTLS1_AL_HEADER_LENGTH 2
51
+
52
+ # define DTLS1_TMO_ALERT_COUNT 12
53
+
54
+ #ifdef __cplusplus
55
+ }
56
+ #endif
57
+ #endif
@@ -0,0 +1,308 @@
1
+ /*
2
+ * Copyright 1995-2022 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_E_OS2_H
11
+ # define OPENSSL_E_OS2_H
12
+ # pragma once
13
+
14
+ # include <openssl/macros.h>
15
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
16
+ # define HEADER_E_OS2_H
17
+ # endif
18
+
19
+ # include <openssl/opensslconf.h>
20
+
21
+ #ifdef __cplusplus
22
+ extern "C" {
23
+ #endif
24
+
25
+ /******************************************************************************
26
+ * Detect operating systems. This probably needs completing.
27
+ * The result is that at least one OPENSSL_SYS_os macro should be defined.
28
+ * However, if none is defined, Unix is assumed.
29
+ **/
30
+
31
+ # define OPENSSL_SYS_UNIX
32
+
33
+ /* --------------------- Microsoft operating systems ---------------------- */
34
+
35
+ /*
36
+ * Note that MSDOS actually denotes 32-bit environments running on top of
37
+ * MS-DOS, such as DJGPP one.
38
+ */
39
+ # if defined(OPENSSL_SYS_MSDOS)
40
+ # undef OPENSSL_SYS_UNIX
41
+ # endif
42
+
43
+ /*
44
+ * For 32 bit environment, there seems to be the CygWin environment and then
45
+ * all the others that try to do the same thing Microsoft does...
46
+ */
47
+ /*
48
+ * UEFI lives here because it might be built with a Microsoft toolchain and
49
+ * we need to avoid the false positive match on Windows.
50
+ */
51
+ # if defined(OPENSSL_SYS_UEFI)
52
+ # undef OPENSSL_SYS_UNIX
53
+ # elif defined(OPENSSL_SYS_UWIN)
54
+ # undef OPENSSL_SYS_UNIX
55
+ # define OPENSSL_SYS_WIN32_UWIN
56
+ # else
57
+ # if defined(__CYGWIN__) || defined(OPENSSL_SYS_CYGWIN)
58
+ # define OPENSSL_SYS_WIN32_CYGWIN
59
+ # else
60
+ # if defined(_WIN32) || defined(OPENSSL_SYS_WIN32)
61
+ # undef OPENSSL_SYS_UNIX
62
+ # if !defined(OPENSSL_SYS_WIN32)
63
+ # define OPENSSL_SYS_WIN32
64
+ # endif
65
+ # endif
66
+ # if defined(_WIN64) || defined(OPENSSL_SYS_WIN64)
67
+ # undef OPENSSL_SYS_UNIX
68
+ # if !defined(OPENSSL_SYS_WIN64)
69
+ # define OPENSSL_SYS_WIN64
70
+ # endif
71
+ # endif
72
+ # if defined(OPENSSL_SYS_WINNT)
73
+ # undef OPENSSL_SYS_UNIX
74
+ # endif
75
+ # if defined(OPENSSL_SYS_WINCE)
76
+ # undef OPENSSL_SYS_UNIX
77
+ # endif
78
+ # endif
79
+ # endif
80
+
81
+ /* Anything that tries to look like Microsoft is "Windows" */
82
+ # if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_WIN64) || defined(OPENSSL_SYS_WINNT) || defined(OPENSSL_SYS_WINCE)
83
+ # undef OPENSSL_SYS_UNIX
84
+ # define OPENSSL_SYS_WINDOWS
85
+ # ifndef OPENSSL_SYS_MSDOS
86
+ # define OPENSSL_SYS_MSDOS
87
+ # endif
88
+ # endif
89
+
90
+ /*
91
+ * DLL settings. This part is a bit tough, because it's up to the
92
+ * application implementor how he or she will link the application, so it
93
+ * requires some macro to be used.
94
+ */
95
+ # ifdef OPENSSL_SYS_WINDOWS
96
+ # ifndef OPENSSL_OPT_WINDLL
97
+ # if defined(_WINDLL) /* This is used when building OpenSSL to
98
+ * indicate that DLL linkage should be used */
99
+ # define OPENSSL_OPT_WINDLL
100
+ # endif
101
+ # endif
102
+ # endif
103
+
104
+ /* ------------------------------- OpenVMS -------------------------------- */
105
+ # if defined(__VMS) || defined(VMS)
106
+ # if !defined(OPENSSL_SYS_VMS)
107
+ # undef OPENSSL_SYS_UNIX
108
+ # define OPENSSL_SYS_VMS
109
+ # endif
110
+ # if defined(__DECC)
111
+ # define OPENSSL_SYS_VMS_DECC
112
+ # elif defined(__DECCXX)
113
+ # define OPENSSL_SYS_VMS_DECC
114
+ # define OPENSSL_SYS_VMS_DECCXX
115
+ # else
116
+ # define OPENSSL_SYS_VMS_NODECC
117
+ # endif
118
+ # endif
119
+
120
+ /* -------------------------------- Unix ---------------------------------- */
121
+ # ifdef OPENSSL_SYS_UNIX
122
+ # if defined(linux) || defined(__linux__) && !defined(OPENSSL_SYS_LINUX)
123
+ # define OPENSSL_SYS_LINUX
124
+ # endif
125
+ # if defined(_AIX) && !defined(OPENSSL_SYS_AIX)
126
+ # define OPENSSL_SYS_AIX
127
+ # endif
128
+ # endif
129
+
130
+ /* -------------------------------- VOS ----------------------------------- */
131
+ # if defined(__VOS__) && !defined(OPENSSL_SYS_VOS)
132
+ # define OPENSSL_SYS_VOS
133
+ # ifdef __HPPA__
134
+ # define OPENSSL_SYS_VOS_HPPA
135
+ # endif
136
+ # ifdef __IA32__
137
+ # define OPENSSL_SYS_VOS_IA32
138
+ # endif
139
+ # endif
140
+
141
+ /* ---------------------------- HP NonStop -------------------------------- */
142
+ # ifdef __TANDEM
143
+ # ifdef _STRING
144
+ # include <strings.h>
145
+ # endif
146
+ # define OPENSSL_USE_BUILD_DATE
147
+ # if defined(OPENSSL_THREADS) && defined(_SPT_MODEL_)
148
+ # define SPT_THREAD_SIGNAL 1
149
+ # define SPT_THREAD_AWARE 1
150
+ # include <spthread.h>
151
+ # elif defined(OPENSSL_THREADS) && defined(_PUT_MODEL_)
152
+ # include <pthread.h>
153
+ # endif
154
+ # endif
155
+
156
+ /**
157
+ * That's it for OS-specific stuff
158
+ *****************************************************************************/
159
+
160
+ /*-
161
+ * OPENSSL_EXTERN is normally used to declare a symbol with possible extra
162
+ * attributes to handle its presence in a shared library.
163
+ * OPENSSL_EXPORT is used to define a symbol with extra possible attributes
164
+ * to make it visible in a shared library.
165
+ * Care needs to be taken when a header file is used both to declare and
166
+ * define symbols. Basically, for any library that exports some global
167
+ * variables, the following code must be present in the header file that
168
+ * declares them, before OPENSSL_EXTERN is used:
169
+ *
170
+ * #ifdef SOME_BUILD_FLAG_MACRO
171
+ * # undef OPENSSL_EXTERN
172
+ * # define OPENSSL_EXTERN OPENSSL_EXPORT
173
+ * #endif
174
+ *
175
+ * The default is to have OPENSSL_EXPORT and OPENSSL_EXTERN
176
+ * have some generally sensible values.
177
+ */
178
+
179
+ # if defined(OPENSSL_SYS_WINDOWS) && defined(OPENSSL_OPT_WINDLL)
180
+ # define OPENSSL_EXPORT extern __declspec(dllexport)
181
+ # define OPENSSL_EXTERN extern __declspec(dllimport)
182
+ # else
183
+ # define OPENSSL_EXPORT extern
184
+ # define OPENSSL_EXTERN extern
185
+ # endif
186
+
187
+ # ifdef _WIN32
188
+ # ifdef _WIN64
189
+ # define ossl_ssize_t __int64
190
+ # define OSSL_SSIZE_MAX _I64_MAX
191
+ # else
192
+ # define ossl_ssize_t int
193
+ # define OSSL_SSIZE_MAX INT_MAX
194
+ # endif
195
+ # endif
196
+
197
+ # if defined(OPENSSL_SYS_UEFI) && !defined(ossl_ssize_t)
198
+ # define ossl_ssize_t INTN
199
+ # define OSSL_SSIZE_MAX MAX_INTN
200
+ # endif
201
+
202
+ # ifndef ossl_ssize_t
203
+ # define ossl_ssize_t ssize_t
204
+ # if defined(SSIZE_MAX)
205
+ # define OSSL_SSIZE_MAX SSIZE_MAX
206
+ # elif defined(_POSIX_SSIZE_MAX)
207
+ # define OSSL_SSIZE_MAX _POSIX_SSIZE_MAX
208
+ # else
209
+ # define OSSL_SSIZE_MAX ((ssize_t)(SIZE_MAX>>1))
210
+ # endif
211
+ # endif
212
+
213
+ # if defined(UNUSEDRESULT_DEBUG)
214
+ # define __owur __attribute__((__warn_unused_result__))
215
+ # else
216
+ # define __owur
217
+ # endif
218
+
219
+ /* Standard integer types */
220
+ # define OPENSSL_NO_INTTYPES_H
221
+ # define OPENSSL_NO_STDINT_H
222
+ # if defined(OPENSSL_SYS_UEFI)
223
+ typedef INT8 int8_t;
224
+ typedef UINT8 uint8_t;
225
+ typedef INT16 int16_t;
226
+ typedef UINT16 uint16_t;
227
+ typedef INT32 int32_t;
228
+ typedef UINT32 uint32_t;
229
+ typedef INT64 int64_t;
230
+ typedef UINT64 uint64_t;
231
+ # elif (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || \
232
+ defined(__osf__) || defined(__sgi) || defined(__hpux) || \
233
+ defined(OPENSSL_SYS_VMS) || defined (__OpenBSD__)
234
+ # include <inttypes.h>
235
+ # undef OPENSSL_NO_INTTYPES_H
236
+ /* Because the specs say that inttypes.h includes stdint.h if present */
237
+ # undef OPENSSL_NO_STDINT_H
238
+ # elif defined(_MSC_VER) && _MSC_VER<1600
239
+ /*
240
+ * minimally required typdefs for systems not supporting inttypes.h or
241
+ * stdint.h: currently just older VC++
242
+ */
243
+ typedef signed char int8_t;
244
+ typedef unsigned char uint8_t;
245
+ typedef short int16_t;
246
+ typedef unsigned short uint16_t;
247
+ typedef int int32_t;
248
+ typedef unsigned int uint32_t;
249
+ typedef __int64 int64_t;
250
+ typedef unsigned __int64 uint64_t;
251
+ # elif defined(OPENSSL_SYS_TANDEM)
252
+ # include <stdint.h>
253
+ # include <sys/types.h>
254
+ # else
255
+ # include <stdint.h>
256
+ # undef OPENSSL_NO_STDINT_H
257
+ # endif
258
+ # if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L && \
259
+ defined(INTMAX_MAX) && defined(UINTMAX_MAX)
260
+ typedef intmax_t ossl_intmax_t;
261
+ typedef uintmax_t ossl_uintmax_t;
262
+ # else
263
+ /* Fall back to the largest we know we require and can handle */
264
+ typedef int64_t ossl_intmax_t;
265
+ typedef uint64_t ossl_uintmax_t;
266
+ # endif
267
+
268
+ /* ossl_inline: portable inline definition usable in public headers */
269
+ # if !defined(inline) && !defined(__cplusplus)
270
+ # if defined(__STDC_VERSION__) && __STDC_VERSION__>=199901L
271
+ /* just use inline */
272
+ # define ossl_inline inline
273
+ # elif defined(__GNUC__) && __GNUC__>=2
274
+ # define ossl_inline __inline__
275
+ # elif defined(_MSC_VER)
276
+ /*
277
+ * Visual Studio: inline is available in C++ only, however
278
+ * __inline is available for C, see
279
+ * http://msdn.microsoft.com/en-us/library/z8y1yy88.aspx
280
+ */
281
+ # define ossl_inline __inline
282
+ # else
283
+ # define ossl_inline
284
+ # endif
285
+ # else
286
+ # define ossl_inline inline
287
+ # endif
288
+
289
+ # if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L && \
290
+ !defined(__cplusplus)
291
+ # define ossl_noreturn _Noreturn
292
+ # elif defined(__GNUC__) && __GNUC__ >= 2
293
+ # define ossl_noreturn __attribute__((noreturn))
294
+ # else
295
+ # define ossl_noreturn
296
+ # endif
297
+
298
+ /* ossl_unused: portable unused attribute for use in public headers */
299
+ # if defined(__GNUC__)
300
+ # define ossl_unused __attribute__((unused))
301
+ # else
302
+ # define ossl_unused
303
+ # endif
304
+
305
+ #ifdef __cplusplus
306
+ }
307
+ #endif
308
+ #endif
@@ -0,0 +1,39 @@
1
+ /*
2
+ * Copyright 1999-2016 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_EBCDIC_H
11
+ # define OPENSSL_EBCDIC_H
12
+ # pragma once
13
+
14
+ # include <openssl/macros.h>
15
+ # ifndef OPENSSL_NO_DEPRECATED_3_0
16
+ # define HEADER_EBCDIC_H
17
+ # endif
18
+
19
+ # include <stdlib.h>
20
+
21
+ #ifdef __cplusplus
22
+ extern "C" {
23
+ #endif
24
+
25
+ /* Avoid name clashes with other applications */
26
+ # define os_toascii _openssl_os_toascii
27
+ # define os_toebcdic _openssl_os_toebcdic
28
+ # define ebcdic2ascii _openssl_ebcdic2ascii
29
+ # define ascii2ebcdic _openssl_ascii2ebcdic
30
+
31
+ extern const unsigned char os_toascii[256];
32
+ extern const unsigned char os_toebcdic[256];
33
+ void *ebcdic2ascii(void *dest, const void *srce, size_t count);
34
+ void *ascii2ebcdic(void *dest, const void *srce, size_t count);
35
+
36
+ #ifdef __cplusplus
37
+ }
38
+ #endif
39
+ #endif