licentivo-launch 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 (143) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +35 -0
  4. data/ext/launch_native/extconf.rb +28 -0
  5. data/lib/licentivo_launch/vendor/licentivo.rb +262 -0
  6. data/lib/licentivo_launch.rb +352 -0
  7. data/vendor/LICENSE +21 -0
  8. data/vendor/NOTICE +17 -0
  9. data/vendor/VERSION +1 -0
  10. data/vendor/c/app.c +33 -0
  11. data/vendor/c/demo.c +77 -0
  12. data/vendor/c/feature_tasks.h +72 -0
  13. data/vendor/c/licentivo.c +382 -0
  14. data/vendor/c/licentivo.h +67 -0
  15. data/vendor/c/quickstart.c +51 -0
  16. data/vendor/c/test_vectors.c +4 -0
  17. data/vendor/c/vendor/Monocypher-LICENCE.md +173 -0
  18. data/vendor/c/vendor/cJSON-LICENSE +20 -0
  19. data/vendor/c/vendor/cJSON.c +3191 -0
  20. data/vendor/c/vendor/cJSON.h +306 -0
  21. data/vendor/c/vendor/monocypher-ed25519.c +500 -0
  22. data/vendor/c/vendor/monocypher-ed25519.h +140 -0
  23. data/vendor/c/vendor/monocypher.c +2956 -0
  24. data/vendor/c/vendor/monocypher.h +321 -0
  25. data/vendor/curl/COPYING.txt +22 -0
  26. data/vendor/curl/bin/libcurl-x64.dll +0 -0
  27. data/vendor/curl/include/brotli/decode.h +409 -0
  28. data/vendor/curl/include/brotli/encode.h +505 -0
  29. data/vendor/curl/include/brotli/port.h +302 -0
  30. data/vendor/curl/include/brotli/shared_dictionary.h +100 -0
  31. data/vendor/curl/include/brotli/types.h +83 -0
  32. data/vendor/curl/include/curl/curl.h +3374 -0
  33. data/vendor/curl/include/curl/curlver.h +77 -0
  34. data/vendor/curl/include/curl/easy.h +123 -0
  35. data/vendor/curl/include/curl/header.h +74 -0
  36. data/vendor/curl/include/curl/mprintf.h +85 -0
  37. data/vendor/curl/include/curl/multi.h +561 -0
  38. data/vendor/curl/include/curl/options.h +70 -0
  39. data/vendor/curl/include/curl/stdcheaders.h +35 -0
  40. data/vendor/curl/include/curl/system.h +399 -0
  41. data/vendor/curl/include/curl/typecheck-gcc.h +964 -0
  42. data/vendor/curl/include/curl/urlapi.h +156 -0
  43. data/vendor/curl/include/curl/websockets.h +98 -0
  44. data/vendor/curl/include/libpsl.h +207 -0
  45. data/vendor/curl/include/libssh2.h +1516 -0
  46. data/vendor/curl/include/libssh2_publickey.h +128 -0
  47. data/vendor/curl/include/libssh2_sftp.h +382 -0
  48. data/vendor/curl/include/nghttp2/nghttp2.h +6878 -0
  49. data/vendor/curl/include/nghttp2/nghttp2ver.h +42 -0
  50. data/vendor/curl/include/nghttp3/nghttp3.h +3704 -0
  51. data/vendor/curl/include/nghttp3/version.h +46 -0
  52. data/vendor/curl/include/ngtcp2/ngtcp2.h +7485 -0
  53. data/vendor/curl/include/ngtcp2/ngtcp2_crypto.h +1071 -0
  54. data/vendor/curl/include/ngtcp2/ngtcp2_crypto_quictls.h +147 -0
  55. data/vendor/curl/include/ngtcp2/version.h +51 -0
  56. data/vendor/curl/include/openssl/aes.h +120 -0
  57. data/vendor/curl/include/openssl/asn1.h +1121 -0
  58. data/vendor/curl/include/openssl/asn1t.h +996 -0
  59. data/vendor/curl/include/openssl/bio.h +716 -0
  60. data/vendor/curl/include/openssl/blowfish.h +106 -0
  61. data/vendor/curl/include/openssl/bn.h +480 -0
  62. data/vendor/curl/include/openssl/buffer.h +102 -0
  63. data/vendor/curl/include/openssl/camellia.h +121 -0
  64. data/vendor/curl/include/openssl/cast.h +99 -0
  65. data/vendor/curl/include/openssl/chacha.h +54 -0
  66. data/vendor/curl/include/openssl/cmac.h +81 -0
  67. data/vendor/curl/include/openssl/cms.h +541 -0
  68. data/vendor/curl/include/openssl/comp.h +7 -0
  69. data/vendor/curl/include/openssl/conf.h +189 -0
  70. data/vendor/curl/include/openssl/crypto.h +458 -0
  71. data/vendor/curl/include/openssl/ct.h +567 -0
  72. data/vendor/curl/include/openssl/curve25519.h +104 -0
  73. data/vendor/curl/include/openssl/des.h +215 -0
  74. data/vendor/curl/include/openssl/dh.h +245 -0
  75. data/vendor/curl/include/openssl/dsa.h +263 -0
  76. data/vendor/curl/include/openssl/dtls1.h +107 -0
  77. data/vendor/curl/include/openssl/ec.h +675 -0
  78. data/vendor/curl/include/openssl/ecdh.h +6 -0
  79. data/vendor/curl/include/openssl/ecdsa.h +6 -0
  80. data/vendor/curl/include/openssl/engine.h +215 -0
  81. data/vendor/curl/include/openssl/err.h +325 -0
  82. data/vendor/curl/include/openssl/evp.h +1288 -0
  83. data/vendor/curl/include/openssl/hkdf.h +65 -0
  84. data/vendor/curl/include/openssl/hmac.h +101 -0
  85. data/vendor/curl/include/openssl/idea.h +99 -0
  86. data/vendor/curl/include/openssl/kdf.h +137 -0
  87. data/vendor/curl/include/openssl/lhash.h +179 -0
  88. data/vendor/curl/include/openssl/md4.h +105 -0
  89. data/vendor/curl/include/openssl/md5.h +99 -0
  90. data/vendor/curl/include/openssl/mlkem.h +236 -0
  91. data/vendor/curl/include/openssl/modes.h +118 -0
  92. data/vendor/curl/include/openssl/obj_mac.h +4646 -0
  93. data/vendor/curl/include/openssl/objects.h +137 -0
  94. data/vendor/curl/include/openssl/ocsp.h +484 -0
  95. data/vendor/curl/include/openssl/opensslconf.h +16 -0
  96. data/vendor/curl/include/openssl/opensslfeatures.h +153 -0
  97. data/vendor/curl/include/openssl/opensslv.h +18 -0
  98. data/vendor/curl/include/openssl/ossl_typ.h +196 -0
  99. data/vendor/curl/include/openssl/pem.h +542 -0
  100. data/vendor/curl/include/openssl/pkcs12.h +284 -0
  101. data/vendor/curl/include/openssl/pkcs7.h +523 -0
  102. data/vendor/curl/include/openssl/poly1305.h +45 -0
  103. data/vendor/curl/include/openssl/posix_time.h +54 -0
  104. data/vendor/curl/include/openssl/rand.h +118 -0
  105. data/vendor/curl/include/openssl/rc2.h +101 -0
  106. data/vendor/curl/include/openssl/rc4.h +88 -0
  107. data/vendor/curl/include/openssl/ripemd.h +107 -0
  108. data/vendor/curl/include/openssl/rsa.h +603 -0
  109. data/vendor/curl/include/openssl/safestack.h +1739 -0
  110. data/vendor/curl/include/openssl/sha.h +190 -0
  111. data/vendor/curl/include/openssl/sm3.h +49 -0
  112. data/vendor/curl/include/openssl/sm4.h +47 -0
  113. data/vendor/curl/include/openssl/srtp.h +148 -0
  114. data/vendor/curl/include/openssl/ssl.h +2336 -0
  115. data/vendor/curl/include/openssl/ssl3.h +441 -0
  116. data/vendor/curl/include/openssl/stack.h +99 -0
  117. data/vendor/curl/include/openssl/tls1.h +764 -0
  118. data/vendor/curl/include/openssl/ts.h +660 -0
  119. data/vendor/curl/include/openssl/txt_db.h +112 -0
  120. data/vendor/curl/include/openssl/ui.h +397 -0
  121. data/vendor/curl/include/openssl/x509.h +1037 -0
  122. data/vendor/curl/include/openssl/x509_vfy.h +464 -0
  123. data/vendor/curl/include/openssl/x509v3.h +1039 -0
  124. data/vendor/curl/include/zconf.h +206 -0
  125. data/vendor/curl/include/zdict.h +481 -0
  126. data/vendor/curl/include/zlib.h +1859 -0
  127. data/vendor/curl/include/zlib_name_mangling.h +8 -0
  128. data/vendor/curl/include/zstd.h +3198 -0
  129. data/vendor/curl/include/zstd_errors.h +107 -0
  130. data/vendor/curl/lib/libcurl.dll.a +0 -0
  131. data/vendor/curl/licenses/brotli/LICENSE.txt +19 -0
  132. data/vendor/curl/licenses/certdata/LICENSE.url +2 -0
  133. data/vendor/curl/licenses/libpsl/COPYING.txt +20 -0
  134. data/vendor/curl/licenses/libressl/COPYING.txt +133 -0
  135. data/vendor/curl/licenses/libssh2/COPYING.txt +43 -0
  136. data/vendor/curl/licenses/nghttp2/COPYING.txt +23 -0
  137. data/vendor/curl/licenses/nghttp3/COPYING.txt +22 -0
  138. data/vendor/curl/licenses/ngtcp2/COPYING.txt +22 -0
  139. data/vendor/curl/licenses/psl/LICENSE.txt +373 -0
  140. data/vendor/curl/licenses/trurl/COPYING.txt +22 -0
  141. data/vendor/curl/licenses/zlibng/LICENSE.md +19 -0
  142. data/vendor/curl/licenses/zstd/LICENSE.txt +30 -0
  143. metadata +205 -0
@@ -0,0 +1,153 @@
1
+ /* $OpenBSD: opensslfeatures.h,v 1.44 2024/08/31 10:38:49 tb Exp $ */
2
+ /*
3
+ * Feature flags for LibreSSL... so you can actually tell when things
4
+ * are enabled, rather than not being able to tell when things are
5
+ * enabled (or possibly not yet not implemented, or removed!).
6
+ */
7
+ #define LIBRESSL_HAS_QUIC
8
+ #define LIBRESSL_HAS_TLS1_3
9
+ #define LIBRESSL_HAS_DTLS1_2
10
+
11
+ /*
12
+ * Used for compatibility with compilers lacking __attribute__
13
+ */
14
+ #if defined(_MSC_VER) && !defined(__clang__) && !defined(__attribute__)
15
+ #define __attribute__(a)
16
+ #endif
17
+
18
+ #define OPENSSL_THREADS
19
+
20
+ #define OPENSSL_NO_BUF_FREELISTS
21
+ #define OPENSSL_NO_DEPRECATED
22
+ #define OPENSSL_NO_EC2M
23
+ #define OPENSSL_NO_GMP
24
+ #define OPENSSL_NO_JPAKE
25
+ #define OPENSSL_NO_KRB5
26
+ #define OPENSSL_NO_RSAX
27
+ #define OPENSSL_NO_SHA0
28
+ #define OPENSSL_NO_SSL2
29
+ #define OPENSSL_NO_STORE
30
+
31
+ /*
32
+ * OPENSSL_NO_* flags that currently appear in OpenSSL.
33
+ */
34
+
35
+ /* #define OPENSSL_NO_AFALGENG */
36
+ /* #define OPENSSL_NO_ALGORITHMS */
37
+ /* #define OPENSSL_NO_ARIA */
38
+ /* #define OPENSSL_NO_ASM */
39
+ #define OPENSSL_NO_ASYNC
40
+ /* #define OPENSSL_NO_AUTOALGINIT */
41
+ /* #define OPENSSL_NO_AUTOERRINIT */
42
+ /* #define OPENSSL_NO_AUTOLOAD_CONFIG */
43
+ /* #define OPENSSL_NO_BF */
44
+ #define OPENSSL_NO_BLAKE2
45
+ #define OPENSSL_NO_BROTLI
46
+ /* #define OPENSSL_NO_BUILTIN_OVERFLOW_CHECKING */
47
+ /* #define OPENSSL_NO_CAMELLIA */
48
+ #define OPENSSL_NO_CAPIENG
49
+ /* #define OPENSSL_NO_CAST */
50
+ /* #define OPENSSL_NO_CHACHA */
51
+ /* #define OPENSSL_NO_CMAC */
52
+ /* #define OPENSSL_NO_CMP */
53
+ /* #define OPENSSL_NO_CMS */
54
+ #define OPENSSL_NO_COMP
55
+ /* #define OPENSSL_NO_COMP_ALG */
56
+ /* #define OPENSSL_NO_CRMF */
57
+ /* #define OPENSSL_NO_CRYPTO_MDEBUG */
58
+ /* #define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE */
59
+ /* #define OPENSSL_NO_CT */
60
+ /* #define OPENSSL_NO_DECC_INIT */
61
+ /* #define OPENSSL_NO_DES */
62
+ /* #define OPENSSL_NO_DEVCRYPTOENG */
63
+ /* #define OPENSSL_NO_DGRAM */
64
+ /* #define OPENSSL_NO_DH */
65
+ /* #define OPENSSL_NO_DSA */
66
+ #define OPENSSL_NO_DSO
67
+ /* #define OPENSSL_NO_DTLS */
68
+ #define OPENSSL_NO_DTLS1
69
+ #ifndef LIBRESSL_HAS_DTLS1_2
70
+ #define OPENSSL_NO_DTLS1_2
71
+ #endif
72
+ /* #define OPENSSL_NO_DTLS1_2_METHOD */
73
+ /* #define OPENSSL_NO_DTLS1_METHOD */
74
+ #define OPENSSL_NO_DYNAMIC_ENGINE
75
+ /* #define OPENSSL_NO_EC */
76
+ #define OPENSSL_NO_EC_NISTP_64_GCC_128
77
+ #define OPENSSL_NO_EGD
78
+ #define OPENSSL_NO_ENGINE
79
+ /* #define OPENSSL_NO_ERR */
80
+ /* #define OPENSSL_NO_FILENAMES */
81
+ /* #define OPENSSL_NO_FUZZ_AFL */
82
+ /* #define OPENSSL_NO_FUZZ_LIBFUZZER */
83
+ #define OPENSSL_NO_GOST
84
+ #define OPENSSL_NO_HEARTBEATS
85
+ /* #define OPENSSL_NO_HW */
86
+ /* #define OPENSSL_NO_HW_PADLOCK */
87
+ /* #define OPENSSL_NO_IDEA */
88
+ /* #define OPENSSL_NO_INLINE_ASM */
89
+ /* #define OPENSSL_NO_KEYPARAMS */
90
+ #define OPENSSL_NO_KTLS
91
+ /* #define OPENSSL_NO_KTLS_RX */
92
+ /* #define OPENSSL_NO_KTLS_ZC_TX */
93
+ /* #define OPENSSL_NO_LOCALE */
94
+ #define OPENSSL_NO_MD2
95
+ /* #define OPENSSL_NO_MD4 */
96
+ /* #define OPENSSL_NO_MD5 */
97
+ #define OPENSSL_NO_MDC2
98
+ /* #define OPENSSL_NO_MULTIBLOCK */
99
+ /* #define OPENSSL_NO_NEXTPROTONEG */
100
+ /* #define OPENSSL_NO_OCB */
101
+ /* #define OPENSSL_NO_OCSP */
102
+ /* #define OPENSSL_NO_PADLOCKENG */
103
+ /* #define OPENSSL_NO_PINSHARED */
104
+ /* #define OPENSSL_NO_POLY1305 */
105
+ /* #define OPENSSL_NO_POSIX_IO */
106
+ #define OPENSSL_NO_PSK
107
+ #define OPENSSL_NO_QUIC
108
+ /* #define OPENSSL_NO_RC2 */
109
+ /* #define OPENSSL_NO_RC4 */
110
+ #define OPENSSL_NO_RC5
111
+ /* #define OPENSSL_NO_RDRAND */
112
+ /* #define OPENSSL_NO_RFC3779 */
113
+ /* #define OPENSSL_NO_RMD160 */
114
+ /* #define OPENSSL_NO_RSA */
115
+ #define OPENSSL_NO_SCRYPT
116
+ #define OPENSSL_NO_SCTP
117
+ /* #define OPENSSL_NO_SECURE_MEMORY */
118
+ #define OPENSSL_NO_SEED
119
+ /* #define OPENSSL_NO_SIPHASH */
120
+ /* #define OPENSSL_NO_SIV */
121
+ /* #define OPENSSL_NO_SM2 */
122
+ /* #define OPENSSL_NO_SM3 */
123
+ /* #define OPENSSL_NO_SM4 */
124
+ /* #define OPENSSL_NO_SOCK */
125
+ #define OPENSSL_NO_SRP
126
+ /* #define OPENSSL_NO_SRTP */
127
+ #define OPENSSL_NO_SSL3
128
+ #define OPENSSL_NO_SSL3_METHOD
129
+ #define OPENSSL_NO_SSL_TRACE
130
+ /* #define OPENSSL_NO_STATIC_ENGINE */
131
+ /* #define OPENSSL_NO_STDIO */
132
+ /* #define OPENSSL_NO_THREAD_POOL */
133
+ /* #define OPENSSL_NO_TLS */
134
+ #define OPENSSL_NO_TLS1
135
+ #define OPENSSL_NO_TLS1_1
136
+ #define OPENSSL_NO_TLS1_METHOD
137
+ #define OPENSSL_NO_TLS1_1_METHOD
138
+ /* #define OPENSSL_NO_TLS1_2 */
139
+ /* #define OPENSSL_NO_TLS1_2_METHOD */
140
+ #ifndef LIBRESSL_HAS_TLS1_3
141
+ #define OPENSSL_NO_TLS1_3
142
+ #endif
143
+ /* #define OPENSSL_NO_TLS1_METHOD */
144
+ /* #define OPENSSL_NO_TRACE */
145
+ /* #define OPENSSL_NO_TS */
146
+ /* #define OPENSSL_NO_UI_CONSOLE */
147
+ /* #define OPENSSL_NO_UNIT_TEST */
148
+ /* #define OPENSSL_NO_UNIX_SOCK */
149
+ /* #define OPENSSL_NO_WEAK_SSL_CIPHERS */
150
+ #define OPENSSL_NO_WHIRLPOOL
151
+ /* #define OPENSSL_NO_WINSTORE */
152
+ #define OPENSSL_NO_ZLIB
153
+ /* #define OPENSSL_NO_ZSTD */
@@ -0,0 +1,18 @@
1
+ /* $OpenBSD: opensslv.h,v 1.82 2026/04/08 05:30:20 tb Exp $ */
2
+ #ifndef HEADER_OPENSSLV_H
3
+ #define HEADER_OPENSSLV_H
4
+
5
+ /* These will change with each release of LibreSSL-portable */
6
+ #define LIBRESSL_VERSION_NUMBER 0x4030300fL
7
+ /* ^ Patch starts here */
8
+ #define LIBRESSL_VERSION_TEXT "LibreSSL 4.3.3"
9
+
10
+ /* These will never change */
11
+ #define OPENSSL_VERSION_NUMBER 0x20000000L
12
+ #define OPENSSL_VERSION_TEXT LIBRESSL_VERSION_TEXT
13
+ #define OPENSSL_VERSION_PTEXT " part of " OPENSSL_VERSION_TEXT
14
+
15
+ #define SHLIB_VERSION_HISTORY ""
16
+ #define SHLIB_VERSION_NUMBER "1.0.0"
17
+
18
+ #endif /* HEADER_OPENSSLV_H */
@@ -0,0 +1,196 @@
1
+ /* $OpenBSD: ossl_typ.h,v 1.31 2024/05/27 09:12:32 jsg Exp $ */
2
+ /* ====================================================================
3
+ * Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved.
4
+ *
5
+ * Redistribution and use in source and binary forms, with or without
6
+ * modification, are permitted provided that the following conditions
7
+ * are met:
8
+ *
9
+ * 1. Redistributions of source code must retain the above copyright
10
+ * notice, this list of conditions and the following disclaimer.
11
+ *
12
+ * 2. Redistributions in binary form must reproduce the above copyright
13
+ * notice, this list of conditions and the following disclaimer in
14
+ * the documentation and/or other materials provided with the
15
+ * distribution.
16
+ *
17
+ * 3. All advertising materials mentioning features or use of this
18
+ * software must display the following acknowledgment:
19
+ * "This product includes software developed by the OpenSSL Project
20
+ * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
21
+ *
22
+ * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
23
+ * endorse or promote products derived from this software without
24
+ * prior written permission. For written permission, please contact
25
+ * openssl-core@openssl.org.
26
+ *
27
+ * 5. Products derived from this software may not be called "OpenSSL"
28
+ * nor may "OpenSSL" appear in their names without prior written
29
+ * permission of the OpenSSL Project.
30
+ *
31
+ * 6. Redistributions of any form whatsoever must retain the following
32
+ * acknowledgment:
33
+ * "This product includes software developed by the OpenSSL Project
34
+ * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
35
+ *
36
+ * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
37
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
38
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
39
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
40
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
41
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
42
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
43
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
44
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
45
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
46
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
47
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
48
+ * ====================================================================
49
+ *
50
+ * This product includes cryptographic software written by Eric Young
51
+ * (eay@cryptsoft.com). This product includes software written by Tim
52
+ * Hudson (tjh@cryptsoft.com).
53
+ *
54
+ */
55
+
56
+ #ifndef HEADER_OPENSSL_TYPES_H
57
+ #define HEADER_OPENSSL_TYPES_H
58
+
59
+ #include <openssl/opensslconf.h>
60
+
61
+ typedef struct asn1_string_st ASN1_INTEGER;
62
+ typedef struct asn1_string_st ASN1_ENUMERATED;
63
+ typedef struct asn1_string_st ASN1_BIT_STRING;
64
+ typedef struct asn1_string_st ASN1_OCTET_STRING;
65
+ typedef struct asn1_string_st ASN1_PRINTABLESTRING;
66
+ typedef struct asn1_string_st ASN1_T61STRING;
67
+ typedef struct asn1_string_st ASN1_IA5STRING;
68
+ typedef struct asn1_string_st ASN1_GENERALSTRING;
69
+ typedef struct asn1_string_st ASN1_UNIVERSALSTRING;
70
+ typedef struct asn1_string_st ASN1_BMPSTRING;
71
+ typedef struct asn1_string_st ASN1_UTCTIME;
72
+ typedef struct asn1_string_st ASN1_TIME;
73
+ typedef struct asn1_string_st ASN1_GENERALIZEDTIME;
74
+ typedef struct asn1_string_st ASN1_VISIBLESTRING;
75
+ typedef struct asn1_string_st ASN1_UTF8STRING;
76
+ typedef struct asn1_string_st ASN1_STRING;
77
+ typedef int ASN1_BOOLEAN;
78
+ typedef int ASN1_NULL;
79
+
80
+ typedef struct asn1_object_st ASN1_OBJECT;
81
+
82
+ typedef struct ASN1_ITEM_st ASN1_ITEM;
83
+ typedef struct asn1_pctx_st ASN1_PCTX;
84
+
85
+ #if defined(_WIN32) && defined(__WINCRYPT_H__)
86
+ #if !defined(LIBRESSL_INTERNAL) && !defined(LIBRESSL_DISABLE_OVERRIDE_WINCRYPT_DEFINES_WARNING)
87
+ #ifdef _MSC_VER
88
+ #pragma message("Warning, overriding WinCrypt defines")
89
+ #else
90
+ #warning overriding WinCrypt defines
91
+ #endif
92
+ #endif
93
+ #undef X509_NAME
94
+ #undef X509_EXTENSIONS
95
+ #undef OCSP_REQUEST
96
+ #undef OCSP_RESPONSE
97
+ #undef PKCS7_ISSUER_AND_SERIAL
98
+ #endif
99
+
100
+ #ifdef BIGNUM
101
+ #undef BIGNUM
102
+ #endif
103
+ typedef struct bignum_st BIGNUM;
104
+ typedef struct bignum_ctx BN_CTX;
105
+ typedef struct bn_blinding_st BN_BLINDING;
106
+ typedef struct bn_mont_ctx_st BN_MONT_CTX;
107
+ typedef struct bn_gencb_st BN_GENCB;
108
+
109
+ typedef struct bio_st BIO;
110
+ typedef struct buf_mem_st BUF_MEM;
111
+
112
+ typedef struct evp_cipher_st EVP_CIPHER;
113
+ typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
114
+ typedef struct evp_md_st EVP_MD;
115
+ typedef struct evp_md_ctx_st EVP_MD_CTX;
116
+ typedef struct evp_pkey_st EVP_PKEY;
117
+
118
+ typedef struct evp_pkey_asn1_method_st EVP_PKEY_ASN1_METHOD;
119
+
120
+ typedef struct evp_pkey_method_st EVP_PKEY_METHOD;
121
+ typedef struct evp_pkey_ctx_st EVP_PKEY_CTX;
122
+
123
+ typedef struct evp_Encode_Ctx_st EVP_ENCODE_CTX;
124
+
125
+ typedef struct hmac_ctx_st HMAC_CTX;
126
+
127
+ typedef struct dh_st DH;
128
+ typedef struct dh_method DH_METHOD;
129
+
130
+ typedef struct dsa_st DSA;
131
+ typedef struct dsa_method DSA_METHOD;
132
+
133
+ typedef struct ec_key_st EC_KEY;
134
+ typedef struct ec_key_method_st EC_KEY_METHOD;
135
+
136
+ typedef struct rsa_st RSA;
137
+ typedef struct rsa_meth_st RSA_METHOD;
138
+ typedef struct rsa_pss_params_st RSA_PSS_PARAMS;
139
+
140
+ typedef struct rand_meth_st RAND_METHOD;
141
+
142
+ typedef struct x509_st X509;
143
+ typedef struct X509_algor_st X509_ALGOR;
144
+ typedef struct X509_crl_st X509_CRL;
145
+ typedef struct x509_revoked_st X509_REVOKED;
146
+ typedef struct X509_name_st X509_NAME;
147
+ typedef struct X509_pubkey_st X509_PUBKEY;
148
+ typedef struct x509_store_st X509_STORE;
149
+ typedef struct x509_store_ctx_st X509_STORE_CTX;
150
+
151
+ typedef struct x509_object_st X509_OBJECT;
152
+ typedef struct x509_lookup_st X509_LOOKUP;
153
+ typedef struct x509_lookup_method_st X509_LOOKUP_METHOD;
154
+ typedef struct X509_VERIFY_PARAM_st X509_VERIFY_PARAM;
155
+
156
+ typedef struct pkcs8_priv_key_info_st PKCS8_PRIV_KEY_INFO;
157
+
158
+ typedef struct v3_ext_ctx X509V3_CTX;
159
+ typedef struct conf_st CONF;
160
+
161
+ typedef struct ui_st UI;
162
+ typedef struct ui_method_st UI_METHOD;
163
+
164
+ typedef struct engine_st ENGINE;
165
+ typedef struct ssl_st SSL;
166
+ typedef struct ssl_ctx_st SSL_CTX;
167
+
168
+ typedef struct AUTHORITY_KEYID_st AUTHORITY_KEYID;
169
+ typedef struct DIST_POINT_st DIST_POINT;
170
+ typedef struct ISSUING_DIST_POINT_st ISSUING_DIST_POINT;
171
+ typedef struct NAME_CONSTRAINTS_st NAME_CONSTRAINTS;
172
+
173
+ /* If placed in pkcs12.h, we end up with a circular dependency with pkcs7.h */
174
+ #define DECLARE_PKCS12_STACK_OF(type) /* Nothing */
175
+ #define IMPLEMENT_PKCS12_STACK_OF(type) /* Nothing */
176
+
177
+ typedef struct crypto_ex_data_st CRYPTO_EX_DATA;
178
+ /* Callback types for crypto.h */
179
+ typedef int CRYPTO_EX_new(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
180
+ int idx, long argl, void *argp);
181
+ typedef void CRYPTO_EX_free(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
182
+ int idx, long argl, void *argp);
183
+ typedef int CRYPTO_EX_dup(CRYPTO_EX_DATA *to, CRYPTO_EX_DATA *from,
184
+ void *from_d, int idx, long argl, void *argp);
185
+
186
+ typedef struct ocsp_req_ctx_st OCSP_REQ_CTX;
187
+ typedef struct ocsp_response_st OCSP_RESPONSE;
188
+ typedef struct ocsp_responder_id_st OCSP_RESPID;
189
+
190
+ typedef struct sct_st SCT;
191
+ typedef struct sct_ctx_st SCT_CTX;
192
+ typedef struct ctlog_st CTLOG;
193
+ typedef struct ctlog_store_st CTLOG_STORE;
194
+ typedef struct ct_policy_eval_ctx_st CT_POLICY_EVAL_CTX;
195
+
196
+ #endif /* def HEADER_OPENSSL_TYPES_H */