@annadata/capacitor-mqtt-quic 0.1.6 → 0.1.8

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 (666) hide show
  1. package/AnnadataCapacitorMqttQuic.podspec +2 -1
  2. package/Package.swift +59 -0
  3. package/README.md +173 -24
  4. package/android/NGTCP2_BUILD_INSTRUCTIONS.md +66 -45
  5. package/android/app/src/main/assets/capacitor.config.json +1 -1
  6. package/android/build-openssl.sh +1 -1
  7. package/android/build.gradle +4 -1
  8. package/android/install/nghttp3-android/arm64-v8a/include/nghttp3/nghttp3.h +3295 -0
  9. package/android/install/nghttp3-android/arm64-v8a/include/nghttp3/version.h +46 -0
  10. package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3Config.cmake +3 -0
  11. package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3ConfigVersion.cmake +65 -0
  12. package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3Targets-release.cmake +29 -0
  13. package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3Targets.cmake +114 -0
  14. package/android/install/nghttp3-android/arm64-v8a/lib/libnghttp3.a +0 -0
  15. package/android/install/nghttp3-android/arm64-v8a/lib/libnghttp3.so +0 -0
  16. package/android/install/nghttp3-android/arm64-v8a/lib/pkgconfig/libnghttp3.pc +34 -0
  17. package/android/install/nghttp3-android/arm64-v8a/share/doc/nghttp3/README.rst +75 -0
  18. package/android/install/nghttp3-android/armeabi-v7a/include/nghttp3/nghttp3.h +3295 -0
  19. package/android/install/nghttp3-android/armeabi-v7a/include/nghttp3/version.h +46 -0
  20. package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3Config.cmake +3 -0
  21. package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3ConfigVersion.cmake +65 -0
  22. package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3Targets-release.cmake +29 -0
  23. package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3Targets.cmake +114 -0
  24. package/android/install/nghttp3-android/armeabi-v7a/lib/libnghttp3.a +0 -0
  25. package/android/install/nghttp3-android/armeabi-v7a/lib/libnghttp3.so +0 -0
  26. package/android/install/nghttp3-android/armeabi-v7a/lib/pkgconfig/libnghttp3.pc +34 -0
  27. package/android/install/nghttp3-android/armeabi-v7a/share/doc/nghttp3/README.rst +75 -0
  28. package/android/install/nghttp3-android/x86_64/include/nghttp3/nghttp3.h +3295 -0
  29. package/android/install/nghttp3-android/x86_64/include/nghttp3/version.h +46 -0
  30. package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3Config.cmake +3 -0
  31. package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3ConfigVersion.cmake +65 -0
  32. package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3Targets-release.cmake +29 -0
  33. package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3Targets.cmake +114 -0
  34. package/android/install/nghttp3-android/x86_64/lib/libnghttp3.a +0 -0
  35. package/android/install/nghttp3-android/x86_64/lib/libnghttp3.so +0 -0
  36. package/android/install/nghttp3-android/x86_64/lib/pkgconfig/libnghttp3.pc +34 -0
  37. package/android/install/nghttp3-android/x86_64/share/doc/nghttp3/README.rst +75 -0
  38. package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/ngtcp2.h +6254 -0
  39. package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/ngtcp2_crypto.h +1037 -0
  40. package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/ngtcp2_crypto_wolfssl.h +106 -0
  41. package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/version.h +51 -0
  42. package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2Config.cmake +6 -0
  43. package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2ConfigVersion.cmake +65 -0
  44. package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2Targets-release.cmake +29 -0
  45. package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2Targets.cmake +114 -0
  46. package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2.a +0 -0
  47. package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2.so +0 -0
  48. package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2_crypto_wolfssl.a +0 -0
  49. package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2_crypto_wolfssl.so +0 -0
  50. package/android/install/ngtcp2-android/arm64-v8a/lib/pkgconfig/libngtcp2.pc +33 -0
  51. package/android/install/ngtcp2-android/arm64-v8a/lib/pkgconfig/libngtcp2_crypto_wolfssl.pc +34 -0
  52. package/android/install/ngtcp2-android/arm64-v8a/share/doc/ngtcp2/README.rst +385 -0
  53. package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/ngtcp2.h +6254 -0
  54. package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/ngtcp2_crypto.h +1037 -0
  55. package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/ngtcp2_crypto_wolfssl.h +106 -0
  56. package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/version.h +51 -0
  57. package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2Config.cmake +6 -0
  58. package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2ConfigVersion.cmake +65 -0
  59. package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2Targets-release.cmake +29 -0
  60. package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2Targets.cmake +114 -0
  61. package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2.a +0 -0
  62. package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2.so +0 -0
  63. package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2_crypto_wolfssl.a +0 -0
  64. package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2_crypto_wolfssl.so +0 -0
  65. package/android/install/ngtcp2-android/armeabi-v7a/lib/pkgconfig/libngtcp2.pc +33 -0
  66. package/android/install/ngtcp2-android/armeabi-v7a/lib/pkgconfig/libngtcp2_crypto_wolfssl.pc +34 -0
  67. package/android/install/ngtcp2-android/armeabi-v7a/share/doc/ngtcp2/README.rst +385 -0
  68. package/android/install/ngtcp2-android/x86_64/include/ngtcp2/ngtcp2.h +6254 -0
  69. package/android/install/ngtcp2-android/x86_64/include/ngtcp2/ngtcp2_crypto.h +1037 -0
  70. package/android/install/ngtcp2-android/x86_64/include/ngtcp2/ngtcp2_crypto_wolfssl.h +106 -0
  71. package/android/install/ngtcp2-android/x86_64/include/ngtcp2/version.h +51 -0
  72. package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2Config.cmake +6 -0
  73. package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2ConfigVersion.cmake +65 -0
  74. package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2Targets-release.cmake +29 -0
  75. package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2Targets.cmake +114 -0
  76. package/android/install/ngtcp2-android/x86_64/lib/libngtcp2.a +0 -0
  77. package/android/install/ngtcp2-android/x86_64/lib/libngtcp2.so +0 -0
  78. package/android/install/ngtcp2-android/x86_64/lib/libngtcp2_crypto_wolfssl.a +0 -0
  79. package/android/install/ngtcp2-android/x86_64/lib/libngtcp2_crypto_wolfssl.so +0 -0
  80. package/android/install/ngtcp2-android/x86_64/lib/pkgconfig/libngtcp2.pc +33 -0
  81. package/android/install/ngtcp2-android/x86_64/lib/pkgconfig/libngtcp2_crypto_wolfssl.pc +34 -0
  82. package/android/install/ngtcp2-android/x86_64/share/doc/ngtcp2/README.rst +385 -0
  83. package/android/install/wolfssl-android/arm64-v8a/bin/wolfssl-config +117 -0
  84. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/callbacks.h +93 -0
  85. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/certs_test.h +7073 -0
  86. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/certs_test_sm.h +2913 -0
  87. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/crl.h +58 -0
  88. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/error-ssl.h +280 -0
  89. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/ocsp.h +191 -0
  90. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/aes.h +117 -0
  91. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/asn1.h +315 -0
  92. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/asn1t.h +30 -0
  93. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/bio.h +237 -0
  94. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/bn.h +332 -0
  95. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/buffer.h +57 -0
  96. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/camellia.h +27 -0
  97. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/cmac.h +66 -0
  98. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/cms.h +26 -0
  99. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/compat_types.h +70 -0
  100. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/conf.h +117 -0
  101. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/crypto.h +171 -0
  102. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/des.h +124 -0
  103. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/dh.h +144 -0
  104. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/dsa.h +164 -0
  105. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ec.h +525 -0
  106. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ec25519.h +46 -0
  107. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ec448.h +46 -0
  108. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ecdh.h +49 -0
  109. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ecdsa.h +87 -0
  110. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ed25519.h +49 -0
  111. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ed448.h +49 -0
  112. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/engine.h +9 -0
  113. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/err.h +84 -0
  114. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/evp.h +1540 -0
  115. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/fips_rand.h +125 -0
  116. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/hmac.h +98 -0
  117. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/kdf.h +45 -0
  118. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/lhash.h +64 -0
  119. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/md4.h +66 -0
  120. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/md5.h +108 -0
  121. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/modes.h +45 -0
  122. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/obj_mac.h +92 -0
  123. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/objects.h +86 -0
  124. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ocsp.h +108 -0
  125. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/opensslconf.h +8 -0
  126. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/opensslv.h +78 -0
  127. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ossl_typ.h +32 -0
  128. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/pem.h +301 -0
  129. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/pkcs12.h +57 -0
  130. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/pkcs7.h +110 -0
  131. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/rand.h +38 -0
  132. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/rc4.h +64 -0
  133. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ripemd.h +58 -0
  134. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/rsa.h +291 -0
  135. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/safestack.h +40 -0
  136. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/sha.h +331 -0
  137. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/sha3.h +158 -0
  138. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/srp.h +33 -0
  139. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ssl.h +1923 -0
  140. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ssl23.h +1 -0
  141. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/stack.h +61 -0
  142. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/tls1.h +64 -0
  143. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/txt_db.h +60 -0
  144. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ui.h +2 -0
  145. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/x509.h +227 -0
  146. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/x509_vfy.h +50 -0
  147. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/x509v3.h +237 -0
  148. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/options.h +273 -0
  149. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/quic.h +310 -0
  150. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/sniffer.h +359 -0
  151. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/sniffer_error.h +151 -0
  152. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/ssl.h +6300 -0
  153. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/test.h +4989 -0
  154. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/version.h +40 -0
  155. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/aes.h +1074 -0
  156. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/arc4.h +69 -0
  157. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ascon.h +109 -0
  158. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/asn.h +2855 -0
  159. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/asn_public.h +1009 -0
  160. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/blake2-impl.h +155 -0
  161. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/blake2-int.h +174 -0
  162. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/blake2.h +108 -0
  163. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/camellia.h +116 -0
  164. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/chacha.h +133 -0
  165. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/chacha20_poly1305.h +157 -0
  166. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/cmac.h +168 -0
  167. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/coding.h +107 -0
  168. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/compress.h +60 -0
  169. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/cpuid.h +153 -0
  170. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/cryptocb.h +770 -0
  171. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/curve25519.h +225 -0
  172. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/curve448.h +151 -0
  173. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/des3.h +167 -0
  174. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/dh.h +210 -0
  175. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/dilithium.h +1051 -0
  176. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/dsa.h +121 -0
  177. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ecc.h +1074 -0
  178. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/eccsi.h +176 -0
  179. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ed25519.h +239 -0
  180. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ed448.h +214 -0
  181. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/error-crypt.h +368 -0
  182. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ext_lms.h +62 -0
  183. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ext_mlkem.h +74 -0
  184. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ext_xmss.h +53 -0
  185. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/falcon.h +180 -0
  186. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/fe_448.h +122 -0
  187. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/fe_operations.h +189 -0
  188. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/fips_test.h +131 -0
  189. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ge_448.h +84 -0
  190. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ge_operations.h +134 -0
  191. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/hash.h +296 -0
  192. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/hmac.h +231 -0
  193. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/hpke.h +145 -0
  194. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/integer.h +449 -0
  195. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/kdf.h +199 -0
  196. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/lms.h +202 -0
  197. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/logging.h +588 -0
  198. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/md2.h +83 -0
  199. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/md4.h +77 -0
  200. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/md5.h +141 -0
  201. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mem_track.h +968 -0
  202. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/memory.h +545 -0
  203. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/misc.h +214 -0
  204. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mlkem.h +377 -0
  205. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mpi_class.h +1021 -0
  206. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mpi_superclass.h +96 -0
  207. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/oid_sum.h +1907 -0
  208. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/pkcs12.h +79 -0
  209. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/pkcs7.h +578 -0
  210. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/poly1305.h +207 -0
  211. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/pwdbased.h +81 -0
  212. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/random.h +300 -0
  213. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/rc2.h +68 -0
  214. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ripemd.h +67 -0
  215. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/rsa.h +494 -0
  216. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sakke.h +228 -0
  217. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/settings.h +4762 -0
  218. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha.h +237 -0
  219. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha256.h +360 -0
  220. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha3.h +274 -0
  221. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha512.h +372 -0
  222. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/signature.h +87 -0
  223. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/siphash.h +101 -0
  224. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sm2.h +27 -0
  225. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sm3.h +27 -0
  226. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sm4.h +27 -0
  227. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sp_int.h +1396 -0
  228. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sphincs.h +167 -0
  229. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/srp.h +313 -0
  230. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/tfm.h +941 -0
  231. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/types.h +2383 -0
  232. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/visibility.h +97 -0
  233. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_encrypt.h +126 -0
  234. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_lms.h +506 -0
  235. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_mlkem.h +370 -0
  236. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_port.h +1764 -0
  237. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_xmss.h +285 -0
  238. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wolfevent.h +120 -0
  239. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wolfmath.h +175 -0
  240. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/xmss.h +203 -0
  241. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfio.h +1035 -0
  242. package/android/install/wolfssl-android/arm64-v8a/lib/libwolfssl.a +0 -0
  243. package/android/install/wolfssl-android/arm64-v8a/lib/libwolfssl.la +41 -0
  244. package/android/install/wolfssl-android/arm64-v8a/lib/pkgconfig/wolfssl.pc +11 -0
  245. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/QUIC.md +117 -0
  246. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/README.txt +8 -0
  247. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/async_client.c +245 -0
  248. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/async_server.c +331 -0
  249. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/client.c +4885 -0
  250. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/echoclient.c +341 -0
  251. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/echoserver.c +498 -0
  252. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-client-dtls.c +135 -0
  253. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-client.c +78 -0
  254. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-server-dtls.c +134 -0
  255. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-server.c +83 -0
  256. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/server.c +4124 -0
  257. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/tls_bench.c +2357 -0
  258. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/taoCert.txt +176 -0
  259. package/android/install/wolfssl-android/armeabi-v7a/bin/wolfssl-config +117 -0
  260. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/callbacks.h +93 -0
  261. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/certs_test.h +7073 -0
  262. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/certs_test_sm.h +2913 -0
  263. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/crl.h +58 -0
  264. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/error-ssl.h +280 -0
  265. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/ocsp.h +191 -0
  266. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/aes.h +117 -0
  267. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/asn1.h +315 -0
  268. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/asn1t.h +30 -0
  269. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/bio.h +237 -0
  270. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/bn.h +332 -0
  271. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/buffer.h +57 -0
  272. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/camellia.h +27 -0
  273. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/cmac.h +66 -0
  274. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/cms.h +26 -0
  275. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/compat_types.h +70 -0
  276. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/conf.h +117 -0
  277. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/crypto.h +171 -0
  278. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/des.h +124 -0
  279. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/dh.h +144 -0
  280. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/dsa.h +164 -0
  281. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ec.h +525 -0
  282. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ec25519.h +46 -0
  283. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ec448.h +46 -0
  284. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ecdh.h +49 -0
  285. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ecdsa.h +87 -0
  286. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ed25519.h +49 -0
  287. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ed448.h +49 -0
  288. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/engine.h +9 -0
  289. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/err.h +84 -0
  290. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/evp.h +1540 -0
  291. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/fips_rand.h +125 -0
  292. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/hmac.h +98 -0
  293. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/kdf.h +45 -0
  294. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/lhash.h +64 -0
  295. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/md4.h +66 -0
  296. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/md5.h +108 -0
  297. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/modes.h +45 -0
  298. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/obj_mac.h +92 -0
  299. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/objects.h +86 -0
  300. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ocsp.h +108 -0
  301. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/opensslconf.h +8 -0
  302. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/opensslv.h +78 -0
  303. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ossl_typ.h +32 -0
  304. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/pem.h +301 -0
  305. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/pkcs12.h +57 -0
  306. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/pkcs7.h +110 -0
  307. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/rand.h +38 -0
  308. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/rc4.h +64 -0
  309. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ripemd.h +58 -0
  310. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/rsa.h +291 -0
  311. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/safestack.h +40 -0
  312. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/sha.h +331 -0
  313. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/sha3.h +158 -0
  314. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/srp.h +33 -0
  315. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ssl.h +1923 -0
  316. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ssl23.h +1 -0
  317. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/stack.h +61 -0
  318. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/tls1.h +64 -0
  319. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/txt_db.h +60 -0
  320. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ui.h +2 -0
  321. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/x509.h +227 -0
  322. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/x509_vfy.h +50 -0
  323. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/x509v3.h +237 -0
  324. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/options.h +261 -0
  325. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/quic.h +310 -0
  326. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/sniffer.h +359 -0
  327. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/sniffer_error.h +151 -0
  328. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/ssl.h +6300 -0
  329. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/test.h +4989 -0
  330. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/version.h +40 -0
  331. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/aes.h +1074 -0
  332. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/arc4.h +69 -0
  333. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ascon.h +109 -0
  334. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/asn.h +2855 -0
  335. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/asn_public.h +1009 -0
  336. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/blake2-impl.h +155 -0
  337. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/blake2-int.h +174 -0
  338. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/blake2.h +108 -0
  339. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/camellia.h +116 -0
  340. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/chacha.h +133 -0
  341. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/chacha20_poly1305.h +157 -0
  342. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/cmac.h +168 -0
  343. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/coding.h +107 -0
  344. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/compress.h +60 -0
  345. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/cpuid.h +153 -0
  346. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/cryptocb.h +770 -0
  347. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/curve25519.h +225 -0
  348. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/curve448.h +151 -0
  349. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/des3.h +167 -0
  350. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/dh.h +210 -0
  351. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/dilithium.h +1051 -0
  352. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/dsa.h +121 -0
  353. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ecc.h +1074 -0
  354. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/eccsi.h +176 -0
  355. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ed25519.h +239 -0
  356. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ed448.h +214 -0
  357. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/error-crypt.h +368 -0
  358. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ext_lms.h +62 -0
  359. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ext_mlkem.h +74 -0
  360. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ext_xmss.h +53 -0
  361. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/falcon.h +180 -0
  362. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/fe_448.h +122 -0
  363. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/fe_operations.h +189 -0
  364. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/fips_test.h +131 -0
  365. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ge_448.h +84 -0
  366. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ge_operations.h +134 -0
  367. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/hash.h +296 -0
  368. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/hmac.h +231 -0
  369. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/hpke.h +145 -0
  370. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/integer.h +449 -0
  371. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/kdf.h +199 -0
  372. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/lms.h +202 -0
  373. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/logging.h +588 -0
  374. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/md2.h +83 -0
  375. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/md4.h +77 -0
  376. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/md5.h +141 -0
  377. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mem_track.h +968 -0
  378. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/memory.h +545 -0
  379. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/misc.h +214 -0
  380. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mlkem.h +377 -0
  381. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mpi_class.h +1021 -0
  382. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mpi_superclass.h +96 -0
  383. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/oid_sum.h +1907 -0
  384. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/pkcs12.h +79 -0
  385. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/pkcs7.h +578 -0
  386. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/poly1305.h +207 -0
  387. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/pwdbased.h +81 -0
  388. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/random.h +300 -0
  389. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/rc2.h +68 -0
  390. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ripemd.h +67 -0
  391. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/rsa.h +494 -0
  392. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sakke.h +228 -0
  393. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/settings.h +4762 -0
  394. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha.h +237 -0
  395. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha256.h +360 -0
  396. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha3.h +274 -0
  397. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha512.h +372 -0
  398. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/signature.h +87 -0
  399. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/siphash.h +101 -0
  400. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sm2.h +27 -0
  401. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sm3.h +27 -0
  402. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sm4.h +27 -0
  403. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sp_int.h +1396 -0
  404. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sphincs.h +167 -0
  405. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/srp.h +313 -0
  406. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/tfm.h +941 -0
  407. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/types.h +2383 -0
  408. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/visibility.h +97 -0
  409. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_encrypt.h +126 -0
  410. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_lms.h +506 -0
  411. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_mlkem.h +370 -0
  412. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_port.h +1764 -0
  413. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_xmss.h +285 -0
  414. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wolfevent.h +120 -0
  415. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wolfmath.h +175 -0
  416. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/xmss.h +203 -0
  417. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfio.h +1035 -0
  418. package/android/install/wolfssl-android/armeabi-v7a/lib/libwolfssl.a +0 -0
  419. package/android/install/wolfssl-android/armeabi-v7a/lib/libwolfssl.la +41 -0
  420. package/android/install/wolfssl-android/armeabi-v7a/lib/pkgconfig/wolfssl.pc +11 -0
  421. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/QUIC.md +117 -0
  422. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/README.txt +8 -0
  423. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/async_client.c +245 -0
  424. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/async_server.c +331 -0
  425. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/client.c +4885 -0
  426. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/echoclient.c +341 -0
  427. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/echoserver.c +498 -0
  428. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-client-dtls.c +135 -0
  429. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-client.c +78 -0
  430. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-server-dtls.c +134 -0
  431. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-server.c +83 -0
  432. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/server.c +4124 -0
  433. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/tls_bench.c +2357 -0
  434. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/taoCert.txt +176 -0
  435. package/android/install/wolfssl-android/x86_64/bin/wolfssl-config +117 -0
  436. package/android/install/wolfssl-android/x86_64/include/wolfssl/callbacks.h +93 -0
  437. package/android/install/wolfssl-android/x86_64/include/wolfssl/certs_test.h +7073 -0
  438. package/android/install/wolfssl-android/x86_64/include/wolfssl/certs_test_sm.h +2913 -0
  439. package/android/install/wolfssl-android/x86_64/include/wolfssl/crl.h +58 -0
  440. package/android/install/wolfssl-android/x86_64/include/wolfssl/error-ssl.h +280 -0
  441. package/android/install/wolfssl-android/x86_64/include/wolfssl/ocsp.h +191 -0
  442. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/aes.h +117 -0
  443. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/asn1.h +315 -0
  444. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/asn1t.h +30 -0
  445. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/bio.h +237 -0
  446. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/bn.h +332 -0
  447. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/buffer.h +57 -0
  448. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/camellia.h +27 -0
  449. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/cmac.h +66 -0
  450. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/cms.h +26 -0
  451. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/compat_types.h +70 -0
  452. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/conf.h +117 -0
  453. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/crypto.h +171 -0
  454. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/des.h +124 -0
  455. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/dh.h +144 -0
  456. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/dsa.h +164 -0
  457. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ec.h +525 -0
  458. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ec25519.h +46 -0
  459. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ec448.h +46 -0
  460. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ecdh.h +49 -0
  461. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ecdsa.h +87 -0
  462. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ed25519.h +49 -0
  463. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ed448.h +49 -0
  464. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/engine.h +9 -0
  465. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/err.h +84 -0
  466. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/evp.h +1540 -0
  467. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/fips_rand.h +125 -0
  468. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/hmac.h +98 -0
  469. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/kdf.h +45 -0
  470. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/lhash.h +64 -0
  471. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/md4.h +66 -0
  472. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/md5.h +108 -0
  473. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/modes.h +45 -0
  474. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/obj_mac.h +92 -0
  475. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/objects.h +86 -0
  476. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ocsp.h +108 -0
  477. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/opensslconf.h +8 -0
  478. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/opensslv.h +78 -0
  479. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ossl_typ.h +32 -0
  480. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/pem.h +301 -0
  481. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/pkcs12.h +57 -0
  482. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/pkcs7.h +110 -0
  483. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/rand.h +38 -0
  484. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/rc4.h +64 -0
  485. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ripemd.h +58 -0
  486. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/rsa.h +291 -0
  487. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/safestack.h +40 -0
  488. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/sha.h +331 -0
  489. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/sha3.h +158 -0
  490. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/srp.h +33 -0
  491. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ssl.h +1923 -0
  492. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ssl23.h +1 -0
  493. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/stack.h +61 -0
  494. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/tls1.h +64 -0
  495. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/txt_db.h +60 -0
  496. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ui.h +2 -0
  497. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/x509.h +227 -0
  498. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/x509_vfy.h +50 -0
  499. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/x509v3.h +237 -0
  500. package/android/install/wolfssl-android/x86_64/include/wolfssl/options.h +273 -0
  501. package/android/install/wolfssl-android/x86_64/include/wolfssl/quic.h +310 -0
  502. package/android/install/wolfssl-android/x86_64/include/wolfssl/sniffer.h +359 -0
  503. package/android/install/wolfssl-android/x86_64/include/wolfssl/sniffer_error.h +151 -0
  504. package/android/install/wolfssl-android/x86_64/include/wolfssl/ssl.h +6300 -0
  505. package/android/install/wolfssl-android/x86_64/include/wolfssl/test.h +4989 -0
  506. package/android/install/wolfssl-android/x86_64/include/wolfssl/version.h +40 -0
  507. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/aes.h +1074 -0
  508. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/arc4.h +69 -0
  509. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ascon.h +109 -0
  510. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/asn.h +2855 -0
  511. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/asn_public.h +1009 -0
  512. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/blake2-impl.h +155 -0
  513. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/blake2-int.h +174 -0
  514. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/blake2.h +108 -0
  515. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/camellia.h +116 -0
  516. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/chacha.h +133 -0
  517. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/chacha20_poly1305.h +157 -0
  518. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/cmac.h +168 -0
  519. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/coding.h +107 -0
  520. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/compress.h +60 -0
  521. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/cpuid.h +153 -0
  522. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/cryptocb.h +770 -0
  523. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/curve25519.h +225 -0
  524. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/curve448.h +151 -0
  525. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/des3.h +167 -0
  526. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/dh.h +210 -0
  527. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/dilithium.h +1051 -0
  528. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/dsa.h +121 -0
  529. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ecc.h +1074 -0
  530. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/eccsi.h +176 -0
  531. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ed25519.h +239 -0
  532. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ed448.h +214 -0
  533. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/error-crypt.h +368 -0
  534. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ext_lms.h +62 -0
  535. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ext_mlkem.h +74 -0
  536. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ext_xmss.h +53 -0
  537. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/falcon.h +180 -0
  538. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/fe_448.h +122 -0
  539. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/fe_operations.h +189 -0
  540. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/fips_test.h +131 -0
  541. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ge_448.h +84 -0
  542. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ge_operations.h +134 -0
  543. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/hash.h +296 -0
  544. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/hmac.h +231 -0
  545. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/hpke.h +145 -0
  546. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/integer.h +449 -0
  547. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/kdf.h +199 -0
  548. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/lms.h +202 -0
  549. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/logging.h +588 -0
  550. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/md2.h +83 -0
  551. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/md4.h +77 -0
  552. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/md5.h +141 -0
  553. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mem_track.h +968 -0
  554. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/memory.h +545 -0
  555. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/misc.h +214 -0
  556. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mlkem.h +377 -0
  557. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mpi_class.h +1021 -0
  558. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mpi_superclass.h +96 -0
  559. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/oid_sum.h +1907 -0
  560. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/pkcs12.h +79 -0
  561. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/pkcs7.h +578 -0
  562. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/poly1305.h +207 -0
  563. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/pwdbased.h +81 -0
  564. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/random.h +300 -0
  565. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/rc2.h +68 -0
  566. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ripemd.h +67 -0
  567. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/rsa.h +494 -0
  568. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sakke.h +228 -0
  569. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/settings.h +4762 -0
  570. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha.h +237 -0
  571. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha256.h +360 -0
  572. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha3.h +274 -0
  573. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha512.h +372 -0
  574. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/signature.h +87 -0
  575. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/siphash.h +101 -0
  576. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sm2.h +27 -0
  577. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sm3.h +27 -0
  578. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sm4.h +27 -0
  579. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sp_int.h +1396 -0
  580. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sphincs.h +167 -0
  581. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/srp.h +313 -0
  582. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/tfm.h +941 -0
  583. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/types.h +2383 -0
  584. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/visibility.h +97 -0
  585. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_encrypt.h +126 -0
  586. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_lms.h +506 -0
  587. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_mlkem.h +370 -0
  588. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_port.h +1764 -0
  589. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_xmss.h +285 -0
  590. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wolfevent.h +120 -0
  591. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wolfmath.h +175 -0
  592. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/xmss.h +203 -0
  593. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfio.h +1035 -0
  594. package/android/install/wolfssl-android/x86_64/lib/libwolfssl.a +0 -0
  595. package/android/install/wolfssl-android/x86_64/lib/libwolfssl.la +41 -0
  596. package/android/install/wolfssl-android/x86_64/lib/pkgconfig/wolfssl.pc +11 -0
  597. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/QUIC.md +117 -0
  598. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/README.txt +8 -0
  599. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/async_client.c +245 -0
  600. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/async_server.c +331 -0
  601. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/client.c +4885 -0
  602. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/echoclient.c +341 -0
  603. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/echoserver.c +498 -0
  604. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-client-dtls.c +135 -0
  605. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-client.c +78 -0
  606. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-server-dtls.c +134 -0
  607. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-server.c +83 -0
  608. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/server.c +4124 -0
  609. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/tls_bench.c +2357 -0
  610. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/taoCert.txt +176 -0
  611. package/android/src/main/cpp/CMakeLists.txt +35 -29
  612. package/android/src/main/cpp/ngtcp2_jni.cpp +56 -50
  613. package/android/src/main/kotlin/ai/annadata/mqttquic/MqttQuicPlugin.kt +18 -3
  614. package/android/src/main/kotlin/ai/annadata/mqttquic/client/MQTTClient.kt +9 -6
  615. package/android/src/main/kotlin/ai/annadata/mqttquic/mqtt/MQTTProtocol.kt +3 -3
  616. package/android/src/main/kotlin/ai/annadata/mqttquic/mqtt/MQTTTypes.kt +15 -15
  617. package/android/src/main/kotlin/ai/annadata/mqttquic/quic/NGTCP2Client.kt +1 -0
  618. package/build-native.sh +397 -0
  619. package/deps-versions.sh +25 -0
  620. package/dist/esm/definitions.d.ts +20 -0
  621. package/dist/esm/definitions.d.ts.map +1 -1
  622. package/dist/esm/web.d.ts +26 -3
  623. package/dist/esm/web.d.ts.map +1 -1
  624. package/dist/esm/web.js +230 -10
  625. package/dist/esm/web.js.map +1 -1
  626. package/dist/plugin.cjs.js +11363 -13
  627. package/dist/plugin.cjs.js.map +1 -1
  628. package/dist/plugin.js +11364 -14
  629. package/dist/plugin.js.map +1 -1
  630. package/docs/ARCHITECTURAL_ANALYSIS.md +710 -0
  631. package/docs/CAPACITOR_MQTT_QUIC_PRODUCTION_PLUGIN.md +190 -0
  632. package/docs/CAPACITOR_VERSION_SUPPORT.md +65 -0
  633. package/docs/IMPLEMENTATION_SUMMARY.md +246 -0
  634. package/docs/MQTT5_CLIENT_COMPLIANCE.md +48 -0
  635. package/docs/MQTT5_IMPLEMENTATION_COMPLETE.md +178 -0
  636. package/docs/MQTT_VERSION_ANALYSIS.md +233 -0
  637. package/docs/NGTCP2_IMPLEMENTATION_STATUS.md +214 -0
  638. package/docs/NGTCP2_INTEGRATION_PLAN.md +597 -0
  639. package/docs/P0_P1_CHANGELOG.md +79 -0
  640. package/docs/PRODUCTION_PUBLISH_STEPS.md +167 -0
  641. package/docs/PROJECT_OVERVIEW.md +193 -0
  642. package/ios/.swiftpm/xcode/xcuserdata/annadata.xcuserdatad/xcschemes/xcschememanagement.plist +1 -1
  643. package/ios/{MqttQuicPlugin.podspec → AnnadataCapacitorMqttQuic.podspec} +4 -4
  644. package/ios/App/App/capacitor.config.json +1 -1
  645. package/ios/NGTCP2_BUILD_INSTRUCTIONS.md +15 -3
  646. package/ios/Package.swift +7 -8
  647. package/ios/Sources/MqttQuicPlugin/MqttQuicPlugin.swift +6 -0
  648. package/ios/Sources/MqttQuicPlugin/QUIC/NGTCP2Bridge.mm +6 -0
  649. package/ios/Tests/MQTTProtocolTests.swift +1 -1
  650. package/ios/build-openssl.sh +1 -1
  651. package/ios/libs/MqttQuicLibs.xcframework/Info.plist +44 -0
  652. package/ios/libs/MqttQuicLibs.xcframework/ios-arm64/libmqttquic_native_device.a +0 -0
  653. package/ios/libs/MqttQuicLibs.xcframework/ios-arm64_x86_64-simulator/libmqttquic_native_simulator.a +0 -0
  654. package/ios/libs/libnghttp3.a +0 -0
  655. package/ios/libs/libngtcp2.a +0 -0
  656. package/ios/libs/libngtcp2_crypto_wolfssl.a +0 -0
  657. package/ios/libs/libwolfssl.a +0 -0
  658. package/ios/libs-simulator/libnghttp3.a +0 -0
  659. package/ios/libs-simulator/libngtcp2.a +0 -0
  660. package/ios/libs-simulator/libngtcp2_crypto_wolfssl.a +0 -0
  661. package/ios/libs-simulator/libwolfssl.a +0 -0
  662. package/ios/libs-simulator-x86_64/libnghttp3.a +0 -0
  663. package/ios/libs-simulator-x86_64/libngtcp2.a +0 -0
  664. package/ios/libs-simulator-x86_64/libngtcp2_crypto_wolfssl.a +0 -0
  665. package/ios/libs-simulator-x86_64/libwolfssl.a +0 -0
  666. package/package.json +26 -10
@@ -0,0 +1,1923 @@
1
+ /* ssl.h
2
+ *
3
+ * Copyright (C) 2006-2025 wolfSSL Inc.
4
+ *
5
+ * This file is part of wolfSSL.
6
+ *
7
+ * wolfSSL is free software; you can redistribute it and/or modify
8
+ * it under the terms of the GNU General Public License as published by
9
+ * the Free Software Foundation; either version 3 of the License, or
10
+ * (at your option) any later version.
11
+ *
12
+ * wolfSSL is distributed in the hope that it will be useful,
13
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ * GNU General Public License for more details.
16
+ *
17
+ * You should have received a copy of the GNU General Public License
18
+ * along with this program; if not, write to the Free Software
19
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
20
+ */
21
+
22
+
23
+
24
+ /* ssl.h defines wolfssl_openssl compatibility layer
25
+ *
26
+ */
27
+
28
+
29
+ #ifndef WOLFSSL_OPENSSL_H_
30
+ #define WOLFSSL_OPENSSL_H_
31
+
32
+ #include <wolfssl/wolfcrypt/types.h>
33
+
34
+ #include <wolfssl/openssl/compat_types.h>
35
+
36
+ /* wolfssl_openssl compatibility layer */
37
+ #ifndef OPENSSL_EXTRA_SSL_GUARD
38
+ #define OPENSSL_EXTRA_SSL_GUARD
39
+ #include <wolfssl/ssl.h>
40
+ #endif /* OPENSSL_EXTRA_SSL_GUARD */
41
+
42
+ #include <wolfssl/openssl/tls1.h>
43
+ #ifndef WOLFCRYPT_ONLY
44
+ #include <wolfssl/openssl/evp.h>
45
+ #endif
46
+ #include <wolfssl/openssl/bio.h>
47
+ #ifdef OPENSSL_EXTRA
48
+ #include <wolfssl/openssl/crypto.h>
49
+ #endif
50
+
51
+ #if defined(WOLFSSL_QT) || defined(OPENSSL_ALL)
52
+ #include <wolfssl/openssl/dh.h>
53
+ #include <wolfssl/openssl/objects.h>
54
+ #endif
55
+
56
+ /* need MIN_CODE_E to determine wolfSSL error range */
57
+ #include <wolfssl/wolfcrypt/error-crypt.h>
58
+
59
+ /* all NID_* values are in asn.h */
60
+ #include <wolfssl/wolfcrypt/asn.h>
61
+
62
+ #include <wolfssl/openssl/x509.h>
63
+
64
+ #ifdef __cplusplus
65
+ extern "C" {
66
+ #endif
67
+
68
+ #ifdef _WIN32
69
+ /* wincrypt.h clashes */
70
+ #undef X509_NAME
71
+ #endif
72
+
73
+ #ifdef WOLFSSL_UTASKER
74
+ /* tcpip.h clashes */
75
+ #undef ASN1_INTEGER
76
+ #endif
77
+
78
+ #if defined(OPENSSL_EXTRA) || defined(OPENSSL_EXTRA_X509_SMALL)
79
+
80
+ #ifndef WOLFCRYPT_ONLY
81
+
82
+ #define WOLFSSL_ERR_LIB_SYS 2
83
+ #define WOLFSSL_ERR_LIB_RSA 4
84
+ #define WOLFSSL_ERR_LIB_PEM 9
85
+ #define WOLFSSL_ERR_LIB_X509 10
86
+ #define WOLFSSL_ERR_LIB_EVP 11
87
+ #define WOLFSSL_ERR_LIB_ASN1 12
88
+ #define WOLFSSL_ERR_LIB_DIGEST 13
89
+ #define WOLFSSL_ERR_LIB_CIPHER 14
90
+ #define WOLFSSL_ERR_LIB_USER 15
91
+ #define WOLFSSL_ERR_LIB_EC 16
92
+ #define WOLFSSL_ERR_LIB_SSL 20
93
+ #define WOLFSSL_ERR_LIB_PKCS12 35
94
+
95
+ #endif
96
+
97
+ #ifndef WOLFCRYPT_ONLY
98
+ #define WOLFSSL_PEMerr(func, reason) wolfSSL_ERR_put_error(WOLFSSL_ERR_LIB_PEM, \
99
+ (func), (reason), __FILE__, __LINE__)
100
+ #else
101
+ #define WOLFSSL_PEMerr(func, reason) WOLFSSL_ERROR_LINE((reason), \
102
+ NULL, __LINE__, __FILE__, NULL)
103
+ #endif
104
+ #ifndef WOLFCRYPT_ONLY
105
+ #define WOLFSSL_EVPerr(func, reason) wolfSSL_ERR_put_error(WOLFSSL_ERR_LIB_EVP, \
106
+ (func), (reason), __FILE__, __LINE__)
107
+ #else
108
+ #define WOLFSSL_EVPerr(func, reason) WOLFSSL_ERROR_LINE((reason), \
109
+ NULL, __LINE__, __FILE__, NULL)
110
+ #endif
111
+
112
+ #endif /* OPENSSL_EXTRA || OPENSSL_EXTRA_X509_SMALL */
113
+
114
+ #define WOLFSSL_AD_UNRECOGNIZED_NAME unrecognized_name
115
+
116
+ #define WOLFSSL_TLSEXT_STATUSTYPE_ocsp 1
117
+
118
+ #if defined(WOLFSSL_NGINX) || defined(WOLFSSL_HAPROXY) || \
119
+ defined(WOLFSSL_MYSQL_COMPATIBLE) || defined(OPENSSL_EXTRA) || \
120
+ defined(HAVE_LIGHTY) || defined(HAVE_STUNNEL) || \
121
+ defined(WOLFSSL_WPAS_SMALL)
122
+
123
+ #define WOLFSSL_NPN_UNSUPPORTED 0
124
+ #define WOLFSSL_NPN_NEGOTIATED 1
125
+ #define WOLFSSL_NPN_NO_OVERLAP 2
126
+
127
+ #endif /* WOLFSSL_NGINX || WOLFSSL_HAPROXY || \
128
+ WOLFSSL_MYSQL_COMPATIBLE || OPENSSL_EXTRA || \
129
+ HAVE_LIGHTY || HAVE_STUNNEL || \
130
+ WOLFSSL_WPAS_SMALL */
131
+
132
+ #if !defined(OPENSSL_COEXIST) && \
133
+ (defined(OPENSSL_EXTRA) || defined(OPENSSL_EXTRA_X509_SMALL))
134
+
135
+ typedef WOLFSSL SSL;
136
+ typedef WOLFSSL_SESSION SSL_SESSION;
137
+ typedef WOLFSSL_METHOD SSL_METHOD;
138
+ typedef WOLFSSL_CTX SSL_CTX;
139
+
140
+ typedef WOLFSSL_X509 X509;
141
+ typedef WOLFSSL_X509 X509_REQ;
142
+ typedef WOLFSSL_X509 X509_REQ_INFO;
143
+ typedef WOLFSSL_X509_NAME X509_NAME;
144
+ typedef WOLFSSL_X509_INFO X509_INFO;
145
+ typedef WOLFSSL_X509_CHAIN X509_CHAIN;
146
+
147
+ /* STACK_OF(ASN1_OBJECT) */
148
+ typedef WOLFSSL_STACK EXTENDED_KEY_USAGE;
149
+
150
+
151
+ /* redeclare guard */
152
+ #define WOLFSSL_TYPES_DEFINED
153
+
154
+ typedef WOLFSSL_BIO BIO;
155
+ typedef WOLFSSL_BIO_METHOD BIO_METHOD;
156
+ typedef WOLFSSL_CIPHER SSL_CIPHER;
157
+ typedef WOLFSSL_X509_LOOKUP X509_LOOKUP;
158
+ typedef WOLFSSL_X509_LOOKUP_METHOD X509_LOOKUP_METHOD;
159
+ typedef WOLFSSL_X509_CRL X509_CRL;
160
+ typedef WOLFSSL_X509_ACERT X509_ACERT;
161
+ typedef WOLFSSL_X509_EXTENSION X509_EXTENSION;
162
+ typedef WOLFSSL_X509_PUBKEY X509_PUBKEY;
163
+ typedef WOLFSSL_X509_ALGOR X509_ALGOR;
164
+ typedef WOLFSSL_ASN1_TIME ASN1_TIME;
165
+ typedef WOLFSSL_ASN1_INTEGER ASN1_INTEGER;
166
+ typedef WOLFSSL_ASN1_OBJECT ASN1_OBJECT;
167
+ typedef WOLFSSL_ASN1_STRING ASN1_STRING;
168
+ typedef WOLFSSL_ASN1_TYPE ASN1_TYPE;
169
+ typedef WOLFSSL_X509_ATTRIBUTE X509_ATTRIBUTE;
170
+ typedef WOLFSSL_ASN1_BIT_STRING ASN1_BIT_STRING;
171
+ typedef WOLFSSL_dynlock_value CRYPTO_dynlock_value;
172
+ typedef WOLFSSL_BUF_MEM BUF_MEM;
173
+ typedef WOLFSSL_GENERAL_NAMES GENERAL_NAMES;
174
+ typedef WOLFSSL_GENERAL_NAME GENERAL_NAME;
175
+ typedef WOLFSSL_OBJ_NAME OBJ_NAME;
176
+ typedef WOLFSSL_DIST_POINT_NAME DIST_POINT_NAME;
177
+ typedef WOLFSSL_DIST_POINT DIST_POINT;
178
+
179
+ #define X509_L_FILE_LOAD WOLFSSL_X509_L_FILE_LOAD
180
+ #define X509_L_ADD_DIR WOLFSSL_X509_L_ADD_DIR
181
+ #define X509_L_ADD_STORE WOLFSSL_X509_L_ADD_STORE
182
+ #define X509_L_LOAD_STORE WOLFSSL_X509_L_LOAD_STORE
183
+
184
+ #define ASN1_UTCTIME WOLFSSL_ASN1_TIME
185
+ #define ASN1_GENERALIZEDTIME WOLFSSL_ASN1_TIME
186
+
187
+ typedef WOLFSSL_COMP_METHOD COMP_METHOD;
188
+ typedef WOLFSSL_COMP SSL_COMP;
189
+ typedef WOLFSSL_X509_REVOKED X509_REVOKED;
190
+ typedef WOLFSSL_X509_LOOKUP_TYPE X509_LOOKUP_TYPE;
191
+ typedef WOLFSSL_X509_OBJECT X509_OBJECT;
192
+ typedef WOLFSSL_X509_STORE X509_STORE;
193
+ typedef WOLFSSL_X509_STORE_CTX X509_STORE_CTX;
194
+ typedef WOLFSSL_X509_VERIFY_PARAM X509_VERIFY_PARAM;
195
+
196
+ typedef int OSSL_HANDSHAKE_STATE;
197
+ #define TLS_ST_BEFORE 0 /* NULL_STATE from enum states */
198
+
199
+ #define EVP_CIPHER_INFO EncryptedInfo
200
+
201
+ #define STACK_OF(x) WOLFSSL_STACK
202
+ #define OPENSSL_STACK WOLFSSL_STACK
203
+ #define _STACK OPENSSL_STACK
204
+
205
+ #define CONF_get1_default_config_file wolfSSL_CONF_get1_default_config_file
206
+ typedef STACK_OF(ACCESS_DESCRIPTION) AUTHORITY_INFO_ACCESS;
207
+
208
+ #define CRYPTO_free wolfSSL_CRYPTO_free
209
+ #define CRYPTO_malloc wolfSSL_CRYPTO_malloc
210
+ #define CRYPTO_EX_new WOLFSSL_CRYPTO_EX_new
211
+ #define CRYPTO_EX_dup WOLFSSL_CRYPTO_EX_dup
212
+ #define CRYPTO_EX_free WOLFSSL_CRYPTO_EX_free
213
+ #ifdef HAVE_EX_DATA
214
+ #define CRYPTO_EX_DATA WOLFSSL_CRYPTO_EX_DATA
215
+ #endif
216
+
217
+ #define CRYPTO_set_mem_functions wolfSSL_CRYPTO_set_mem_functions
218
+
219
+ /* deprecated */
220
+ #define CRYPTO_thread_id wolfSSL_thread_id
221
+ #define CRYPTO_set_id_callback wolfSSL_set_id_callback
222
+
223
+ /* compat CRYPTO_LOCK is defined in wolfssl/ssl.h */
224
+ #define CRYPTO_UNLOCK 0x02
225
+ #define CRYPTO_READ 0x04
226
+ #define CRYPTO_WRITE 0x08
227
+
228
+ #define CRYPTO_set_locking_callback wolfSSL_set_locking_callback
229
+ #define CRYPTO_get_locking_callback wolfSSL_get_locking_callback
230
+ #define CRYPTO_set_dynlock_create_callback wolfSSL_set_dynlock_create_callback
231
+ #define CRYPTO_set_dynlock_lock_callback wolfSSL_set_dynlock_lock_callback
232
+ #define CRYPTO_set_dynlock_destroy_callback wolfSSL_set_dynlock_destroy_callback
233
+ #define CRYPTO_num_locks wolfSSL_num_locks
234
+ #define CRYPTO_dynlock_value WOLFSSL_dynlock_value
235
+
236
+ #define CRYPTO_cleanup_all_ex_data wolfSSL_cleanup_all_ex_data
237
+ #define set_ex_data wolfSSL_CRYPTO_set_ex_data
238
+ #define get_ex_data wolfSSL_CRYPTO_get_ex_data
239
+ #define CRYPTO_memcmp wolfSSL_CRYPTO_memcmp
240
+ #define CRYPTO_get_ex_new_index wolfSSL_CRYPTO_get_ex_new_index
241
+
242
+ #define CRYPTO_get_ex_new_index wolfSSL_CRYPTO_get_ex_new_index
243
+
244
+ /* this function was used to set the default malloc, free, and realloc */
245
+ #define CRYPTO_malloc_init() 0 /* CRYPTO_malloc_init is not needed */
246
+ #define OPENSSL_malloc_init() 0 /* OPENSSL_malloc_init is not needed */
247
+
248
+ #define SSL_get_client_random(ssl,out,outSz) \
249
+ wolfSSL_get_client_random((ssl),(out),(outSz))
250
+ #define SSL_get_cipher_list(ctx,i) wolfSSL_get_cipher_list_ex((ctx),(i))
251
+ #define SSL_get_cipher_name(ctx) wolfSSL_get_cipher((ctx))
252
+ #define SSL_get_shared_ciphers(ctx,buf,len) \
253
+ wolfSSL_get_shared_ciphers((ctx),(buf),(len))
254
+
255
+ /* at the moment only returns ok */
256
+ #define SSL_get_verify_result wolfSSL_get_verify_result
257
+ #define SSL_get_verify_mode wolfSSL_get_verify_mode
258
+ #define SSL_get_verify_depth wolfSSL_get_verify_depth
259
+ #define SSL_CTX_get_verify_mode wolfSSL_CTX_get_verify_mode
260
+ #define SSL_CTX_get_verify_depth wolfSSL_CTX_get_verify_depth
261
+ #define SSL_get_certificate wolfSSL_get_certificate
262
+ #define SSL_CTX_get0_certificate wolfSSL_CTX_get0_certificate
263
+ #define SSL_use_certificate wolfSSL_use_certificate
264
+ #define SSL_use_certificate_ASN1 wolfSSL_use_certificate_ASN1
265
+ #define d2i_PKCS8_PRIV_KEY_INFO_bio wolfSSL_d2i_PKCS8_PKEY_bio
266
+ #define d2i_PKCS8_PRIV_KEY_INFO wolfSSL_d2i_PKCS8_PKEY
267
+ #define i2d_PKCS8_PRIV_KEY_INFO wolfSSL_i2d_PKCS8_PKEY
268
+ #define d2i_PKCS8PrivateKey_bio wolfSSL_d2i_PKCS8PrivateKey_bio
269
+ #define i2d_PKCS8PrivateKey_bio wolfSSL_PEM_write_bio_PKCS8PrivateKey
270
+ #define PKCS8_PRIV_KEY_INFO_free wolfSSL_EVP_PKEY_free
271
+ #define d2i_PKCS12_fp wolfSSL_d2i_PKCS12_fp
272
+ #define SSL_set_ecdh_auto wolfSSL_set_ecdh_auto
273
+ #define SSL_CTX_set_ecdh_auto wolfSSL_CTX_set_ecdh_auto
274
+
275
+ #define i2d_PUBKEY wolfSSL_i2d_PUBKEY
276
+ #define i2d_X509_PUBKEY wolfSSL_i2d_X509_PUBKEY
277
+ #define d2i_PUBKEY wolfSSL_d2i_PUBKEY
278
+ #define d2i_PUBKEY_bio wolfSSL_d2i_PUBKEY_bio
279
+ #define d2i_PublicKey wolfSSL_d2i_PublicKey
280
+ #define d2i_PrivateKey wolfSSL_d2i_PrivateKey
281
+ #define d2i_AutoPrivateKey wolfSSL_d2i_AutoPrivateKey
282
+ #define SSL_use_PrivateKey wolfSSL_use_PrivateKey
283
+ #define SSL_use_PrivateKey_ASN1 wolfSSL_use_PrivateKey_ASN1
284
+ #define SSL_use_RSAPrivateKey_ASN1 wolfSSL_use_RSAPrivateKey_ASN1
285
+ #define SSL_get_privatekey wolfSSL_get_privatekey
286
+ #define SSL_CTX_use_PrivateKey_ASN1 wolfSSL_CTX_use_PrivateKey_ASN1
287
+
288
+ #define SSLv23_method wolfSSLv23_method
289
+ #define SSLv23_client_method wolfSSLv23_client_method
290
+ #define SSLv2_client_method wolfSSLv2_client_method
291
+ #define SSLv2_server_method wolfSSLv2_server_method
292
+ #define SSLv3_method wolfSSLv3_method
293
+ #define SSLv3_server_method wolfSSLv3_server_method
294
+ #define SSLv3_client_method wolfSSLv3_client_method
295
+ #define TLS_client_method wolfTLS_client_method
296
+ #define TLS_server_method wolfTLS_server_method
297
+ #define TLSv1_method wolfTLSv1_method
298
+ #define TLSv1_server_method wolfTLSv1_server_method
299
+ #define TLSv1_client_method wolfTLSv1_client_method
300
+ #define TLSv1_1_method wolfTLSv1_1_method
301
+ #define TLSv1_1_server_method wolfTLSv1_1_server_method
302
+ #define TLSv1_1_client_method wolfTLSv1_1_client_method
303
+ #define TLSv1_2_method wolfTLSv1_2_method
304
+ #define TLSv1_2_server_method wolfTLSv1_2_server_method
305
+ #define TLSv1_2_client_method wolfTLSv1_2_client_method
306
+ #define TLSv1_3_method wolfTLSv1_3_method
307
+ #define TLSv1_3_server_method wolfTLSv1_3_server_method
308
+ #define TLSv1_3_client_method wolfTLSv1_3_client_method
309
+ #define TLS_method wolfSSLv23_method
310
+
311
+ #define X509_FILETYPE_PEM WOLFSSL_FILETYPE_PEM
312
+ #define X509_FILETYPE_ASN1 WOLFSSL_FILETYPE_ASN1
313
+ #define X509_FILETYPE_DEFAULT WOLFSSL_FILETYPE_DEFAULT
314
+
315
+ #define X509_F_X509_CHECK_PRIVATE_KEY 128
316
+
317
+ #ifdef WOLFSSL_DTLS
318
+ #define DTLS_client_method wolfDTLS_client_method
319
+ #define DTLS_server_method wolfDTLS_server_method
320
+ #define DTLSv1_client_method wolfDTLSv1_client_method
321
+ #define DTLSv1_server_method wolfDTLSv1_server_method
322
+ #define DTLSv1_2_client_method wolfDTLSv1_2_client_method
323
+ #define DTLSv1_2_server_method wolfDTLSv1_2_server_method
324
+ #define DTLS_method wolfDTLS_method
325
+ #endif
326
+
327
+
328
+ #ifndef NO_FILESYSTEM
329
+ #define SSL_CTX_use_certificate_file wolfSSL_CTX_use_certificate_file
330
+ #define SSL_CTX_use_PrivateKey_file wolfSSL_CTX_use_PrivateKey_file
331
+ #define SSL_CTX_load_verify_locations wolfSSL_CTX_load_verify_locations_compat
332
+ #define SSL_CTX_set_default_verify_paths wolfSSL_CTX_set_default_verify_paths
333
+ #define SSL_CTX_use_certificate_chain_file wolfSSL_CTX_use_certificate_chain_file
334
+ #define SSL_CTX_use_RSAPrivateKey_file wolfSSL_CTX_use_RSAPrivateKey_file
335
+
336
+ #define SSL_use_certificate_file wolfSSL_use_certificate_file
337
+ #define SSL_use_PrivateKey_file wolfSSL_use_PrivateKey_file
338
+ #define SSL_use_certificate_chain_file wolfSSL_use_certificate_chain_file
339
+ #define SSL_use_RSAPrivateKey_file wolfSSL_use_RSAPrivateKey_file
340
+ #endif
341
+
342
+ #define SSL_CTX_new(method) wolfSSL_CTX_new((WOLFSSL_METHOD*)(method))
343
+ #ifdef OPENSSL_EXTRA
344
+ #define SSL_CTX_up_ref wolfSSL_CTX_up_ref
345
+ #endif
346
+ #define SSL_new wolfSSL_new
347
+ #define SSL_set_fd wolfSSL_set_fd
348
+ #define SSL_get_fd wolfSSL_get_fd
349
+ #define SSL_connect wolfSSL_connect
350
+ #define SSL_clear wolfSSL_clear
351
+ #define SSL_state wolfSSL_state
352
+ #define SSL_read_early_data(ssl, d, dLen, len) wolfSSL_read_early_data(ssl, d, (int)(dLen), (int *)(len))
353
+ #define SSL_write_early_data(ssl, d, dLen, len) wolfSSL_write_early_data(ssl, d, (int)(dLen), (int *)(len))
354
+
355
+ #define SSL_write wolfSSL_write
356
+ #define SSL_write_ex wolfSSL_write_ex
357
+ #define SSL_read wolfSSL_read
358
+ #define SSL_read_ex wolfSSL_read_ex
359
+ #define SSL_peek wolfSSL_peek
360
+ #define SSL_accept wolfSSL_accept
361
+ #define SSL_CTX_free wolfSSL_CTX_free
362
+ #define SSL_free wolfSSL_free
363
+ #define SSL_shutdown wolfSSL_shutdown
364
+ #define SSL_set_timeout wolfSSL_SSL_SESSION_set_timeout
365
+
366
+ #define SSL_CTX_set_quiet_shutdown wolfSSL_CTX_set_quiet_shutdown
367
+ #define SSL_set_quiet_shutdown wolfSSL_set_quiet_shutdown
368
+ #define SSL_get_error wolfSSL_get_error
369
+ #define SSL_set_session wolfSSL_set_session
370
+ #define SSL_get_session(x) wolfSSL_get_session((WOLFSSL*) (x))
371
+ #define SSL_SESSION_get0_peer wolfSSL_SESSION_get0_peer
372
+ #define SSL_flush_sessions wolfSSL_flush_sessions
373
+ #define SSL_CTX_get_session_cache_mode(ctx) \
374
+ wolfSSL_CTX_get_session_cache_mode((ctx))
375
+
376
+ #define SSL_CTX_set_verify wolfSSL_CTX_set_verify
377
+ #define SSL_CTX_set_cert_verify_callback wolfSSL_CTX_set_cert_verify_callback
378
+ #define SSL_CTX_set_cert_cb wolfSSL_CTX_set_cert_cb
379
+ #define SSL_set_verify wolfSSL_set_verify
380
+ #define SSL_set_verify_result wolfSSL_set_verify_result
381
+ #define SSL_verify_client_post_handshake wolfSSL_verify_client_post_handshake
382
+ #define SSL_set_post_handshake_auth wolfSSL_set_post_handshake_auth
383
+ #define SSL_CTX_set_post_handshake_auth wolfSSL_CTX_set_post_handshake_auth
384
+ #define SSL_pending(x) wolfSSL_pending((WOLFSSL*)(x))
385
+ #define SSL_has_pending wolfSSL_has_pending
386
+ #define SSL_load_error_strings wolfSSL_load_error_strings
387
+ #define SSL_library_init wolfSSL_library_init
388
+ #define OPENSSL_cleanup (void)wolfSSL_Cleanup
389
+ #define OPENSSL_init_ssl wolfSSL_OPENSSL_init_ssl
390
+ #define OpenSSL_add_ssl_algorithms wolfSSL_library_init
391
+ #define SSL_CTX_set_session_cache_mode wolfSSL_CTX_set_session_cache_mode
392
+ #define SSL_CTX_set_cipher_list wolfSSL_CTX_set_cipher_list
393
+ #define SSL_CTX_set_ciphersuites wolfSSL_CTX_set_cipher_list
394
+ #define SSL_set_cipher_list wolfSSL_set_cipher_list
395
+ /* wolfSSL does not support security levels */
396
+ #define SSL_CTX_set_security_level wolfSSL_CTX_set_security_level
397
+ #define SSL_CTX_get_security_level wolfSSL_CTX_get_security_level
398
+ #define SSL_export_keying_material wolfSSL_export_keying_material
399
+
400
+ #define SSL_CTX_set1_sigalgs_list wolfSSL_CTX_set1_sigalgs_list
401
+ #define SSL_set1_sigalgs_list wolfSSL_set1_sigalgs_list
402
+ #define SSL_get_signature_nid wolfSSL_get_signature_nid
403
+ #define SSL_get_signature_type_nid wolfSSL_get_signature_type_nid
404
+ #define SSL_get_peer_signature_nid wolfSSL_get_peer_signature_nid
405
+ #define SSL_get_peer_signature_type_nid wolfSSL_get_peer_signature_type_nid
406
+
407
+ #define SSL_CTX_set1_groups wolfSSL_CTX_set1_groups
408
+ #define SSL_set1_groups wolfSSL_set1_groups
409
+
410
+ #define SSL_CTX_set1_groups_list wolfSSL_CTX_set1_groups_list
411
+ #define SSL_set1_groups_list wolfSSL_set1_groups_list
412
+
413
+ #define SSL_set_ex_data wolfSSL_set_ex_data
414
+ #define SSL_get_shutdown wolfSSL_get_shutdown
415
+ #define SSL_get_finished wolfSSL_get_finished
416
+ #define SSL_get_peer_finished wolfSSL_get_peer_finished
417
+ #define SSL_set_rfd wolfSSL_set_rfd
418
+ #define SSL_set_wfd wolfSSL_set_wfd
419
+ #define SSL_set_shutdown wolfSSL_set_shutdown
420
+ #define SSL_set_session_id_context wolfSSL_set_session_id_context
421
+ #define SSL_set_connect_state wolfSSL_set_connect_state
422
+ #define SSL_set_accept_state wolfSSL_set_accept_state
423
+ #define SSL_SESSION_new wolfSSL_SESSION_new
424
+ #define SSL_session_reused wolfSSL_session_reused
425
+ #define SSL_SESSION_up_ref wolfSSL_SESSION_up_ref
426
+ #define SSL_SESSION_dup wolfSSL_SESSION_dup
427
+ #define SSL_SESSION_free wolfSSL_SESSION_free
428
+ #define SSL_SESSION_set_cipher wolfSSL_SESSION_set_cipher
429
+ #define SSL_SESSION_get_max_fragment_length \
430
+ wolfSSL_SESSION_get_max_fragment_length
431
+ #define SSL_is_init_finished wolfSSL_is_init_finished
432
+
433
+ #define SSL_SESSION_set1_id wolfSSL_SESSION_set1_id
434
+ #define SSL_SESSION_set1_id_context wolfSSL_SESSION_set1_id_context
435
+
436
+ #define SSL_get_version wolfSSL_get_version
437
+ #define SSL_get_current_cipher wolfSSL_get_current_cipher
438
+ #define SSL_get_client_ciphers wolfSSL_get_client_ciphers
439
+
440
+ /* use wolfSSL_get_cipher_name for its return format */
441
+ #define SSL_get_cipher wolfSSL_get_cipher_name
442
+ #define SSL_CIPHER_description wolfSSL_CIPHER_description
443
+ #define SSL_CIPHER_get_name wolfSSL_CIPHER_get_name
444
+ #define SSL_CIPHER_get_version wolfSSL_CIPHER_get_version
445
+ #define SSL_CIPHER_get_id wolfSSL_CIPHER_get_id
446
+ #define SSL_CIPHER_get_rfc_name wolfSSL_CIPHER_get_name
447
+ #define SSL_CIPHER_standard_name wolfSSL_CIPHER_get_name
448
+ #define SSL_CIPHER_get_auth_nid wolfSSL_CIPHER_get_auth_nid
449
+ #define SSL_CIPHER_get_cipher_nid wolfSSL_CIPHER_get_cipher_nid
450
+ #define SSL_CIPHER_get_digest_nid wolfSSL_CIPHER_get_digest_nid
451
+ #define SSL_CIPHER_get_kx_nid wolfSSL_CIPHER_get_kx_nid
452
+ #define SSL_CIPHER_is_aead wolfSSL_CIPHER_is_aead
453
+ #define SSL_get_cipher_by_value wolfSSL_get_cipher_by_value
454
+
455
+ #define SSL_get1_session wolfSSL_get1_session
456
+
457
+ #define SSL_get_keyblock_size wolfSSL_get_keyblock_size
458
+ #define SSL_get_keys wolfSSL_get_keys
459
+ #define SSL_SESSION_get_master_key wolfSSL_SESSION_get_master_key
460
+ #define SSL_SESSION_get_master_key_length wolfSSL_SESSION_get_master_key_length
461
+ #define SSL_SESSION_get_max_early_data wolfSSL_SESSION_get_max_early_data
462
+
463
+ #if defined(WOLFSSL_QT) || defined(OPENSSL_ALL) || defined(OPENSSL_EXTRA)
464
+ /* compat SSL_MODE_RELEASE_BUFFERS is defined in wolfssl/ssl.h */
465
+ #define ASN1_BOOLEAN WOLFSSL_ASN1_BOOLEAN
466
+ #define X509_get_ext wolfSSL_X509_get_ext
467
+ #define X509_get_ext_by_OBJ wolfSSL_X509_get_ext_by_OBJ
468
+ #define X509_OBJECT_set1_X509 wolfSSL_X509_OBJECT_set1_X509
469
+ #define X509_OBJECT_set1_X509_CRL wolfSSL_X509_OBJECT_set1_X509_CRL
470
+ #define sk_X509_OBJECT_deep_copy wolfSSL_sk_X509_OBJECT_deep_copy
471
+ #define X509_cmp wolfSSL_X509_cmp
472
+ #define X509_EXTENSION_get_object wolfSSL_X509_EXTENSION_get_object
473
+ #define X509_EXTENSION_get_critical wolfSSL_X509_EXTENSION_get_critical
474
+ #define X509_EXTENSION_get_data wolfSSL_X509_EXTENSION_get_data
475
+ #define X509_EXTENSION_new wolfSSL_X509_EXTENSION_new
476
+ #define X509_EXTENSION_free wolfSSL_X509_EXTENSION_free
477
+ #define X509_EXTENSION_create_by_OBJ wolfSSL_X509_EXTENSION_create_by_OBJ
478
+ #endif
479
+
480
+ #define DSA_dup_DH wolfSSL_DSA_dup_DH
481
+ /* wolfSSL does not support DSA as the cert public key */
482
+ #define EVP_PKEY_get0_DSA wolfSSL_EVP_PKEY_get0_DSA
483
+ #define EVP_PKEY_param_check wolfSSL_EVP_PKEY_param_check
484
+ #define EVP_PKEY_CTX_free wolfSSL_EVP_PKEY_CTX_free
485
+ #define DSA_bits wolfSSL_DSA_bits
486
+
487
+ #define i2d_X509_bio wolfSSL_i2d_X509_bio
488
+ #define i2d_X509_REQ_bio wolfSSL_i2d_X509_REQ_bio
489
+ #define d2i_X509_bio wolfSSL_d2i_X509_bio
490
+ #define d2i_X509_REQ_bio wolfSSL_d2i_X509_REQ_bio
491
+ #define d2i_X509_REQ_fp wolfSSL_d2i_X509_REQ_fp
492
+ #define d2i_X509_fp wolfSSL_d2i_X509_fp
493
+ #define i2d_X509 wolfSSL_i2d_X509
494
+ #define d2i_X509 wolfSSL_d2i_X509
495
+ #define d2i_X509_REQ_INFO wolfSSL_d2i_X509_REQ_INFO
496
+ #define PEM_read_bio_X509 wolfSSL_PEM_read_bio_X509
497
+ #define PEM_read_bio_X509_REQ wolfSSL_PEM_read_bio_X509_REQ
498
+ #define PEM_read_X509_REQ wolfSSL_PEM_read_X509_REQ
499
+ #define PEM_read_bio_X509_CRL wolfSSL_PEM_read_bio_X509_CRL
500
+ #define PEM_read_bio_X509_AUX wolfSSL_PEM_read_bio_X509_AUX
501
+ #define PEM_read_X509 wolfSSL_PEM_read_X509
502
+ #define PEM_write_bio_X509 wolfSSL_PEM_write_bio_X509
503
+ #define PEM_write_bio_X509_AUX wolfSSL_PEM_write_bio_X509_AUX
504
+ #define PEM_X509_INFO_read_bio wolfSSL_PEM_X509_INFO_read_bio
505
+ #define PEM_X509_INFO_read wolfSSL_PEM_X509_INFO_read
506
+ #define i2d_PrivateKey wolfSSL_i2d_PrivateKey
507
+ #define i2d_PublicKey wolfSSL_i2d_PublicKey
508
+ #define i2d_PrivateKey_bio wolfSSL_i2d_PrivateKey_bio
509
+
510
+ #define i2d_X509_REQ wolfSSL_i2d_X509_REQ
511
+ #define d2i_X509_REQ wolfSSL_d2i_X509_REQ
512
+ #define X509_REQ_new wolfSSL_X509_REQ_new
513
+ #define X509_REQ_free wolfSSL_X509_REQ_free
514
+ #define X509_REQ_INFO_free wolfSSL_X509_REQ_free
515
+ #define X509_REQ_sign wolfSSL_X509_REQ_sign
516
+ #define X509_REQ_sign_ctx wolfSSL_X509_REQ_sign_ctx
517
+ #define X509_REQ_add_extensions wolfSSL_X509_REQ_add_extensions
518
+ #define X509_REQ_add1_attr_by_NID wolfSSL_X509_REQ_add1_attr_by_NID
519
+ #define X509_REQ_add1_attr_by_txt wolfSSL_X509_REQ_add1_attr_by_txt
520
+ #define X509_REQ_get_attr_by_NID wolfSSL_X509_REQ_get_attr_by_NID
521
+ #define X509_REQ_get_attr wolfSSL_X509_REQ_get_attr
522
+ #define X509_ATTRIBUTE_get0_type wolfSSL_X509_ATTRIBUTE_get0_type
523
+ #define X509_to_X509_REQ wolfSSL_X509_to_X509_REQ
524
+ #define X509_REQ_set_subject_name wolfSSL_X509_REQ_set_subject_name
525
+ #define X509_REQ_set_pubkey wolfSSL_X509_REQ_set_pubkey
526
+ #define PEM_write_bio_X509_REQ wolfSSL_PEM_write_bio_X509_REQ
527
+
528
+ #define X509_new wolfSSL_X509_new
529
+ #define X509_up_ref wolfSSL_X509_up_ref
530
+ #define X509_free wolfSSL_X509_free
531
+ #define X509_load_certificate_file wolfSSL_X509_load_certificate_file
532
+ #define X509_digest wolfSSL_X509_digest
533
+ #define X509_pubkey_digest wolfSSL_X509_pubkey_digest
534
+ #define X509_get_extension_flags wolfSSL_X509_get_extension_flags
535
+ #define X509_get_key_usage wolfSSL_X509_get_key_usage
536
+ #define X509_get_extended_key_usage wolfSSL_X509_get_extended_key_usage
537
+ #define X509_get_ext_count wolfSSL_X509_get_ext_count
538
+ #define X509_get_ext_d2i wolfSSL_X509_get_ext_d2i
539
+ #define X509V3_EXT_i2d wolfSSL_X509V3_EXT_i2d
540
+ #define X509_get0_extensions wolfSSL_X509_get0_extensions
541
+ #define X509_get_extensions wolfSSL_X509_get0_extensions
542
+ #define X509_REQ_get_extensions wolfSSL_X509_REQ_get_extensions
543
+ #define X509_get_ext wolfSSL_X509_get_ext
544
+ #define X509_get_ext_by_NID wolfSSL_X509_get_ext_by_NID
545
+ #define X509_get_issuer_name wolfSSL_X509_get_issuer_name
546
+ #define X509_issuer_name_hash wolfSSL_X509_issuer_name_hash
547
+ #define X509_subject_name_hash wolfSSL_X509_subject_name_hash
548
+ #define X509_get_subject_name(x) wolfSSL_X509_get_subject_name((WOLFSSL_X509*)(x))
549
+ #define X509_REQ_get_subject_name wolfSSL_X509_get_subject_name
550
+ #define X509_get_pubkey wolfSSL_X509_get_pubkey
551
+ #define X509_get0_pubkey wolfSSL_X509_get_pubkey
552
+ #define X509_REQ_get_pubkey wolfSSL_X509_get_pubkey
553
+ #define X509_get_notBefore wolfSSL_X509_get_notBefore
554
+ #define X509_get0_notBefore wolfSSL_X509_get_notBefore
555
+ #define X509_getm_notBefore wolfSSL_X509_get_notBefore
556
+ #define X509_get_notAfter wolfSSL_X509_get_notAfter
557
+ #define X509_get0_notAfter wolfSSL_X509_get_notAfter
558
+ #define X509_getm_notAfter wolfSSL_X509_get_notAfter
559
+ #define X509_get_serialNumber wolfSSL_X509_get_serialNumber
560
+ #define X509_get0_serialNumber wolfSSL_X509_get_serialNumber
561
+ #define X509_get0_pubkey_bitstr wolfSSL_X509_get0_pubkey_bitstr
562
+ #define X509_get_ex_new_index wolfSSL_X509_get_ex_new_index
563
+ #define X509_get_ex_data wolfSSL_X509_get_ex_data
564
+ #define X509_set_ex_data wolfSSL_X509_set_ex_data
565
+ #define X509_get1_ocsp wolfSSL_X509_get1_ocsp
566
+ #define X509_get_version wolfSSL_X509_get_version
567
+ #define X509_get_signature_nid wolfSSL_X509_get_signature_nid
568
+ #define X509_set_subject_name wolfSSL_X509_set_subject_name
569
+ #define X509_set_issuer_name wolfSSL_X509_set_issuer_name
570
+ #define X509_set_pubkey wolfSSL_X509_set_pubkey
571
+ #define X509_set_notAfter wolfSSL_X509_set_notAfter
572
+ #define X509_set_notBefore wolfSSL_X509_set_notBefore
573
+ #define X509_set1_notAfter wolfSSL_X509_set1_notAfter
574
+ #define X509_set1_notBefore wolfSSL_X509_set1_notBefore
575
+ #define X509_set_serialNumber wolfSSL_X509_set_serialNumber
576
+ #define X509_set_version wolfSSL_X509_set_version
577
+ #define X509_REQ_set_version wolfSSL_X509_REQ_set_version
578
+ #define X509_REQ_get_version wolfSSL_X509_REQ_get_version
579
+ #define X509_sign wolfSSL_X509_sign
580
+ #define X509_sign_ctx wolfSSL_X509_sign_ctx
581
+ #define X509_print wolfSSL_X509_print
582
+ #define X509_REQ_print wolfSSL_X509_REQ_print
583
+ #define X509_print_ex wolfSSL_X509_print_ex
584
+ #define X509_print_fp wolfSSL_X509_print_fp
585
+ #define X509_CRL_print wolfSSL_X509_CRL_print
586
+ #define X509_REQ_print_fp wolfSSL_X509_print_fp
587
+ #define X509_signature_print wolfSSL_X509_signature_print
588
+ #define X509_get0_signature wolfSSL_X509_get0_signature
589
+ #define X509_verify_cert_error_string wolfSSL_X509_verify_cert_error_string
590
+ #define X509_verify_cert wolfSSL_X509_verify_cert
591
+ #define X509_verify wolfSSL_X509_verify
592
+ #define X509_REQ_verify wolfSSL_X509_REQ_verify
593
+ #define X509_check_private_key wolfSSL_X509_check_private_key
594
+ #define X509_REQ_check_private_key wolfSSL_X509_check_private_key
595
+ #define X509_check_ca wolfSSL_X509_check_ca
596
+ #define X509_check_host wolfSSL_X509_check_host
597
+ #define X509_check_email wolfSSL_X509_check_email
598
+ #define X509_check_ip_asc wolfSSL_X509_check_ip_asc
599
+ #define X509_email_free wolfSSL_X509_email_free
600
+ #define X509_check_issued wolfSSL_X509_check_issued
601
+ #define X509_dup wolfSSL_X509_dup
602
+ #define X509_add_ext wolfSSL_X509_add_ext
603
+ #define X509_delete_ext wolfSSL_X509_delete_ext
604
+ #define X509_get0_subject_key_id wolfSSL_X509_get0_subject_key_id
605
+
606
+ #define X509_EXTENSION_get_object wolfSSL_X509_EXTENSION_get_object
607
+ #define X509_EXTENSION_get_data wolfSSL_X509_EXTENSION_get_data
608
+ #define X509_EXTENSION_dup wolfSSL_X509_EXTENSION_dup
609
+
610
+ #define sk_X509_new wolfSSL_sk_X509_new
611
+ #define sk_X509_new_null wolfSSL_sk_X509_new_null
612
+ #define sk_X509_num wolfSSL_sk_X509_num
613
+ #define sk_X509_value wolfSSL_sk_X509_value
614
+ #define sk_X509_shift wolfSSL_sk_X509_shift
615
+ #define sk_X509_push wolfSSL_sk_X509_push
616
+ #define sk_X509_pop wolfSSL_sk_X509_pop
617
+ #define sk_X509_pop_free wolfSSL_sk_X509_pop_free
618
+ #define sk_X509_dup wolfSSL_sk_dup
619
+ #define sk_X509_free wolfSSL_sk_X509_free
620
+ #define X509_chain_up_ref wolfSSL_X509_chain_up_ref
621
+
622
+ #define sk_X509_CRL_new wolfSSL_sk_X509_CRL_new
623
+ #define sk_X509_CRL_pop_free wolfSSL_sk_X509_CRL_pop_free
624
+ #define sk_X509_CRL_free wolfSSL_sk_X509_CRL_free
625
+ #define sk_X509_CRL_push wolfSSL_sk_X509_CRL_push
626
+ #define sk_X509_CRL_value wolfSSL_sk_X509_CRL_value
627
+ #define sk_X509_CRL_num wolfSSL_sk_X509_CRL_num
628
+
629
+ #define sk_X509_OBJECT_new wolfSSL_sk_X509_OBJECT_new
630
+ #define sk_X509_OBJECT_free wolfSSL_sk_X509_OBJECT_free
631
+ #define sk_X509_OBJECT_pop_free wolfSSL_sk_X509_OBJECT_pop_free
632
+
633
+ #define sk_X509_EXTENSION_num wolfSSL_sk_X509_EXTENSION_num
634
+ #define sk_X509_EXTENSION_value wolfSSL_sk_X509_EXTENSION_value
635
+ #define sk_X509_EXTENSION_new_null wolfSSL_sk_X509_EXTENSION_new_null
636
+ #define sk_X509_EXTENSION_pop_free wolfSSL_sk_X509_EXTENSION_pop_free
637
+ #define sk_X509_EXTENSION_push wolfSSL_sk_X509_EXTENSION_push
638
+ #define sk_X509_EXTENSION_free wolfSSL_sk_X509_EXTENSION_free
639
+
640
+ #define X509_INFO_new wolfSSL_X509_INFO_new
641
+ #define X509_INFO_free wolfSSL_X509_INFO_free
642
+
643
+ #define sk_X509_INFO_new_null wolfSSL_sk_X509_INFO_new_null
644
+ #define sk_X509_INFO_num wolfSSL_sk_X509_INFO_num
645
+ #define sk_X509_INFO_value wolfSSL_sk_X509_INFO_value
646
+ #define sk_X509_INFO_push wolfSSL_sk_X509_INFO_push
647
+ #define sk_X509_INFO_pop wolfSSL_sk_X509_INFO_pop
648
+ #define sk_X509_INFO_pop_free wolfSSL_sk_X509_INFO_pop_free
649
+ #define sk_X509_INFO_free wolfSSL_sk_X509_INFO_free
650
+ #define sk_X509_INFO_shift wolfSSL_sk_X509_INFO_pop
651
+
652
+ #define i2d_X509_NAME wolfSSL_i2d_X509_NAME
653
+ #define d2i_X509_NAME wolfSSL_d2i_X509_NAME
654
+ #define X509_NAME_new wolfSSL_X509_NAME_new
655
+ #define X509_NAME_free wolfSSL_X509_NAME_free
656
+ #define X509_NAME_dup wolfSSL_X509_NAME_dup
657
+ #define X509_NAME_get_sz wolfSSL_X509_NAME_get_sz
658
+ #define X509_NAME_get_text_by_NID wolfSSL_X509_NAME_get_text_by_NID
659
+ #define X509_NAME_get_index_by_OBJ wolfSSL_X509_NAME_get_index_by_OBJ
660
+ #define X509_NAME_cmp wolfSSL_X509_NAME_cmp
661
+ #define X509_NAME_ENTRY_new wolfSSL_X509_NAME_ENTRY_new
662
+ #define X509_NAME_ENTRY_free wolfSSL_X509_NAME_ENTRY_free
663
+ #define X509_NAME_ENTRY_create_by_NID wolfSSL_X509_NAME_ENTRY_create_by_NID
664
+ #define X509_NAME_ENTRY_create_by_txt wolfSSL_X509_NAME_ENTRY_create_by_txt
665
+ #define X509_NAME_add_entry wolfSSL_X509_NAME_add_entry
666
+ #define X509_NAME_add_entry_by_txt wolfSSL_X509_NAME_add_entry_by_txt
667
+ #define X509_NAME_add_entry_by_NID wolfSSL_X509_NAME_add_entry_by_NID
668
+ #define X509_NAME_delete_entry wolfSSL_X509_NAME_delete_entry
669
+ #define X509_NAME_hash wolfSSL_X509_NAME_hash
670
+ #define X509_NAME_oneline wolfSSL_X509_NAME_oneline
671
+ #define X509_NAME_get_index_by_NID wolfSSL_X509_NAME_get_index_by_NID
672
+ #define X509_NAME_print_ex wolfSSL_X509_NAME_print_ex
673
+ #define X509_NAME_print_ex_fp wolfSSL_X509_NAME_print_ex_fp
674
+ #define X509_NAME_digest wolfSSL_X509_NAME_digest
675
+ #define X509_cmp_current_time wolfSSL_X509_cmp_current_time
676
+ #define X509_cmp_time wolfSSL_X509_cmp_time
677
+ #define X509_time_adj wolfSSL_X509_time_adj
678
+ #define X509_time_adj_ex wolfSSL_X509_time_adj_ex
679
+ #define X509_gmtime_adj wolfSSL_X509_gmtime_adj
680
+
681
+ #define sk_ACCESS_DESCRIPTION_num wolfSSL_sk_ACCESS_DESCRIPTION_num
682
+ #define sk_ACCESS_DESCRIPTION_value wolfSSL_sk_ACCESS_DESCRIPTION_value
683
+
684
+ #define sk_X509_NAME_new wolfSSL_sk_X509_NAME_new
685
+ #define sk_X509_NAME_new_null() wolfSSL_sk_X509_NAME_new(NULL)
686
+ #define sk_X509_NAME_push wolfSSL_sk_X509_NAME_push
687
+ #define sk_X509_NAME_find wolfSSL_sk_X509_NAME_find
688
+ #define sk_X509_NAME_set_cmp_func wolfSSL_sk_X509_NAME_set_cmp_func
689
+ #define sk_X509_NAME_num wolfSSL_sk_X509_NAME_num
690
+ #define sk_X509_NAME_value wolfSSL_sk_X509_NAME_value
691
+ #define sk_X509_NAME_pop wolfSSL_sk_X509_NAME_pop
692
+ #define sk_X509_NAME_pop_free wolfSSL_sk_X509_NAME_pop_free
693
+ #define sk_X509_NAME_free wolfSSL_sk_X509_NAME_free
694
+
695
+ typedef WOLFSSL_X509_NAME_ENTRY X509_NAME_ENTRY;
696
+
697
+ #define X509_NAME_entry_count wolfSSL_X509_NAME_entry_count
698
+ #define X509_NAME_get_entry wolfSSL_X509_NAME_get_entry
699
+ #define X509_NAME_ENTRY_set wolfSSL_X509_NAME_ENTRY_set
700
+ #define X509_NAME_ENTRY_get_object wolfSSL_X509_NAME_ENTRY_get_object
701
+ #define X509_NAME_ENTRY_get_data wolfSSL_X509_NAME_ENTRY_get_data
702
+ #define X509_NAME_ENTRY_get_object wolfSSL_X509_NAME_ENTRY_get_object
703
+
704
+ #define sk_X509_NAME_ENTRY_new wolfSSL_sk_X509_NAME_ENTRY_new
705
+ #define sk_X509_NAME_ENTRY_push wolfSSL_sk_X509_NAME_ENTRY_push
706
+ #define sk_X509_NAME_ENTRY_num wolfSSL_sk_X509_NAME_ENTRY_num
707
+ #define sk_X509_NAME_ENTRY_value wolfSSL_sk_X509_NAME_ENTRY_value
708
+ #define sk_X509_NAME_ENTRY_free wolfSSL_sk_X509_NAME_ENTRY_free
709
+
710
+ #define X509_V_FLAG_CRL_CHECK WOLFSSL_CRL_CHECK
711
+ #define X509_V_FLAG_CRL_CHECK_ALL WOLFSSL_CRL_CHECKALL
712
+
713
+ #define X509_V_FLAG_PARTIAL_CHAIN WOLFSSL_PARTIAL_CHAIN
714
+ #define X509_V_FLAG_TRUSTED_FIRST 0 /* dummy value needed for gRPC port */
715
+
716
+ #define X509_V_FLAG_USE_CHECK_TIME WOLFSSL_USE_CHECK_TIME
717
+ #define X509_V_FLAG_NO_CHECK_TIME WOLFSSL_NO_CHECK_TIME
718
+ #define X509_CHECK_FLAG_ALWAYS_CHECK_SUBJECT WOLFSSL_ALWAYS_CHECK_SUBJECT
719
+ #define X509_CHECK_FLAG_NO_WILDCARDS WOLFSSL_NO_WILDCARDS
720
+ #define X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS WOLFSSL_NO_PARTIAL_WILDCARDS
721
+ #define X509_CHECK_FLAG_MULTI_LABEL_WILDCARDS WOLFSSL_MULTI_LABEL_WILDCARDS
722
+
723
+ #define X509_VP_FLAG_DEFAULT WOLFSSL_VPARAM_DEFAULT
724
+ #define X509_VP_FLAG_OVERWRITE WOLFSSL_VPARAM_OVERWRITE
725
+ #define X509_VP_FLAG_RESET_FLAGS WOLFSSL_VPARAM_RESET_FLAGS
726
+ #define X509_VP_FLAG_LOCKED WOLFSSL_VPARAM_LOCKED
727
+ #define X509_VP_FLAG_ONCE WOLFSSL_VPARAM_ONCE
728
+
729
+ #define X509_STORE_lock(x) 1
730
+ #define X509_STORE_unlock(x) 1
731
+
732
+ #define X509_STORE_CTX_get_current_cert wolfSSL_X509_STORE_CTX_get_current_cert
733
+ #define X509_STORE_CTX_set_verify_cb wolfSSL_X509_STORE_CTX_set_verify_cb
734
+ #define X509_STORE_CTX_new wolfSSL_X509_STORE_CTX_new
735
+ #define X509_STORE_CTX_free wolfSSL_X509_STORE_CTX_free
736
+ #define X509_STORE_CTX_get_chain wolfSSL_X509_STORE_CTX_get_chain
737
+ #define X509_STORE_CTX_get0_chain wolfSSL_X509_STORE_CTX_get_chain
738
+ #define X509_STORE_CTX_get1_chain wolfSSL_X509_STORE_CTX_get1_chain
739
+ #define X509_STORE_CTX_get0_parent_ctx wolfSSL_X509_STORE_CTX_get0_parent_ctx
740
+ #define X509_STORE_CTX_get_error wolfSSL_X509_STORE_CTX_get_error
741
+ #define X509_STORE_CTX_get_error_depth wolfSSL_X509_STORE_CTX_get_error_depth
742
+ #define X509_STORE_CTX_init wolfSSL_X509_STORE_CTX_init
743
+ #define X509_STORE_CTX_cleanup wolfSSL_X509_STORE_CTX_cleanup
744
+ #define X509_STORE_CTX_set_error wolfSSL_X509_STORE_CTX_set_error
745
+ #define X509_STORE_CTX_set_error_depth wolfSSL_X509_STORE_CTX_set_error_depth
746
+ #define X509_STORE_CTX_get_ex_data wolfSSL_X509_STORE_CTX_get_ex_data
747
+ #define X509_STORE_CTX_set_ex_data wolfSSL_X509_STORE_CTX_set_ex_data
748
+ #define X509_STORE_CTX_set_depth wolfSSL_X509_STORE_CTX_set_depth
749
+ #define X509_STORE_CTX_verify_cb WOLFSSL_X509_STORE_CTX_verify_cb
750
+ #define X509_STORE_CTX_get0_current_issuer \
751
+ wolfSSL_X509_STORE_CTX_get0_current_issuer
752
+ #define X509_STORE_CTX_get0_store wolfSSL_X509_STORE_CTX_get0_store
753
+ #define X509_STORE_CTX_get0_cert wolfSSL_X509_STORE_CTX_get0_cert
754
+ #define X509_STORE_CTX_trusted_stack wolfSSL_X509_STORE_CTX_trusted_stack
755
+
756
+ #define X509_STORE_set_verify_cb(s, c) \
757
+ wolfSSL_X509_STORE_set_verify_cb((WOLFSSL_X509_STORE *)(s), (WOLFSSL_X509_STORE_CTX_verify_cb)(c))
758
+ #define X509_STORE_set_verify_cb_func(s, c) \
759
+ wolfSSL_X509_STORE_set_verify_cb((WOLFSSL_X509_STORE *)(s), (WOLFSSL_X509_STORE_CTX_verify_cb)(c))
760
+ #define X509_STORE_set_get_crl wolfSSL_X509_STORE_set_get_crl
761
+ #define X509_STORE_set_check_crl wolfSSL_X509_STORE_set_check_crl
762
+
763
+
764
+ #define X509_STORE_new wolfSSL_X509_STORE_new
765
+ #define X509_STORE_free wolfSSL_X509_STORE_free
766
+ #define X509_STORE_up_ref wolfSSL_X509_STORE_up_ref
767
+ #define X509_STORE_add_lookup wolfSSL_X509_STORE_add_lookup
768
+ #define X509_STORE_add_cert wolfSSL_X509_STORE_add_cert
769
+ #define X509_STORE_add_crl wolfSSL_X509_STORE_add_crl
770
+ #define X509_STORE_set_flags wolfSSL_X509_STORE_set_flags
771
+ #define X509_STORE_get1_certs wolfSSL_X509_STORE_get1_certs
772
+ #define X509_STORE_get_by_subject wolfSSL_X509_STORE_get_by_subject
773
+ #define X509_STORE_set_ex_data wolfSSL_X509_STORE_set_ex_data
774
+ #define X509_STORE_get_ex_data wolfSSL_X509_STORE_get_ex_data
775
+ #define X509_STORE_get0_param wolfSSL_X509_STORE_get0_param
776
+ #define X509_STORE_set1_param wolfSSL_X509_STORE_set1_param
777
+ #define X509_STORE_CTX_get1_issuer wolfSSL_X509_STORE_CTX_get1_issuer
778
+ #define X509_STORE_CTX_set_time wolfSSL_X509_STORE_CTX_set_time
779
+ #define X509_STORE_CTX_get0_param wolfSSL_X509_STORE_CTX_get0_param
780
+ #define X509_VERIFY_PARAM_new wolfSSL_X509_VERIFY_PARAM_new
781
+ #define X509_VERIFY_PARAM_free wolfSSL_X509_VERIFY_PARAM_free
782
+ #define X509_VERIFY_PARAM_set_flags wolfSSL_X509_VERIFY_PARAM_set_flags
783
+ #define X509_VERIFY_PARAM_get_flags wolfSSL_X509_VERIFY_PARAM_get_flags
784
+ #define X509_VERIFY_PARAM_clear_flags wolfSSL_X509_VERIFY_PARAM_clear_flags
785
+ #define X509_VERIFY_PARAM_set_hostflags wolfSSL_X509_VERIFY_PARAM_set_hostflags
786
+ #define SSL_set1_host wolfSSL_set1_host
787
+ #define X509_VERIFY_PARAM_set1_host wolfSSL_X509_VERIFY_PARAM_set1_host
788
+ #define X509_VERIFY_PARAM_set1_ip_asc wolfSSL_X509_VERIFY_PARAM_set1_ip_asc
789
+ #define X509_VERIFY_PARAM_set1_ip wolfSSL_X509_VERIFY_PARAM_set1_ip
790
+ #define X509_VERIFY_PARAM_set1 wolfSSL_X509_VERIFY_PARAM_set1
791
+ #define X509_VERIFY_PARAM_lookup wolfSSL_X509_VERIFY_PARAM_lookup
792
+ #define X509_VERIFY_PARAM_inherit wolfSSL_X509_VERIFY_PARAM_inherit
793
+ #define X509_STORE_load_locations wolfSSL_X509_STORE_load_locations
794
+ #define X509_STORE_set_default_paths wolfSSL_X509_STORE_set_default_paths
795
+ #define X509_STORE_get0_param wolfSSL_X509_STORE_get0_param
796
+
797
+ #define X509_LOOKUP_add_dir wolfSSL_X509_LOOKUP_add_dir
798
+ #define X509_LOOKUP_load_file wolfSSL_X509_LOOKUP_load_file
799
+ #define X509_LOOKUP_hash_dir wolfSSL_X509_LOOKUP_hash_dir
800
+ #define X509_LOOKUP_file wolfSSL_X509_LOOKUP_file
801
+ #define X509_LOOKUP_ctrl wolfSSL_X509_LOOKUP_ctrl
802
+
803
+ #define d2i_X509_CRL wolfSSL_d2i_X509_CRL
804
+ #define d2i_X509_CRL_fp wolfSSL_d2i_X509_CRL_fp
805
+ #define PEM_read_X509_CRL wolfSSL_PEM_read_X509_CRL
806
+
807
+ #define X509_CRL_dup wolfSSL_X509_CRL_dup
808
+ #define X509_CRL_free wolfSSL_X509_CRL_free
809
+ #define X509_CRL_get_lastUpdate wolfSSL_X509_CRL_get_lastUpdate
810
+ #define X509_CRL_get0_lastUpdate wolfSSL_X509_CRL_get_lastUpdate
811
+ #define X509_CRL_get_nextUpdate wolfSSL_X509_CRL_get_nextUpdate
812
+ #define X509_CRL_get0_nextUpdate wolfSSL_X509_CRL_get_nextUpdate
813
+ #define X509_CRL_verify wolfSSL_X509_CRL_verify
814
+ #define X509_CRL_get_REVOKED wolfSSL_X509_CRL_get_REVOKED
815
+ #define X509_CRL_get_issuer wolfSSL_X509_CRL_get_issuer_name
816
+ #define X509_CRL_get_signature_nid wolfSSL_X509_CRL_get_signature_nid
817
+ #define X509_CRL_get_version wolfSSL_X509_CRL_version
818
+ #define X509_load_crl_file wolfSSL_X509_load_crl_file
819
+
820
+ #define X509_ACERT_new wolfSSL_X509_ACERT_new
821
+ #define X509_ACERT_free wolfSSL_X509_ACERT_free
822
+ #define X509_ACERT_get_version wolfSSL_X509_ACERT_get_version
823
+ #define X509_ACERT_get_signature_nid wolfSSL_X509_ACERT_get_signature_nid
824
+ #define X509_ACERT_print wolfSSL_X509_ACERT_print
825
+ #define X509_ACERT_verify wolfSSL_X509_ACERT_verify
826
+ #define X509_ACERT_sign wolfSSL_X509_ACERT_sign
827
+ #define PEM_read_bio_X509_ACERT wolfSSL_PEM_read_bio_X509_ACERT
828
+
829
+ #define X509_get_X509_PUBKEY wolfSSL_X509_get_X509_PUBKEY
830
+ #define X509_REQ_get_X509_PUBKEY wolfSSL_X509_get_X509_PUBKEY
831
+ #define X509_get0_tbs_sigalg wolfSSL_X509_get0_tbs_sigalg
832
+ #define X509_PUBKEY_get0_param wolfSSL_X509_PUBKEY_get0_param
833
+ #define X509_PUBKEY_get wolfSSL_X509_PUBKEY_get
834
+ #define X509_PUBKEY_set wolfSSL_X509_PUBKEY_set
835
+ #define X509_ALGOR_get0 wolfSSL_X509_ALGOR_get0
836
+ #define X509_ALGOR_set0 wolfSSL_X509_ALGOR_set0
837
+
838
+ #define X509_ALGOR_new wolfSSL_X509_ALGOR_new
839
+ #define X509_ALGOR_free wolfSSL_X509_ALGOR_free
840
+ #define i2d_X509_ALGOR wolfSSL_i2d_X509_ALGOR
841
+ #define d2i_X509_ALGOR wolfSSL_d2i_X509_ALGOR
842
+ #define X509_PUBKEY_new wolfSSL_X509_PUBKEY_new
843
+ #define X509_PUBKEY_free wolfSSL_X509_PUBKEY_free
844
+
845
+ #define sk_X509_REVOKED_num wolfSSL_sk_X509_REVOKED_num
846
+ #define sk_X509_REVOKED_value wolfSSL_sk_X509_REVOKED_value
847
+
848
+ #define X509_OBJECT_free_contents wolfSSL_X509_OBJECT_free_contents
849
+
850
+ #define X509_OBJECT_get0_X509 wolfSSL_X509_OBJECT_get0_X509
851
+ #define X509_OBJECT_get0_X509_CRL wolfSSL_X509_OBJECT_get0_X509_CRL
852
+
853
+ #define X509_REVOKED_get0_serialNumber wolfSSL_X509_REVOKED_get0_serial_number
854
+ #define X509_REVOKED_get0_revocationDate wolfSSL_X509_REVOKED_get0_revocation_date
855
+
856
+ #define X509_check_purpose(x, id, ca) 0
857
+
858
+ #define OCSP_parse_url wolfSSL_OCSP_parse_url
859
+
860
+ #define MD4_Init wolfSSL_MD4_Init
861
+ #define MD4_Update wolfSSL_MD4_Update
862
+ #define MD4_Final wolfSSL_MD4_Final
863
+
864
+ #define BIO_new wolfSSL_BIO_new
865
+ #define BIO_free wolfSSL_BIO_free
866
+ #define BIO_vfree wolfSSL_BIO_vfree
867
+ #define BIO_free_all wolfSSL_BIO_free_all
868
+ #define BIO_nread0 wolfSSL_BIO_nread0
869
+ #define BIO_nread wolfSSL_BIO_nread
870
+ #define BIO_read wolfSSL_BIO_read
871
+ #define BIO_nwrite0 wolfSSL_BIO_nwrite0
872
+ #define BIO_nwrite wolfSSL_BIO_nwrite
873
+ #define BIO_write wolfSSL_BIO_write
874
+ #define BIO_push wolfSSL_BIO_push
875
+ #define BIO_pop wolfSSL_BIO_pop
876
+ #define BIO_flush wolfSSL_BIO_flush
877
+ #define BIO_pending wolfSSL_BIO_pending
878
+ #define BIO_number_read wolfSSL_BIO_number_read
879
+ #define BIO_number_written wolfSSL_BIO_number_written
880
+ #define BIO_reset wolfSSL_BIO_reset
881
+ #define BIO_get_mem_data wolfSSL_BIO_get_mem_data
882
+ #define BIO_new_mem_buf wolfSSL_BIO_new_mem_buf
883
+
884
+ #define BIO_f_buffer wolfSSL_BIO_f_buffer
885
+ #define BIO_set_write_buffer_size wolfSSL_BIO_set_write_buffer_size
886
+ #define BIO_f_ssl wolfSSL_BIO_f_ssl
887
+ #define BIO_new_socket wolfSSL_BIO_new_socket
888
+ #define BIO_new_dgram wolfSSL_BIO_new_dgram
889
+ #define BIO_new_connect wolfSSL_BIO_new_connect
890
+ #define BIO_new_accept wolfSSL_BIO_new_accept
891
+ #define BIO_set_conn_port wolfSSL_BIO_set_conn_port
892
+ #define BIO_do_connect wolfSSL_BIO_do_connect
893
+ #define BIO_do_accept wolfSSL_BIO_do_accept
894
+ #define BIO_do_handshake wolfSSL_BIO_do_handshake
895
+ #define BIO_ssl_shutdown wolfSSL_BIO_ssl_shutdown
896
+ #define SSL_set_bio wolfSSL_set_bio
897
+ #define SSL_set0_rbio wolfSSL_set_rbio
898
+ #define SSL_set0_wbio wolfSSL_set_wbio
899
+ #define BIO_method_type wolfSSL_BIO_method_type
900
+ #define BIO_set_ssl wolfSSL_BIO_set_ssl
901
+ #define BIO_get_ssl wolfSSL_BIO_get_ssl
902
+ #define BIO_new_ssl wolfSSL_BIO_new_ssl
903
+ #define BIO_new_ssl_connect wolfSSL_BIO_new_ssl_connect
904
+ #define BIO_set_conn_hostname wolfSSL_BIO_set_conn_hostname
905
+ #define BIO_eof wolfSSL_BIO_eof
906
+ #define BIO_set_ss wolfSSL_BIO_set_ss
907
+
908
+ #define BIO_f_md wolfSSL_BIO_f_md
909
+ #define BIO_get_md_ctx wolfSSL_BIO_get_md_ctx
910
+ #define BIO_s_mem wolfSSL_BIO_s_mem
911
+ #define BIO_f_base64 wolfSSL_BIO_f_base64
912
+ #define BIO_set_flags wolfSSL_BIO_set_flags
913
+ #define BIO_set_nbio wolfSSL_BIO_set_nbio
914
+
915
+ #define SSLeay_add_ssl_algorithms wolfSSL_add_all_algorithms
916
+ #define SSLeay_add_all_algorithms wolfSSL_add_all_algorithms
917
+
918
+ #define RAND_screen wolfSSL_RAND_screen
919
+ #define RAND_file_name wolfSSL_RAND_file_name
920
+ #define RAND_write_file wolfSSL_RAND_write_file
921
+ #define RAND_load_file wolfSSL_RAND_load_file
922
+ #define RAND_egd wolfSSL_RAND_egd
923
+ #define RAND_seed wolfSSL_RAND_seed
924
+ #define RAND_cleanup wolfSSL_RAND_Cleanup
925
+ #define RAND_add wolfSSL_RAND_add
926
+ #define RAND_poll wolfSSL_RAND_poll
927
+ #define RAND_status wolfSSL_RAND_status
928
+ #define RAND_bytes wolfSSL_RAND_bytes
929
+ #define RAND_pseudo_bytes wolfSSL_RAND_pseudo_bytes
930
+
931
+ #define COMP_zlib wolfSSL_COMP_zlib
932
+ #define COMP_rle wolfSSL_COMP_rle
933
+ #define SSL_COMP_add_compression_method wolfSSL_COMP_add_compression_method
934
+ #define SSL_COMP_get_name wolfSSL_COMP_get_name
935
+ #define SSL_get_current_compression wolfSSL_get_current_compression
936
+ #define SSL_get_current_expansion wolfSSL_get_current_expansion
937
+
938
+ #define SSL_get_ex_new_index wolfSSL_get_ex_new_index
939
+ #define RSA_get_ex_new_index wolfSSL_get_ex_new_index
940
+
941
+ #define ASN1_BIT_STRING_new wolfSSL_ASN1_BIT_STRING_new
942
+ #define ASN1_BIT_STRING_free wolfSSL_ASN1_BIT_STRING_free
943
+ #define ASN1_BIT_STRING_get_bit wolfSSL_ASN1_BIT_STRING_get_bit
944
+ #define ASN1_BIT_STRING_set_bit wolfSSL_ASN1_BIT_STRING_set_bit
945
+ #define i2d_ASN1_BIT_STRING wolfSSL_i2d_ASN1_BIT_STRING
946
+ #define d2i_ASN1_BIT_STRING wolfSSL_d2i_ASN1_BIT_STRING
947
+
948
+ #define sk_ASN1_OBJECT_free wolfSSL_sk_ASN1_OBJECT_free
949
+
950
+ #ifndef NO_ASN_TIME
951
+ #define ASN1_TIME_new wolfSSL_ASN1_TIME_new
952
+ #define ASN1_UTCTIME_new wolfSSL_ASN1_TIME_new
953
+ #define ASN1_GENERALIZEDTIME_new wolfSSL_ASN1_TIME_new
954
+ #define ASN1_TIME_free wolfSSL_ASN1_TIME_free
955
+ #define ASN1_UTCTIME_free wolfSSL_ASN1_TIME_free
956
+ #define ASN1_GENERALIZEDTIME_free wolfSSL_ASN1_TIME_free
957
+ #define ASN1_TIME_adj wolfSSL_ASN1_TIME_adj
958
+ #define ASN1_TIME_print wolfSSL_ASN1_TIME_print
959
+ #define ASN1_TIME_to_string wolfSSL_ASN1_TIME_to_string
960
+ #define ASN1_TIME_to_tm wolfSSL_ASN1_TIME_to_tm
961
+ #define ASN1_TIME_to_generalizedtime wolfSSL_ASN1_TIME_to_generalizedtime
962
+ #define ASN1_UTCTIME_set wolfSSL_ASN1_UTCTIME_set
963
+ #endif
964
+ #define ASN1_TIME_set wolfSSL_ASN1_TIME_set
965
+ #define ASN1_TIME_set_string wolfSSL_ASN1_TIME_set_string
966
+ #define ASN1_TIME_set_string_X509 wolfSSL_ASN1_TIME_set_string_X509
967
+ #define ASN1_GENERALIZEDTIME_set_string wolfSSL_ASN1_TIME_set_string
968
+ #define ASN1_GENERALIZEDTIME_print wolfSSL_ASN1_GENERALIZEDTIME_print
969
+
970
+ #define ASN1_tag2str wolfSSL_ASN1_tag2str
971
+
972
+ #define a2i_ASN1_INTEGER wolfSSL_a2i_ASN1_INTEGER
973
+ #define i2a_ASN1_INTEGER wolfSSL_i2a_ASN1_INTEGER
974
+ #define i2c_ASN1_INTEGER wolfSSL_i2c_ASN1_INTEGER
975
+ #define ASN1_INTEGER_new wolfSSL_ASN1_INTEGER_new
976
+ #define ASN1_INTEGER_free wolfSSL_ASN1_INTEGER_free
977
+ #define ASN1_INTEGER_cmp wolfSSL_ASN1_INTEGER_cmp
978
+ #define ASN1_INTEGER_get wolfSSL_ASN1_INTEGER_get
979
+ #define ASN1_INTEGER_set wolfSSL_ASN1_INTEGER_set
980
+ #define ASN1_INTEGER_to_BN wolfSSL_ASN1_INTEGER_to_BN
981
+ #define d2i_ASN1_INTEGER wolfSSL_d2i_ASN1_INTEGER
982
+ #define i2d_ASN1_INTEGER wolfSSL_i2d_ASN1_INTEGER
983
+
984
+ #define i2a_ASN1_OBJECT wolfSSL_i2a_ASN1_OBJECT
985
+ #define i2d_ASN1_OBJECT wolfSSL_i2d_ASN1_OBJECT
986
+
987
+ #define ASN1_STRING_new wolfSSL_ASN1_STRING_new
988
+ #define ASN1_OCTET_STRING_new wolfSSL_ASN1_STRING_new
989
+ #define ASN1_STRING_free wolfSSL_ASN1_STRING_free
990
+ #define ASN1_STRING_cmp wolfSSL_ASN1_STRING_cmp
991
+ #define ASN1_OCTET_STRING_cmp wolfSSL_ASN1_STRING_cmp
992
+ #define ASN1_STRING_data wolfSSL_ASN1_STRING_data
993
+ #define ASN1_STRING_get0_data wolfSSL_ASN1_STRING_get0_data
994
+ #define ASN1_STRING_length wolfSSL_ASN1_STRING_length
995
+ #define ASN1_STRING_to_UTF8 wolfSSL_ASN1_STRING_to_UTF8
996
+ #define ASN1_UNIVERSALSTRING_to_string wolfSSL_ASN1_UNIVERSALSTRING_to_string
997
+ #define ASN1_STRING_print_ex wolfSSL_ASN1_STRING_print_ex
998
+ #define ASN1_STRING_print(x, y) wolfSSL_ASN1_STRING_print ((WOLFSSL_BIO*)(x), (WOLFSSL_ASN1_STRING*)(y))
999
+ #define d2i_DISPLAYTEXT wolfSSL_d2i_DISPLAYTEXT
1000
+ #ifndef NO_WOLFSSL_STUB
1001
+ #define ASN1_STRING_set_default_mask_asc(p) 1
1002
+ #endif
1003
+
1004
+ #define ASN1_GENERALSTRING WOLFSSL_ASN1_STRING
1005
+ #define ASN1_GENERALSTRING_new wolfSSL_ASN1_STRING_new
1006
+ #define ASN1_GENERALSTRING_free wolfSSL_ASN1_STRING_free
1007
+ #define ASN1_GENERALSTRING_set wolfSSL_ASN1_STRING_set
1008
+ #define i2d_ASN1_GENERALSTRING wolfSSL_i2d_ASN1_GENERALSTRING
1009
+ #define i2d_ASN1_OCTET_STRING wolfSSL_i2d_ASN1_OCTET_STRING
1010
+ #define i2d_ASN1_UTF8STRING wolfSSL_i2d_ASN1_UTF8STRING
1011
+ #define i2d_ASN1_SEQUENCE wolfSSL_i2d_ASN1_SEQUENCE
1012
+ #define d2i_ASN1_GENERALSTRING wolfSSL_d2i_ASN1_GENERALSTRING
1013
+ #define d2i_ASN1_OCTET_STRING wolfSSL_d2i_ASN1_OCTET_STRING
1014
+ #define d2i_ASN1_UTF8STRING wolfSSL_d2i_ASN1_UTF8STRING
1015
+
1016
+ #define sk_ASN1_GENERALSTRING_num wolfSSL_sk_num
1017
+ #define sk_ASN1_GENERALSTRING_value wolfSSL_sk_value
1018
+ #define sk_ASN1_GENERALSTRING_push wolfSSL_sk_push
1019
+
1020
+ #define ASN1_OCTET_STRING WOLFSSL_ASN1_STRING
1021
+ #define ASN1_OCTET_STRING_new wolfSSL_ASN1_STRING_new
1022
+ #define ASN1_OCTET_STRING_free wolfSSL_ASN1_STRING_free
1023
+ #define ASN1_OCTET_STRING_set wolfSSL_ASN1_STRING_set
1024
+
1025
+ #define ASN1_UTF8STRING WOLFSSL_ASN1_STRING
1026
+ #define ASN1_UTF8STRING_new wolfSSL_ASN1_STRING_new
1027
+ #define ASN1_UTF8STRING_free wolfSSL_ASN1_STRING_free
1028
+ #define ASN1_UTF8STRING_set wolfSSL_ASN1_STRING_set
1029
+
1030
+ #define ASN1_IA5STRING WOLFSSL_ASN1_STRING
1031
+ #define ASN1_IA5STRING_new wolfSSL_ASN1_STRING_new
1032
+ #define ASN1_IA5STRING_free wolfSSL_ASN1_STRING_free
1033
+ #define ASN1_IA5STRING_set wolfSSL_ASN1_STRING_set
1034
+
1035
+ #define ASN1_PRINTABLE_type(s, max) V_ASN1_PRINTABLESTRING
1036
+
1037
+ #define ASN1_UTCTIME_pr wolfSSL_ASN1_UTCTIME_pr
1038
+
1039
+ #define ASN1_IA5STRING WOLFSSL_ASN1_STRING
1040
+
1041
+ #define ASN1_BOOLEAN WOLFSSL_ASN1_BOOLEAN
1042
+
1043
+ #define SSL_load_client_CA_file wolfSSL_load_client_CA_file
1044
+
1045
+ #define SSL_CTX_get_client_CA_list wolfSSL_CTX_get_client_CA_list
1046
+ #define SSL_CTX_set_client_CA_list wolfSSL_CTX_set_client_CA_list
1047
+ #define SSL_CTX_get0_CA_list wolfSSL_CTX_get0_CA_list
1048
+ #define SSL_CTX_set0_CA_list wolfSSL_CTX_set0_CA_list
1049
+ #define SSL_CTX_set_client_cert_cb wolfSSL_CTX_set_client_cert_cb
1050
+ #define SSL_CTX_set_cert_store wolfSSL_CTX_set_cert_store
1051
+ #ifdef OPENSSL_ALL
1052
+ #define SSL_CTX_set1_verify_cert_store wolfSSL_CTX_set1_verify_cert_store
1053
+ #endif
1054
+ #define SSL_set0_verify_cert_store wolfSSL_set0_verify_cert_store
1055
+ #define SSL_set1_verify_cert_store wolfSSL_set1_verify_cert_store
1056
+ #define SSL_CTX_get_cert_store(x) wolfSSL_CTX_get_cert_store ((x))
1057
+ #define SSL_get_client_CA_list wolfSSL_get_client_CA_list
1058
+ #define SSL_set_client_CA_list wolfSSL_set_client_CA_list
1059
+ #define SSL_get0_CA_list wolfSSL_get0_CA_list
1060
+ #define SSL_set0_CA_list wolfSSL_set0_CA_list
1061
+ #define SSL_get0_peer_CA_list wolfSSL_get0_peer_CA_list
1062
+ #define SSL_get_ex_data_X509_STORE_CTX_idx wolfSSL_get_ex_data_X509_STORE_CTX_idx
1063
+ #define SSL_get_ex_data wolfSSL_get_ex_data
1064
+
1065
+ #define SSL_CTX_set_default_passwd_cb_userdata wolfSSL_CTX_set_default_passwd_cb_userdata
1066
+ #define SSL_CTX_set_default_passwd_cb wolfSSL_CTX_set_default_passwd_cb
1067
+
1068
+ #define SSL_CTX_set_timeout(ctx, to) \
1069
+ wolfSSL_CTX_set_timeout(ctx, (unsigned int)(to))
1070
+ #define SSL_CTX_set_info_callback wolfSSL_CTX_set_info_callback
1071
+ #define SSL_set_info_callback wolfSSL_set_info_callback
1072
+ #define SSL_CTX_set_alpn_protos wolfSSL_CTX_set_alpn_protos
1073
+
1074
+ #define SSL_CTX_keylog_cb_func wolfSSL_CTX_keylog_cb_func
1075
+ #define SSL_CTX_set_keylog_callback wolfSSL_CTX_set_keylog_callback
1076
+ #define SSL_CTX_get_keylog_callback wolfSSL_CTX_get_keylog_callback
1077
+
1078
+ #define SSL_alert_type_string wolfSSL_alert_type_string
1079
+ #define SSL_alert_desc_string wolfSSL_alert_desc_string
1080
+ #define SSL_state_string wolfSSL_state_string_long
1081
+
1082
+ #define RSA_free wolfSSL_RSA_free
1083
+ #define RSA_generate_key wolfSSL_RSA_generate_key
1084
+ #define SSL_CTX_set_tmp_rsa_callback wolfSSL_CTX_set_tmp_rsa_callback
1085
+ #define RSA_print wolfSSL_RSA_print
1086
+ #define RSA_print_fp wolfSSL_RSA_print_fp
1087
+ #define RSA_bits wolfSSL_RSA_bits
1088
+ #define RSA_up_ref wolfSSL_RSA_up_ref
1089
+ #define RSA_padding_add_PKCS1_PSS_mgf1 wolfSSL_RSA_padding_add_PKCS1_PSS_mgf1
1090
+ #define RSA_padding_add_PKCS1_PSS wolfSSL_RSA_padding_add_PKCS1_PSS
1091
+ #define RSA_verify_PKCS1_PSS_mgf1 wolfSSL_RSA_verify_PKCS1_PSS_mgf1
1092
+ #define RSA_verify_PKCS1_PSS wolfSSL_RSA_verify_PKCS1_PSS
1093
+
1094
+ #define PEM_def_callback wolfSSL_PEM_def_callback
1095
+
1096
+ #define SSL_CTX_sess_accept wolfSSL_CTX_sess_accept
1097
+ #define SSL_CTX_sess_connect wolfSSL_CTX_sess_connect
1098
+ #define SSL_CTX_sess_accept_good wolfSSL_CTX_sess_accept_good
1099
+ #define SSL_CTX_sess_connect_good wolfSSL_CTX_sess_connect_good
1100
+ #define SSL_CTX_sess_accept_renegotiate wolfSSL_CTX_sess_accept_renegotiate
1101
+ #define SSL_CTX_sess_connect_renegotiate wolfSSL_CTX_sess_connect_renegotiate
1102
+ #define SSL_CTX_sess_hits wolfSSL_CTX_sess_hits
1103
+ #define SSL_CTX_sess_cb_hits wolfSSL_CTX_sess_cb_hits
1104
+ #define SSL_CTX_sess_cache_full wolfSSL_CTX_sess_cache_full
1105
+ #define SSL_CTX_sess_misses wolfSSL_CTX_sess_misses
1106
+ #define SSL_CTX_sess_timeouts wolfSSL_CTX_sess_timeouts
1107
+ #define SSL_CTX_sess_number wolfSSL_CTX_sess_number
1108
+ #define SSL_CTX_sess_get_cache_size wolfSSL_CTX_sess_get_cache_size
1109
+
1110
+
1111
+ #define SSL_DEFAULT_CIPHER_LIST WOLFSSL_DEFAULT_CIPHER_LIST
1112
+
1113
+ #define SSL_CTX_set_psk_client_callback wolfSSL_CTX_set_psk_client_callback
1114
+ #define SSL_set_psk_client_callback wolfSSL_set_psk_client_callback
1115
+
1116
+ #define SSL_get_psk_identity_hint wolfSSL_get_psk_identity_hint
1117
+ #define SSL_get_psk_identity wolfSSL_get_psk_identity
1118
+
1119
+ #define SSL_CTX_use_psk_identity_hint wolfSSL_CTX_use_psk_identity_hint
1120
+ #define SSL_use_psk_identity_hint wolfSSL_use_psk_identity_hint
1121
+
1122
+ #define SSL_CTX_set_psk_server_callback wolfSSL_CTX_set_psk_server_callback
1123
+ #define SSL_set_psk_server_callback wolfSSL_set_psk_server_callback
1124
+
1125
+ #if !defined(USE_WINDOWS_API) && !defined(INVALID_SOCKET)
1126
+ #define INVALID_SOCKET (-1)
1127
+ #endif
1128
+
1129
+ /* system file ints for ERR_put_error */
1130
+ #define SYS_F_ACCEPT WOLFSSL_SYS_ACCEPT
1131
+ #define SYS_F_BIND WOLFSSL_SYS_BIND
1132
+ #define SYS_F_CONNECT WOLFSSL_SYS_CONNECT
1133
+ #define SYS_F_FOPEN WOLFSSL_SYS_FOPEN
1134
+ #define SYS_F_FREAD WOLFSSL_SYS_FREAD
1135
+ #define SYS_F_GETADDRINFO WOLFSSL_SYS_GETADDRINFO
1136
+ #define SYS_F_GETSOCKOPT WOLFSSL_SYS_GETSOCKOPT
1137
+ #define SYS_F_GETSOCKNAME WOLFSSL_SYS_GETSOCKNAME
1138
+ #define SYS_F_OPENDIR WOLFSSL_SYS_OPENDIR
1139
+ #define SYS_F_SETSOCKOPT WOLFSSL_SYS_SETSOCKOPT
1140
+ #define SYS_F_SOCKET WOLFSSL_SYS_SOCKET
1141
+ #define SYS_F_GETHOSTBYNAME WOLFSSL_SYS_GETHOSTBYNAME
1142
+ #define SYS_F_GETNAMEINFO WOLFSSL_SYS_GETNAMEINFO
1143
+ #define SYS_F_GETSERVBYNAME WOLFSSL_SYS_GETSERVBYNAME
1144
+ #define SYS_F_IOCTLSOCKET WOLFSSL_SYS_IOCTLSOCKET
1145
+ #define SYS_F_LISTEN WOLFSSL_SYS_LISTEN
1146
+
1147
+ #define ERR_GET_LIB wolfSSL_ERR_GET_LIB
1148
+ #define ERR_GET_REASON wolfSSL_ERR_GET_REASON
1149
+
1150
+ #define ERR_put_error wolfSSL_ERR_put_error
1151
+ #define ERR_peek_error wolfSSL_ERR_peek_error
1152
+ #define ERR_peek_errors_fp wolfSSL_ERR_peek_errors_fp
1153
+ #define ERR_peek_error_line_data wolfSSL_ERR_peek_error_line_data
1154
+ #define ERR_peek_last_error wolfSSL_ERR_peek_last_error
1155
+ #define ERR_peek_last_error_line wolfSSL_ERR_peek_last_error_line
1156
+ #define ERR_get_error_line wolfSSL_ERR_get_error_line
1157
+ #define ERR_get_error_line_data wolfSSL_ERR_get_error_line_data
1158
+ #define ERR_get_error wolfSSL_ERR_get_error
1159
+ #define ERR_print_errors_fp(file) wolfSSL_ERR_dump_errors_fp((file))
1160
+ #define ERR_print_errors_cb wolfSSL_ERR_print_errors_cb
1161
+ #define ERR_print_errors wolfSSL_ERR_print_errors
1162
+ #define ERR_clear_error wolfSSL_ERR_clear_error
1163
+ #define ERR_free_strings wolfSSL_ERR_free_strings
1164
+ #define ERR_remove_state wolfSSL_ERR_remove_state
1165
+ #define ERR_remove_thread_state wolfSSL_ERR_remove_thread_state
1166
+ #define ERR_error_string wolfSSL_ERR_error_string
1167
+ #define ERR_error_string_n wolfSSL_ERR_error_string_n
1168
+ #define ERR_reason_error_string wolfSSL_ERR_reason_error_string
1169
+ #define ERR_func_error_string wolfSSL_ERR_func_error_string
1170
+ #define ERR_lib_error_string wolfSSL_ERR_lib_error_string
1171
+ #define ERR_load_BIO_strings wolfSSL_ERR_load_BIO_strings
1172
+
1173
+ #define PEMerr(func, reason) WOLFSSL_PEMerr(func, reason)
1174
+ #define EVPerr(func, reason) WOLFSSL_EVPerr(func, reason)
1175
+
1176
+ #define SSLv23_server_method wolfSSLv23_server_method
1177
+ #define SSL_CTX_set_options wolfSSL_CTX_set_options
1178
+ #define SSL_CTX_get_options wolfSSL_CTX_get_options
1179
+ #define SSL_CTX_clear_options wolfSSL_CTX_clear_options
1180
+
1181
+ #define SSL_CTX_check_private_key wolfSSL_CTX_check_private_key
1182
+ #define SSL_CTX_get0_privatekey wolfSSL_CTX_get0_privatekey
1183
+ #define SSL_check_private_key wolfSSL_check_private_key
1184
+
1185
+ #define SSL_CTX_set_mode wolfSSL_CTX_set_mode
1186
+ #define SSL_CTX_clear_mode wolfSSL_CTX_clear_mode
1187
+ #define SSL_CTX_get_mode wolfSSL_CTX_get_mode
1188
+ #define SSL_CTX_set_default_read_ahead wolfSSL_CTX_set_default_read_ahead
1189
+
1190
+ #define SSL_CTX_sess_set_cache_size wolfSSL_CTX_sess_set_cache_size
1191
+ #define SSL_CTX_set_default_verify_paths wolfSSL_CTX_set_default_verify_paths
1192
+ #define X509_get_default_cert_file_env wolfSSL_X509_get_default_cert_file_env
1193
+ #define X509_get_default_cert_file wolfSSL_X509_get_default_cert_file
1194
+ #define X509_get_default_cert_dir_env wolfSSL_X509_get_default_cert_dir_env
1195
+ #define X509_get_default_cert_dir wolfSSL_X509_get_default_cert_dir
1196
+
1197
+ #define SSL_CTX_set_session_id_context wolfSSL_CTX_set_session_id_context
1198
+ #define SSL_get_peer_certificate wolfSSL_get_peer_certificate
1199
+ #define SSL_get_peer_cert_chain wolfSSL_get_peer_cert_chain
1200
+
1201
+ #define SSL_want wolfSSL_want
1202
+ #define SSL_want_read wolfSSL_want_read
1203
+ #define SSL_want_write wolfSSL_want_write
1204
+
1205
+ #define BIO_prf wolfSSL_BIO_prf
1206
+
1207
+ #define sk_num wolfSSL_sk_num
1208
+ #define sk_ASN1_OBJECT_num wolfSSL_sk_num
1209
+ #define OPENSSL_sk_num wolfSSL_sk_num
1210
+ #define sk_value wolfSSL_sk_value
1211
+ #define sk_ASN1_OBJECT_value wolfSSL_sk_value
1212
+ #define OPENSSL_sk_value wolfSSL_sk_value
1213
+
1214
+ #define d2i_PKCS12_bio wolfSSL_d2i_PKCS12_bio
1215
+ #define d2i_PKCS12_fp wolfSSL_d2i_PKCS12_fp
1216
+ #define i2d_PKCS12_bio wolfSSL_i2d_PKCS12_bio
1217
+
1218
+ #define d2i_RSAPublicKey wolfSSL_d2i_RSAPublicKey
1219
+ #define d2i_RSAPrivateKey wolfSSL_d2i_RSAPrivateKey
1220
+ #define i2d_RSAPrivateKey wolfSSL_i2d_RSAPrivateKey
1221
+ #define i2d_RSAPublicKey wolfSSL_i2d_RSAPublicKey
1222
+
1223
+ #define SSL_CTX_get_ex_data wolfSSL_CTX_get_ex_data
1224
+ #define SSL_CTX_set_ex_data wolfSSL_CTX_set_ex_data
1225
+ #define SSL_CTX_sess_set_get_cb wolfSSL_CTX_sess_set_get_cb
1226
+ #define SSL_CTX_sess_set_new_cb wolfSSL_CTX_sess_set_new_cb
1227
+ #define SSL_CTX_sess_set_remove_cb wolfSSL_CTX_sess_set_remove_cb
1228
+
1229
+ #define i2d_SSL_SESSION wolfSSL_i2d_SSL_SESSION
1230
+ #define d2i_SSL_SESSION wolfSSL_d2i_SSL_SESSION
1231
+ #define SSL_SESSION_has_ticket wolfSSL_SESSION_has_ticket
1232
+ #define SSL_SESSION_get_ticket_lifetime_hint \
1233
+ wolfSSL_SESSION_get_ticket_lifetime_hint
1234
+ #define SSL_SESSION_set_timeout wolfSSL_SSL_SESSION_set_timeout
1235
+ #define SSL_SESSION_get_timeout wolfSSL_SESSION_get_timeout
1236
+ #define SSL_SESSION_set_time wolfSSL_SESSION_set_time
1237
+ #define SSL_SESSION_get_time wolfSSL_SESSION_get_time
1238
+
1239
+ #define SSL_CTX_get_ex_new_index wolfSSL_CTX_get_ex_new_index
1240
+ #define PEM_read wolfSSL_PEM_read
1241
+ #define PEM_write wolfSSL_PEM_write
1242
+ #define PEM_get_EVP_CIPHER_INFO wolfSSL_PEM_get_EVP_CIPHER_INFO
1243
+ #define PEM_do_header wolfSSL_PEM_do_header
1244
+
1245
+ /*#if OPENSSL_API_COMPAT < 0x10100000L*/
1246
+ #define CONF_modules_free() WC_DO_NOTHING
1247
+ #define ENGINE_cleanup() WC_DO_NOTHING
1248
+ #define SSL_CTX_need_tmp_RSA(ctx) 0
1249
+ #define SSL_CTX_set_tmp_rsa(ctx,rsa) 1
1250
+ #define SSL_need_tmp_RSA(ssl) 0
1251
+ #define SSL_set_tmp_rsa(ssl,rsa) 1
1252
+ /*#endif*/
1253
+
1254
+ #define CONF_modules_unload(a) WC_DO_NOTHING
1255
+ #define CONF_get1_default_config_file wolfSSL_CONF_get1_default_config_file
1256
+
1257
+ #define SSL_get_hit wolfSSL_session_reused
1258
+
1259
+ /* yassl had set the default to be 500 */
1260
+ #define SSL_get_default_timeout(ctx) 500
1261
+
1262
+ #define DTLSv1_get_timeout(ssl, timeleft) wolfSSL_DTLSv1_get_timeout((ssl), (WOLFSSL_TIMEVAL*)(timeleft))
1263
+ #define DTLSv1_handle_timeout wolfSSL_DTLSv1_handle_timeout
1264
+ #define DTLSv1_set_initial_timeout_duration wolfSSL_DTLSv1_set_initial_timeout_duration
1265
+ #define SSL_set_mtu wolfSSL_set_mtu_compat
1266
+
1267
+ /* DTLS SRTP */
1268
+ #ifdef WOLFSSL_SRTP
1269
+ typedef WOLFSSL_SRTP_PROTECTION_PROFILE SRTP_PROTECTION_PROFILE;
1270
+ #endif
1271
+ #define SSL_CTX_set_tlsext_use_srtp wolfSSL_CTX_set_tlsext_use_srtp
1272
+ #define SSL_set_tlsext_use_srtp wolfSSL_set_tlsext_use_srtp
1273
+ #define SSL_get_selected_srtp_profile wolfSSL_get_selected_srtp_profile
1274
+ #define SSL_get_srtp_profiles wolfSSL_get_srtp_profiles
1275
+
1276
+ #ifndef NO_WOLFSSL_STUB
1277
+ #define SSL_CTX_set_current_time_cb(ssl, cb) ({ (void)(ssl); (void)(cb); })
1278
+ #endif
1279
+
1280
+ #define SSL_CTX_use_certificate wolfSSL_CTX_use_certificate
1281
+ #define SSL_CTX_add0_chain_cert wolfSSL_CTX_add0_chain_cert
1282
+ #define SSL_CTX_add1_chain_cert wolfSSL_CTX_add1_chain_cert
1283
+ #define SSL_add0_chain_cert wolfSSL_add0_chain_cert
1284
+ #define SSL_add1_chain_cert wolfSSL_add1_chain_cert
1285
+ #define SSL_CTX_use_PrivateKey wolfSSL_CTX_use_PrivateKey
1286
+ #define BIO_read_filename wolfSSL_BIO_read_filename
1287
+ #define SSL_CTX_set_verify_depth wolfSSL_CTX_set_verify_depth
1288
+ #define SSL_set_verify_depth wolfSSL_set_verify_depth
1289
+ #define SSL_get_app_data wolfSSL_get_app_data
1290
+ #define SSL_set_app_data wolfSSL_set_app_data
1291
+ #define SHA1 wolfSSL_SHA1
1292
+
1293
+ #define SSL_dup_CA_list wolfSSL_dup_CA_list
1294
+
1295
+ #define sk_X509_NAME_find wolfSSL_sk_X509_NAME_find
1296
+
1297
+ #define DHparams_dup wolfSSL_DH_dup
1298
+ #define PEM_read_bio_DHparams wolfSSL_PEM_read_bio_DHparams
1299
+ #define PEM_read_DHparams wolfSSL_PEM_read_DHparams
1300
+ #define PEM_read_bio_DSAparams wolfSSL_PEM_read_bio_DSAparams
1301
+
1302
+ #if defined(OPENSSL_ALL) || defined(WOLFSSL_HAPROXY)
1303
+ #define SSL_get_rbio wolfSSL_SSL_get_rbio
1304
+ #define SSL_get_wbio wolfSSL_SSL_get_wbio
1305
+ #define SSL_do_handshake wolfSSL_SSL_do_handshake
1306
+ #define SSL_get_ciphers(x) wolfSSL_get_ciphers_compat(x)
1307
+ #define SSL_SESSION_get_id wolfSSL_SESSION_get_id
1308
+ #define SSL_get_cipher_bits(s,np) \
1309
+ wolfSSL_CIPHER_get_bits(SSL_get_current_cipher(s),np)
1310
+ #define sk_SSL_CIPHER_num wolfSSL_sk_SSL_CIPHER_num
1311
+ #define sk_SSL_COMP_zero wolfSSL_sk_SSL_COMP_zero
1312
+ #define sk_SSL_CIPHER_value wolfSSL_sk_SSL_CIPHER_value
1313
+ #endif /* OPENSSL_ALL || WOLFSSL_HAPROXY */
1314
+ #define sk_SSL_CIPHER_dup wolfSSL_sk_dup
1315
+ #define sk_SSL_CIPHER_free wolfSSL_sk_SSL_CIPHER_free
1316
+ #define sk_SSL_CIPHER_find wolfSSL_sk_SSL_CIPHER_find
1317
+
1318
+ #if defined(SESSION_CERTS) && defined(OPENSSL_EXTRA)
1319
+ #define SSL_get0_peername wolfSSL_get0_peername
1320
+ #endif
1321
+
1322
+ #if defined(OPENSSL_ALL) || defined(WOLFSSL_ASIO) || defined(WOLFSSL_HAPROXY) \
1323
+ || defined(WOLFSSL_NGINX)
1324
+ #include <wolfssl/openssl/pem.h>
1325
+
1326
+ #define SSL_CTRL_CHAIN 88
1327
+ #define SSL_R_SHORT_READ 10
1328
+ #define ERR_R_PEM_LIB 9
1329
+ #define SSL_CTRL_MODE 33
1330
+ #define SSL_CTRL_CLEAR_EXTRA_CHAIN_CERTS 83
1331
+
1332
+ #define SSL_CTX_clear_chain_certs(ctx) SSL_CTX_set0_chain(ctx,NULL)
1333
+ #define d2i_RSAPrivateKey_bio wolfSSL_d2i_RSAPrivateKey_bio
1334
+ #define SSL_CTX_use_RSAPrivateKey wolfSSL_CTX_use_RSAPrivateKey
1335
+ #define d2i_PrivateKey_bio wolfSSL_d2i_PrivateKey_bio
1336
+ #define BIO_new_bio_pair wolfSSL_BIO_new_bio_pair
1337
+ #define SSL_get_verify_callback wolfSSL_get_verify_callback
1338
+
1339
+ #define SSL_set_mode(ssl,op) wolfSSL_ctrl((ssl),SSL_CTRL_MODE,(op),NULL)
1340
+
1341
+ #define SSL_CTX_use_certificate_ASN1 wolfSSL_CTX_use_certificate_ASN1
1342
+ #define SSL_CTX_set0_chain(ctx,sk) \
1343
+ wolfSSL_CTX_ctrl(ctx,SSL_CTRL_CHAIN,0,(char *)(sk))
1344
+ #define SSL_CTX_get_app_data(ctx) wolfSSL_CTX_get_ex_data(ctx,0)
1345
+ #define SSL_CTX_set_app_data(ctx,arg) wolfSSL_CTX_set_ex_data(ctx,0, \
1346
+ (char *)(arg))
1347
+ #endif /* OPENSSL_ALL || WOLFSSL_ASIO || WOLFSSL_HAPROXY */
1348
+
1349
+ #define SSL_CTX_set_dh_auto wolfSSL_CTX_set_dh_auto
1350
+ #define SSL_CTX_set_tmp_dh wolfSSL_CTX_set_tmp_dh
1351
+
1352
+ #define TLSEXT_STATUSTYPE_ocsp WOLFSSL_TLSEXT_STATUSTYPE_ocsp
1353
+
1354
+ #define TLSEXT_max_fragment_length_DISABLED WOLFSSL_MFL_DISABLED
1355
+ #define TLSEXT_max_fragment_length_512 WOLFSSL_MFL_2_9
1356
+ #define TLSEXT_max_fragment_length_1024 WOLFSSL_MFL_2_10
1357
+ #define TLSEXT_max_fragment_length_2048 WOLFSSL_MFL_2_11
1358
+ #define TLSEXT_max_fragment_length_4096 WOLFSSL_MFL_2_12
1359
+
1360
+ #define SSL_set_options wolfSSL_set_options
1361
+ #define SSL_get_options wolfSSL_get_options
1362
+ #define SSL_clear_options wolfSSL_clear_options
1363
+ #define SSL_set_tmp_dh wolfSSL_set_tmp_dh
1364
+ #define SSL_clear_num_renegotiations wolfSSL_clear_num_renegotiations
1365
+ #define SSL_total_renegotiations wolfSSL_total_renegotiations
1366
+ #define SSL_num_renegotiations wolfSSL_num_renegotiations
1367
+ #define SSL_renegotiate wolfSSL_Rehandshake
1368
+ #define SSL_get_secure_renegotiation_support wolfSSL_SSL_get_secure_renegotiation_support
1369
+ #define SSL_renegotiate_pending wolfSSL_SSL_renegotiate_pending
1370
+ #define SSL_set_tlsext_debug_arg wolfSSL_set_tlsext_debug_arg
1371
+ #define SSL_set_tlsext_status_type wolfSSL_set_tlsext_status_type
1372
+ #define SSL_get_tlsext_status_type wolfSSL_get_tlsext_status_type
1373
+ #define SSL_set_tlsext_status_exts wolfSSL_set_tlsext_status_exts
1374
+ #define SSL_get_tlsext_status_ids wolfSSL_get_tlsext_status_ids
1375
+ #define SSL_set_tlsext_status_ids wolfSSL_set_tlsext_status_ids
1376
+ #define SSL_get_tlsext_status_ocsp_res wolfSSL_get_tlsext_status_ocsp_resp
1377
+ #define SSL_set_tlsext_status_ocsp_res wolfSSL_set_tlsext_status_ocsp_resp
1378
+ #define SSL_set_tlsext_status_ocsp_resp wolfSSL_set_tlsext_status_ocsp_resp
1379
+ #define SSL_get_tlsext_status_ocsp_resp wolfSSL_get_tlsext_status_ocsp_resp
1380
+ #define SSL_set_tlsext_max_fragment_length wolfSSL_set_tlsext_max_fragment_length
1381
+
1382
+ #define SSL_CTX_add_extra_chain_cert wolfSSL_CTX_add_extra_chain_cert
1383
+ #define SSL_get_read_ahead wolfSSL_get_read_ahead
1384
+ #define SSL_set_read_ahead wolfSSL_set_read_ahead
1385
+ #define SSL_CTX_get_read_ahead wolfSSL_CTX_get_read_ahead
1386
+ #define SSL_CTX_set_read_ahead wolfSSL_CTX_set_read_ahead
1387
+ #define SSL_CTX_set_tlsext_status_arg wolfSSL_CTX_set_tlsext_status_arg
1388
+ #define SSL_CTX_set_tlsext_opaque_prf_input_callback_arg \
1389
+ wolfSSL_CTX_set_tlsext_opaque_prf_input_callback_arg
1390
+ #define SSL_CTX_set_tlsext_max_fragment_length \
1391
+ wolfSSL_CTX_set_tlsext_max_fragment_length
1392
+ #define SSL_get_server_random wolfSSL_get_server_random
1393
+ #define SSL_get_server_tmp_key wolfSSL_get_peer_tmp_key
1394
+ #define SSL_get_peer_tmp_key wolfSSL_get_peer_tmp_key
1395
+
1396
+ #define SSL_CTX_set_min_proto_version wolfSSL_CTX_set_min_proto_version
1397
+ #define SSL_CTX_set_max_proto_version wolfSSL_CTX_set_max_proto_version
1398
+ #define SSL_set_min_proto_version wolfSSL_set_min_proto_version
1399
+ #define SSL_set_max_proto_version wolfSSL_set_max_proto_version
1400
+ #define SSL_CTX_get_min_proto_version wolfSSL_CTX_get_min_proto_version
1401
+ #define SSL_CTX_get_max_proto_version wolfSSL_CTX_get_max_proto_version
1402
+
1403
+ #define SSL_get_tlsext_status_exts wolfSSL_get_tlsext_status_exts
1404
+
1405
+ #define SSL_CTX_get_tlsext_ticket_keys wolfSSL_CTX_get_tlsext_ticket_keys
1406
+ #define SSL_CTX_set_tlsext_ticket_keys wolfSSL_CTX_set_tlsext_ticket_keys
1407
+ #define SSL_CTX_get_tlsext_status_cb wolfSSL_CTX_get_tlsext_status_cb
1408
+ #define SSL_CTX_set_tlsext_status_arg wolfSSL_CTX_set_tlsext_status_arg
1409
+ #define SSL_CTX_set_tlsext_status_cb wolfSSL_CTX_set_tlsext_status_cb
1410
+ #define SSL_CTX_set_num_tickets wolfSSL_CTX_set_num_tickets
1411
+ #define SSL_CTX_get_num_tickets wolfSSL_CTX_get_num_tickets
1412
+
1413
+ #define SSL_CTRL_CLEAR_NUM_RENEGOTIATIONS 11
1414
+ #define SSL_CTRL_GET_TOTAL_RENEGOTIATIONS 12
1415
+ #define SSL_CTRL_SET_TMP_DH 3
1416
+ #define SSL_CTRL_SET_TMP_ECDH 4
1417
+ #define SSL_CTRL_SET_SESS_CACHE_MODE 44
1418
+ #define SSL_CTRL_SET_TLSEXT_DEBUG_ARG 57
1419
+ #define SSL_CTRL_SET_TLSEXT_STATUS_REQ_TYPE 65
1420
+ #define SSL_CTRL_GET_TLSEXT_STATUS_REQ_TYPE 651
1421
+ #define SSL_CTRL_GET_TLSEXT_STATUS_REQ_EXTS 66
1422
+ #define SSL_CTRL_SET_TLSEXT_STATUS_REQ_EXTS 67
1423
+ #define SSL_CTRL_GET_TLSEXT_STATUS_REQ_IDS 68
1424
+ #define SSL_CTRL_SET_TLSEXT_STATUS_REQ_IDS 69
1425
+ #define SSL_CTRL_GET_TLSEXT_STATUS_REQ_OCSP_RESP 70
1426
+ #define SSL_CTRL_SET_TLSEXT_STATUS_REQ_OCSP_RESP 71
1427
+ #define SSL_CTRL_SET_GROUPS 91
1428
+ #define SSL_CTRL_GET_PEER_TMP_KEY 109
1429
+ #define SSL_CTRL_GET_SERVER_TMP_KEY SSL_CTRL_GET_PEER_TMP_KEY
1430
+ #define SSL_CTRL_GET_CHAIN_CERTS 115
1431
+ #define SSL_CTRL_SET_MIN_PROTO_VERSION 123
1432
+ #define SSL_CTRL_SET_MAX_PROTO_VERSION 124
1433
+ #define SSL_CTRL_GET_MIN_PROTO_VERSION 125
1434
+ #define SSL_CTRL_GET_MAX_PROTO_VERSION 126
1435
+ #define SSL_CTRL_SET_CURVES SSL_CTRL_SET_GROUPS
1436
+
1437
+ #define SSL_CTRL_EXTRA_CHAIN_CERT 14
1438
+ #define SSL_CTRL_OPTIONS 32
1439
+
1440
+ #define SSL_CTRL_SET_SESS_CACHE_SIZE 42
1441
+ #define SSL_CTRL_GET_READ_AHEAD 40
1442
+ #define SSL_CTRL_SET_READ_AHEAD 41
1443
+
1444
+ #define SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB 63
1445
+ #define SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB_ARG 64
1446
+
1447
+ #define SSL_CTRL_GET_EXTRA_CHAIN_CERTS 82
1448
+ #define SSL_CTRL_GET_SESSION_REUSED 0
1449
+
1450
+ #define SSL_ctrl wolfSSL_ctrl
1451
+ #define SSL_CTX_ctrl wolfSSL_CTX_ctrl
1452
+ #define SSL_CTX_callback_ctrl wolfSSL_CTX_callback_ctrl
1453
+
1454
+ #define SSL3_RANDOM_SIZE 32 /* same as RAN_LEN in internal.h */
1455
+
1456
+ #ifndef WOLFSSL_ALLOW_SSLV3
1457
+ #undef OPENSSL_NO_SSL3
1458
+ #define OPENSSL_NO_SSL3
1459
+ #endif
1460
+
1461
+ /* Used as message callback types */
1462
+ #define SSL3_RT_CHANGE_CIPHER_SPEC 20
1463
+ #define SSL3_RT_ALERT 21
1464
+ #define SSL3_RT_HANDSHAKE 22
1465
+ #define SSL3_RT_APPLICATION_DATA 23
1466
+
1467
+ #define OPENSSL_INIT_LOAD_SSL_STRINGS 0x00200000L
1468
+ #define OPENSSL_INIT_LOAD_CRYPTO_STRINGS 0x00000002L
1469
+
1470
+ #define TLS_ANY_VERSION 0x10000
1471
+ #define DTLS1_2_VERSION 0xFEFD
1472
+ #define DTLS_MAX_VERSION DTLS1_2_VERSION
1473
+
1474
+ /* apache and lighty use SSL_CONF_FLAG_FILE to enable conf support */
1475
+ #define SSL_CONF_FLAG_CMDLINE WOLFSSL_CONF_FLAG_CMDLINE
1476
+ #define SSL_CONF_FLAG_FILE WOLFSSL_CONF_FLAG_FILE
1477
+ #define SSL_CONF_FLAG_CERTIFICATE WOLFSSL_CONF_FLAG_CERTIFICATE
1478
+ #define SSL_CONF_FLAG_SERVER WOLFSSL_CONF_FLAG_SERVER
1479
+ #define SSL_CONF_FLAG_CLIENT WOLFSSL_CONF_FLAG_CLIENT
1480
+ #define SSL_CONF_FLAG_SHOW_ERRORS WOLFSSL_CONF_FLAG_SHOW_ERRORS
1481
+ #define SSL_CONF_TYPE_UNKNOWN WOLFSSL_CONF_TYPE_UNKNOWN
1482
+ #define SSL_CONF_TYPE_STRING WOLFSSL_CONF_TYPE_STRING
1483
+ #define SSL_CONF_TYPE_FILE WOLFSSL_CONF_TYPE_FILE
1484
+ #define SSL_CONF_TYPE_DIR WOLFSSL_CONF_TYPE_DIR
1485
+
1486
+ #define OPENSSL_INIT_new wolfSSL_OPENSSL_INIT_new
1487
+ #define OPENSSL_INIT_free wolfSSL_OPENSSL_INIT_free
1488
+ #define OPENSSL_INIT_set_config_appname wolfSSL_OPENSSL_INIT_set_config_appname
1489
+
1490
+ #if defined(HAVE_STUNNEL) || defined(WOLFSSL_NGINX) || \
1491
+ defined(WOLFSSL_HAPROXY) || defined(OPENSSL_EXTRA) || defined(OPENSSL_ALL)
1492
+
1493
+ #define SSL23_ST_SR_CLNT_HELLO_A (0x210|0x2000)
1494
+ #define SSL3_ST_SR_CLNT_HELLO_A (0x110|0x2000)
1495
+
1496
+ #define SSL3_AD_BAD_CERTIFICATE bad_certificate
1497
+ #define SSL_AD_BAD_CERTIFICATE SSL3_AD_BAD_CERTIFICATE
1498
+ #define SSL_AD_UNRECOGNIZED_NAME WOLFSSL_AD_UNRECOGNIZED_NAME
1499
+ #define SSL_AD_NO_RENEGOTIATION no_renegotiation
1500
+ #define SSL_AD_INTERNAL_ERROR 80
1501
+ #define SSL_AD_NO_APPLICATION_PROTOCOL no_application_protocol
1502
+ #define SSL_AD_MISSING_EXTENSION missing_extension
1503
+
1504
+ #define SSL_MAX_MASTER_KEY_LENGTH WOLFSSL_MAX_MASTER_KEY_LENGTH
1505
+
1506
+ #define SSL_alert_desc_string_long wolfSSL_alert_desc_string_long
1507
+ #define SSL_alert_type_string_long wolfSSL_alert_type_string_long
1508
+ #define SSL_CIPHER_get_bits wolfSSL_CIPHER_get_bits
1509
+ #define sk_GENERAL_NAME_num wolfSSL_sk_GENERAL_NAME_num
1510
+ #define SSL_CTX_get_options wolfSSL_CTX_get_options
1511
+
1512
+ #define SSL_CTX_flush_sessions wolfSSL_flush_sessions
1513
+ #define SSL_CTX_add_session wolfSSL_CTX_add_session
1514
+ #define SSL_version(x) wolfSSL_version ((WOLFSSL*) (x))
1515
+ #define SSL_get_state wolfSSL_get_state
1516
+ #define SSL_state_string_long wolfSSL_state_string_long
1517
+
1518
+ #define GENERAL_NAME_new wolfSSL_GENERAL_NAME_new
1519
+ #define GENERAL_NAME_free wolfSSL_GENERAL_NAME_free
1520
+ #define GENERAL_NAME_dup wolfSSL_GENERAL_NAME_dup
1521
+ #define GENERAL_NAME_print wolfSSL_GENERAL_NAME_print
1522
+ #define GENERAL_NAME_set0_othername wolfSSL_GENERAL_NAME_set0_othername
1523
+ #define GENERAL_NAME_set0_value wolfSSL_GENERAL_NAME_set0_value
1524
+ #define sk_GENERAL_NAME_push wolfSSL_sk_GENERAL_NAME_push
1525
+ #define sk_GENERAL_NAME_value wolfSSL_sk_GENERAL_NAME_value
1526
+
1527
+ #define DIST_POINT_new wolfSSL_DIST_POINT_new
1528
+ #define DIST_POINT_free wolfSSL_DIST_POINT_free
1529
+ #define DIST_POINTS_free wolfSSL_DIST_POINTS_free
1530
+ #define CRL_DIST_POINTS_free(cdp) wolfSSL_sk_DIST_POINT_pop_free((cdp), NULL)
1531
+ #define sk_DIST_POINT_push wolfSSL_sk_DIST_POINT_push
1532
+ #define sk_DIST_POINT_value wolfSSL_sk_DIST_POINT_value
1533
+ #define sk_DIST_POINT_num wolfSSL_sk_DIST_POINT_num
1534
+ #define sk_DIST_POINT_pop_free wolfSSL_sk_DIST_POINT_pop_free
1535
+ #define sk_DIST_POINT_free wolfSSL_sk_DIST_POINT_free
1536
+
1537
+ #define SSL_SESSION_get_ex_data wolfSSL_SESSION_get_ex_data
1538
+ #define SSL_SESSION_set_ex_data wolfSSL_SESSION_set_ex_data
1539
+ #define SSL_SESSION_get_ex_new_index wolfSSL_SESSION_get_ex_new_index
1540
+ #define SSL_SESSION_get_id wolfSSL_SESSION_get_id
1541
+ #define SSL_SESSION_get0_id_context wolfSSL_SESSION_get0_id_context
1542
+ #define SSL_SESSION_set1_id wolfSSL_SESSION_set1_id
1543
+ #define SSL_SESSION_set1_id_context wolfSSL_SESSION_set1_id_context
1544
+ #define SSL_SESSION_print wolfSSL_SESSION_print
1545
+ #define sk_GENERAL_NAME_pop_free wolfSSL_sk_GENERAL_NAME_pop_free
1546
+ #define sk_GENERAL_NAME_new wolfSSL_sk_GENERAL_NAME_new
1547
+ #define sk_GENERAL_NAME_free wolfSSL_sk_GENERAL_NAME_free
1548
+ #define sk_ASN1_OBJECT_pop_free wolfSSL_sk_ASN1_OBJECT_pop_free
1549
+ #define GENERAL_NAME_free wolfSSL_GENERAL_NAME_free
1550
+ #define GENERAL_NAMES_free wolfSSL_GENERAL_NAMES_free
1551
+ #define EXTENDED_KEY_USAGE_free wolfSSL_EXTENDED_KEY_USAGE_free
1552
+
1553
+ #define AUTHORITY_INFO_ACCESS_free wolfSSL_AUTHORITY_INFO_ACCESS_free
1554
+ #define AUTHORITY_INFO_ACCESS_pop_free wolfSSL_AUTHORITY_INFO_ACCESS_pop_free
1555
+ #define sk_ACCESS_DESCRIPTION_pop_free wolfSSL_sk_ACCESS_DESCRIPTION_pop_free
1556
+ #define sk_ACCESS_DESCRIPTION_free wolfSSL_sk_ACCESS_DESCRIPTION_free
1557
+ #define ACCESS_DESCRIPTION_free wolfSSL_ACCESS_DESCRIPTION_free
1558
+
1559
+ /* Alert types, matched to AlertDescription enum in wolfssl/ssl.h */
1560
+ #define SSL_AD_CLOSE_NOTIFY close_notify
1561
+ #define SSL_AD_UNEXPECTED_MESSAGE unexpected_message
1562
+ #define SSL_AD_BAD_RECORD_MAC bad_record_mac
1563
+ #define SSL_AD_RECORD_OVERFLOW record_overflow
1564
+ #define SSL_AD_DECOMPRESSION_FAILURE decompression_failure
1565
+ #define SSL_AD_HANDSHAKE_FAILURE handshake_failure
1566
+ #define SSL_AD_UNSUPPORTED_CERTIFICATE unsupported_certificate
1567
+ #define SSL_AD_CERTIFICATE_REVOKED certificate_revoked
1568
+ #define SSL_AD_CERTIFICATE_EXPIRED certificate_expired
1569
+ #define SSL_AD_CERTIFICATE_UNKNOWN certificate_unknown
1570
+ #define SSL_AD_ILLEGAL_PARAMETER illegal_parameter
1571
+ #define SSL_AD_UNKNOWN_CA unknown_ca
1572
+ #define SSL_AD_ACCESS_DENIED access_denied
1573
+ #define SSL_AD_DECODE_ERROR decode_error
1574
+ #define SSL_AD_DECRYPT_ERROR decrypt_error
1575
+ #ifdef WOLFSSL_MYSQL_COMPATIBLE
1576
+ #define SSL_AD_PROTOCOL_VERSION wc_protocol_version
1577
+ #else
1578
+ #define SSL_AD_PROTOCOL_VERSION protocol_version
1579
+ #endif
1580
+ #define SSL_AD_INSUFFICIENT_SECURITY insufficient_security
1581
+ #define SSL_AD_USER_CANCELLED user_canceled
1582
+
1583
+ #define SSL3_AL_FATAL 2
1584
+ #define SSL_TLSEXT_ERR_OK 0
1585
+ #define SSL_TLSEXT_ERR_ALERT_WARNING 1
1586
+ #define SSL_TLSEXT_ERR_ALERT_FATAL 2
1587
+ #define SSL_TLSEXT_ERR_NOACK 3
1588
+ #define TLSEXT_NAMETYPE_host_name WOLFSSL_SNI_HOST_NAME
1589
+
1590
+ #define SSL_set_tlsext_host_name wolfSSL_set_tlsext_host_name
1591
+ #define SSL_get_servername wolfSSL_get_servername
1592
+ #define SSL_set_SSL_CTX wolfSSL_set_SSL_CTX
1593
+ #define SSL_CTX_get_verify_callback wolfSSL_CTX_get_verify_callback
1594
+ #define SSL_CTX_set_tlsext_servername_callback wolfSSL_CTX_set_tlsext_servername_callback
1595
+ #define SSL_CTX_set_tlsext_servername_arg wolfSSL_CTX_set_servername_arg
1596
+
1597
+ #define PSK_MAX_PSK_LEN 256
1598
+ #define PSK_MAX_IDENTITY_LEN 128
1599
+ #define SSL_CTX_clear_options wolfSSL_CTX_clear_options
1600
+
1601
+ #define SSL_CTX_add_server_custom_ext(ctx, ext_type, add_cb, free_cb, add_arg, parse_cb, parse_arg) 0
1602
+
1603
+ #define SSL_get0_verified_chain wolfSSL_get0_verified_chain
1604
+ #define X509_chain_up_ref wolfSSL_X509_chain_up_ref
1605
+
1606
+ #endif /* HAVE_STUNNEL || WOLFSSL_NGINX */
1607
+
1608
+ #ifndef NO_WOLFSSL_STUB
1609
+ #define b2i_PrivateKey_bio(in) NULL
1610
+ #define b2i_PVK_bio(in, cb, u) NULL
1611
+ #endif
1612
+
1613
+ #define SSL_CTX_get_default_passwd_cb wolfSSL_CTX_get_default_passwd_cb
1614
+ #define SSL_CTX_get_default_passwd_cb_userdata wolfSSL_CTX_get_default_passwd_cb_userdata
1615
+
1616
+ #define SSL_CTX_set_msg_callback wolfSSL_CTX_set_msg_callback
1617
+ #define SSL_set_msg_callback wolfSSL_set_msg_callback
1618
+ #define SSL_CTX_set_msg_callback_arg wolfSSL_CTX_set_msg_callback_arg
1619
+ #define SSL_set_msg_callback_arg wolfSSL_set_msg_callback_arg
1620
+
1621
+ #define SSL_CTX_clear_extra_chain_certs wolfSSL_CTX_clear_extra_chain_certs
1622
+
1623
+ #define SSL_certs_clear wolfSSL_certs_clear
1624
+
1625
+ /* Nginx uses this to determine if reached end of certs in file.
1626
+ * PEM_read_bio_X509 is called and the return error is lost.
1627
+ * The error that needs to be detected is: SSL_NO_PEM_HEADER.
1628
+ */
1629
+ #define ERR_GET_FUNC(l) (int)((((unsigned long)(l)) >> 12L) & 0xfffL)
1630
+
1631
+ #define PEM_F_PEM_DEF_CALLBACK 100
1632
+
1633
+ #include <wolfssl/error-ssl.h>
1634
+
1635
+ #define PEM_R_NO_START_LINE (-WOLFSSL_PEM_R_NO_START_LINE_E)
1636
+ #define PEM_R_PROBLEMS_GETTING_PASSWORD (-WOLFSSL_PEM_R_PROBLEMS_GETTING_PASSWORD_E)
1637
+ #define PEM_R_BAD_PASSWORD_READ (-WOLFSSL_PEM_R_BAD_PASSWORD_READ_E)
1638
+ #define PEM_R_BAD_DECRYPT (-WOLFSSL_PEM_R_BAD_DECRYPT_E)
1639
+ #define ASN1_R_HEADER_TOO_LONG (-WOLFSSL_ASN1_R_HEADER_TOO_LONG_E)
1640
+
1641
+ #define ERR_LIB_SYS WOLFSSL_ERR_LIB_SYS
1642
+ #define ERR_LIB_RSA WOLFSSL_ERR_LIB_RSA
1643
+ #define ERR_LIB_PEM WOLFSSL_ERR_LIB_PEM
1644
+ #define ERR_LIB_X509 WOLFSSL_ERR_LIB_X509
1645
+ #define ERR_LIB_EVP WOLFSSL_ERR_LIB_EVP
1646
+ #define ERR_LIB_ASN1 WOLFSSL_ERR_LIB_ASN1
1647
+ #define ERR_LIB_DIGEST WOLFSSL_ERR_LIB_DIGEST
1648
+ #define ERR_LIB_CIPHER WOLFSSL_ERR_LIB_CIPHER
1649
+ #define ERR_LIB_USER WOLFSSL_ERR_LIB_USER
1650
+ #define ERR_LIB_EC WOLFSSL_ERR_LIB_EC
1651
+ #define ERR_LIB_SSL WOLFSSL_ERR_LIB_SSL
1652
+ #define ERR_LIB_PKCS12 WOLFSSL_ERR_LIB_PKCS12
1653
+
1654
+ #if defined(WOLFSSL_NGINX) || defined(WOLFSSL_HAPROXY) || \
1655
+ defined(WOLFSSL_MYSQL_COMPATIBLE) || defined(OPENSSL_EXTRA) || \
1656
+ defined(HAVE_LIGHTY) || defined(HAVE_STUNNEL) || \
1657
+ defined(WOLFSSL_WPAS_SMALL)
1658
+
1659
+ #define OPENSSL_STRING WOLFSSL_STRING
1660
+ #define OPENSSL_CSTRING WOLFSSL_STRING
1661
+
1662
+ #define TLSEXT_TYPE_application_layer_protocol_negotiation \
1663
+ TLSXT_APPLICATION_LAYER_PROTOCOL
1664
+
1665
+ #define OPENSSL_NPN_UNSUPPORTED WOLFSSL_NPN_UNSUPPORTED
1666
+ #define OPENSSL_NPN_NEGOTIATED WOLFSSL_NPN_NEGOTIATED
1667
+ #define OPENSSL_NPN_NO_OVERLAP WOLFSSL_NPN_NO_OVERLAP
1668
+
1669
+ /* Nginx checks these to see if the error was a handshake error. */
1670
+ #define SSL_R_BAD_CHANGE_CIPHER_SPEC LENGTH_ERROR
1671
+ #define SSL_R_BLOCK_CIPHER_PAD_IS_WRONG BUFFER_E
1672
+ #define SSL_R_DIGEST_CHECK_FAILED VERIFY_MAC_ERROR
1673
+ #define SSL_R_ERROR_IN_RECEIVED_CIPHER_LIST SUITES_ERROR
1674
+ #define SSL_R_EXCESSIVE_MESSAGE_SIZE BUFFER_ERROR
1675
+ #define SSL_R_LENGTH_MISMATCH LENGTH_ERROR
1676
+ #define SSL_R_NO_CIPHERS_SPECIFIED SUITES_ERROR
1677
+ #define SSL_R_NO_COMPRESSION_SPECIFIED COMPRESSION_ERROR
1678
+ #define SSL_R_NO_SHARED_CIPHER MATCH_SUITE_ERROR
1679
+ #define SSL_R_RECORD_LENGTH_MISMATCH HANDSHAKE_SIZE_ERROR
1680
+ #define SSL_R_UNEXPECTED_MESSAGE OUT_OF_ORDER_E
1681
+ #define SSL_R_UNEXPECTED_RECORD SANITY_MSG_E
1682
+ #define SSL_R_UNKNOWN_ALERT_TYPE BUFFER_ERROR
1683
+ #define SSL_R_BAD_DIGEST_LENGTH BUFFER_ERROR
1684
+ #define SSL_R_BAD_PACKET_LENGTH BUFFER_ERROR
1685
+ #define SSL_R_DATA_LENGTH_TOO_LONG BUFFER_ERROR
1686
+ #define SSL_R_ENCRYPTED_LENGTH_TOO_LONG BUFFER_ERROR
1687
+ #define SSL_R_BAD_LENGTH BUFFER_ERROR
1688
+ #define SSL_R_UNKNOWN_PROTOCOL VERSION_ERROR
1689
+ #define SSL_R_WRONG_VERSION_NUMBER VERSION_ERROR
1690
+ #define SSL_R_DECRYPTION_FAILED_OR_BAD_RECORD_MAC ENCRYPT_ERROR
1691
+ #define SSL_R_HTTPS_PROXY_REQUEST PARSE_ERROR
1692
+ #define SSL_R_HTTP_REQUEST PARSE_ERROR
1693
+ #define SSL_R_UNSUPPORTED_PROTOCOL VERSION_ERROR
1694
+ #define SSL_R_CERTIFICATE_VERIFY_FAILED VERIFY_CERT_ERROR
1695
+ #define SSL_R_CERT_CB_ERROR CLIENT_CERT_CB_ERROR
1696
+ #define SSL_R_NULL_SSL_METHOD_PASSED BAD_FUNC_ARG
1697
+ #define SSL_R_CCS_RECEIVED_EARLY OUT_OF_ORDER_E
1698
+
1699
+ #ifdef HAVE_SESSION_TICKET
1700
+ #define SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB 72
1701
+ #endif
1702
+
1703
+ /* Some openssl consumers try to detect these options with ifdef, defining
1704
+ * here since we use an enum internally instead */
1705
+ #define SSL_OP_SINGLE_DH_USE WOLFSSL_OP_SINGLE_DH_USE
1706
+ #define SSL_OP_SINGLE_ECDH_USE WOLFSSL_OP_SINGLE_ECDH_USE
1707
+ #define SSL_OP_CIPHER_SERVER_PREFERENCE WOLFSSL_OP_CIPHER_SERVER_PREFERENCE
1708
+ #define SSL_OP_NO_RENEGOTIATION WOLFSSL_OP_NO_RENEGOTIATION
1709
+
1710
+ #define OPENSSL_config wolfSSL_OPENSSL_config
1711
+ #define OPENSSL_memdup wolfSSL_OPENSSL_memdup
1712
+ #define OPENSSL_cleanse wolfSSL_OPENSSL_cleanse
1713
+ #define SSL_CTX_get_timeout wolfSSL_SSL_CTX_get_timeout
1714
+ #define SSL_CTX_set_tmp_ecdh wolfSSL_SSL_CTX_set_tmp_ecdh
1715
+ #define SSL_CTX_remove_session wolfSSL_SSL_CTX_remove_session
1716
+ #define SSL_get_rbio wolfSSL_SSL_get_rbio
1717
+ #define SSL_get_wbio wolfSSL_SSL_get_wbio
1718
+ #define SSL_do_handshake wolfSSL_SSL_do_handshake
1719
+ #define SSL_in_init wolfSSL_SSL_in_init
1720
+ #define SSL_in_before wolfSSL_SSL_in_before
1721
+ #define SSL_in_connect_init wolfSSL_SSL_in_connect_init
1722
+ #define SSL_get0_session wolfSSL_SSL_get0_session
1723
+ #define SSL_CTX_set_tlsext_ticket_key_cb wolfSSL_CTX_set_tlsext_ticket_key_cb
1724
+ #define SSL_CTX_get_extra_chain_certs wolfSSL_CTX_get_extra_chain_certs
1725
+ #define SSL_CTX_get0_chain_certs wolfSSL_CTX_get0_chain_certs
1726
+ #define SSL_get0_chain_certs wolfSSL_get0_chain_certs
1727
+ #define sk_OPENSSL_STRING_num wolfSSL_sk_WOLFSSL_STRING_num
1728
+ #define sk_OPENSSL_STRING_value wolfSSL_sk_WOLFSSL_STRING_value
1729
+ #define sk_OPENSSL_PSTRING_num wolfSSL_sk_WOLFSSL_STRING_num
1730
+ #define sk_OPENSSL_PSTRING_value (WOLFSSL_STRING*)wolfSSL_sk_WOLFSSL_STRING_value
1731
+ #define sk_OPENSSL_STRING_free wolfSSL_sk_free
1732
+ #define SSL_get0_alpn_selected wolfSSL_get0_alpn_selected
1733
+ #define SSL_select_next_proto wolfSSL_select_next_proto
1734
+ #define SSL_CTX_set_alpn_select_cb wolfSSL_CTX_set_alpn_select_cb
1735
+ #define SSL_CTX_set_next_protos_advertised_cb wolfSSL_CTX_set_next_protos_advertised_cb
1736
+ #define SSL_CTX_set_next_proto_select_cb wolfSSL_CTX_set_next_proto_select_cb
1737
+ #define SSL_set_alpn_protos wolfSSL_set_alpn_protos
1738
+ #define SSL_get0_next_proto_negotiated wolfSSL_get0_next_proto_negotiated
1739
+ #define SSL_is_server wolfSSL_is_server
1740
+
1741
+ #endif /* WOLFSSL_NGINX || WOLFSSL_HAPROXY || WOLFSSL_MYSQL_COMPATIBLE ||
1742
+ OPENSSL_ALL || HAVE_LIGHTY */
1743
+
1744
+ #if (defined(OPENSSL_EXTRA) || defined(HAVE_CURL)) && defined(HAVE_ECC)
1745
+ #define SSL_CTX_set1_curves_list wolfSSL_CTX_set1_curves_list
1746
+ #define SSL_set1_curves_list wolfSSL_set1_curves_list
1747
+ #endif
1748
+
1749
+ #ifdef OPENSSL_EXTRA
1750
+ #define SSL_CTX_add_client_CA wolfSSL_CTX_add_client_CA
1751
+ #define SSL_add_client_CA wolfSSL_add_client_CA
1752
+ #define SSL_CTX_add1_to_CA_list wolfSSL_CTX_add1_to_CA_list
1753
+ #define SSL_add1_to_CA_list wolfSSL_add1_to_CA_list
1754
+ #define SSL_CTX_set_srp_password wolfSSL_CTX_set_srp_password
1755
+ #define SSL_CTX_set_srp_username wolfSSL_CTX_set_srp_username
1756
+ #define SSL_CTX_set_srp_strength wolfSSL_CTX_set_srp_strength
1757
+ #define SSL_get_SSL_CTX wolfSSL_get_SSL_CTX
1758
+ #define SSL_get0_param wolfSSL_get0_param
1759
+ #define SSL_CTX_get0_param wolfSSL_CTX_get0_param
1760
+ #define SSL_CTX_set1_param wolfSSL_CTX_set1_param
1761
+ #define SSL_get_srp_username wolfSSL_get_srp_username
1762
+
1763
+ #define ERR_NUM_ERRORS 16
1764
+ #define SN_pkcs9_emailAddress "Email"
1765
+ #define LN_pkcs9_emailAddress "emailAddress"
1766
+ #define NID_pkcs9_emailAddress WC_NID_pkcs9_emailAddress
1767
+ #define OBJ_pkcs9_emailAddress 1L,2L,840L,113539L,1L,9L,1L
1768
+
1769
+ #define LN_basic_constraints "X509v3 Basic Constraints"
1770
+ #define LN_key_usage "X509v3 Key Usage"
1771
+ #define LN_subject_key_identifier "X509v3 Subject Key Identifier"
1772
+ #define LN_ext_key_usage "X509v3 Extended Key Usage"
1773
+
1774
+ #define SSL_get_rbio wolfSSL_SSL_get_rbio
1775
+ #define SSL_get_wbio wolfSSL_SSL_get_wbio
1776
+ #define SSL_do_handshake wolfSSL_SSL_do_handshake
1777
+
1778
+ #if defined(WOLFSSL_EARLY_DATA)
1779
+ #define SSL_EARLY_DATA_NOT_SENT WOLFSSL_EARLY_DATA_NOT_SENT
1780
+ #define SSL_EARLY_DATA_REJECTED WOLFSSL_EARLY_DATA_REJECTED
1781
+ #define SSL_EARLY_DATA_ACCEPTED WOLFSSL_EARLY_DATA_ACCEPTED
1782
+
1783
+ #define SSL_get_early_data_status wolfSSL_get_early_data_status
1784
+ #define SSL_set_max_early_data wolfSSL_set_max_early_data
1785
+ #define SSL_get_max_early_data wolfSSL_get_max_early_data
1786
+ #define SSL_CTX_set_max_early_data wolfSSL_CTX_set_max_early_data
1787
+ #define SSL_CTX_get_max_early_data wolfSSL_CTX_get_max_early_data
1788
+ #endif
1789
+
1790
+ #endif /* OPENSSL_EXTRA */
1791
+
1792
+ /* cipher suites for compatibility */
1793
+ #define TLS1_CK_ECDHE_RSA_WITH_AES_128_CBC_SHA (0xc013)
1794
+ #define TLS1_CK_ECDHE_RSA_WITH_AES_256_CBC_SHA (0xc014)
1795
+ #define TLS1_CK_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (0xc02f)
1796
+ #define TLS1_CK_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 (0xcca8)
1797
+ #define TLS1_CK_ECDHE_ECDSA_WITH_AES_128_CBC_SHA (0xc009)
1798
+ #define TLS1_CK_ECDHE_ECDSA_WITH_AES_256_CBC_SHA (0xc00a)
1799
+ #define TLS1_CK_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 (0xc02b)
1800
+ #define TLS1_CK_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 (0xcca9)
1801
+
1802
+ #define X509_LU_NONE WOLFSSL_X509_LU_NONE
1803
+ #define X509_LU_X509 WOLFSSL_X509_LU_X509
1804
+ #define X509_LU_CRL WOLFSSL_X509_LU_CRL
1805
+
1806
+ #define X509_STORE_get0_objects wolfSSL_X509_STORE_get0_objects
1807
+ #define sk_X509_OBJECT_num wolfSSL_sk_X509_OBJECT_num
1808
+ #define sk_X509_OBJECT_value wolfSSL_sk_X509_OBJECT_value
1809
+ #define sk_X509_OBJECT_delete wolfSSL_sk_X509_OBJECT_delete
1810
+ #define X509_OBJECT_new wolfSSL_X509_OBJECT_new
1811
+ #define X509_OBJECT_free wolfSSL_X509_OBJECT_free
1812
+ #define X509_OBJECT_get_type wolfSSL_X509_OBJECT_get_type
1813
+ #if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10100000L
1814
+ #define OpenSSL_version(x) wolfSSL_OpenSSL_version(x)
1815
+ #else
1816
+ #define OpenSSL_version(x) wolfSSL_OpenSSL_version()
1817
+ #endif
1818
+
1819
+ #define X509_OBJECT_retrieve_by_subject wolfSSL_X509_OBJECT_retrieve_by_subject
1820
+
1821
+ #ifndef NO_WOLFSSL_STUB
1822
+ #define OBJ_create_objects(in) WC_DO_NOTHING
1823
+ #define sk_SSL_COMP_free(sk) WC_DO_NOTHING
1824
+ #endif
1825
+
1826
+ #define ASN1_OBJECT_new wolfSSL_ASN1_OBJECT_new
1827
+ #define ASN1_OBJECT_free wolfSSL_ASN1_OBJECT_free
1828
+ #define i2d_ASN1_OBJECT wolfSSL_i2d_ASN1_OBJECT
1829
+ #define OBJ_dup wolfSSL_ASN1_OBJECT_dup
1830
+
1831
+ #define SSL_set_psk_use_session_callback wolfSSL_set_psk_use_session_callback
1832
+ #define SSL_SESSION_is_resumable wolfSSL_SESSION_is_resumable
1833
+ typedef WOLFSSL_CONF_CTX SSL_CONF_CTX;
1834
+
1835
+ #define SSL_CONF_CTX_new wolfSSL_CONF_CTX_new
1836
+ #define SSL_CONF_CTX_free wolfSSL_CONF_CTX_free
1837
+ #define SSL_CONF_CTX_set_ssl_ctx wolfSSL_CONF_CTX_set_ssl_ctx
1838
+ #define SSL_CONF_CTX_set_flags wolfSSL_CONF_CTX_set_flags
1839
+ #define SSL_CONF_CTX_finish wolfSSL_CONF_CTX_finish
1840
+ #define SSL_CONF_cmd wolfSSL_CONF_cmd
1841
+ #define SSL_CONF_cmd_value_type wolfSSL_CONF_cmd_value_type
1842
+
1843
+ #define SSL_OP_LEGACY_SERVER_CONNECT 0
1844
+
1845
+ #endif /* !OPENSSL_COEXIST && (OPENSSL_EXTRA || OPENSSL_EXTRA_X509_SMALL) */
1846
+
1847
+
1848
+ #ifdef WOLFSSL_QUIC
1849
+
1850
+ #include <wolfssl/quic.h>
1851
+
1852
+ /* Used by Chromium/QUIC - according to quictls/openssl fork */
1853
+ #define X25519_PRIVATE_KEY_LEN 32
1854
+ #define X25519_PUBLIC_VALUE_LEN 32
1855
+
1856
+ /* TLSv1.3 cipher ids as defined in RFC 8446, returned by
1857
+ * SSL_CIPHER_get_id(cipher)
1858
+ * used by QUIC implementations, such as HAProxy
1859
+ */
1860
+ #define WOLF_TLS1_3_CK_AES_128_GCM_SHA256 0x1301
1861
+ #define WOLF_TLS1_3_CK_AES_256_GCM_SHA384 0x1302
1862
+ #define WOLF_TLS1_3_CK_CHACHA20_POLY1305_SHA256 0x1303
1863
+ #define WOLF_TLS1_3_CK_AES_128_CCM_SHA256 0x1304
1864
+ #define WOLF_TLS1_3_CK_AES_128_CCM_8_SHA256 0x1305
1865
+
1866
+ #ifndef OPENSSL_COEXIST
1867
+
1868
+ #define TLS1_3_CK_AES_128_GCM_SHA256 WOLF_TLS1_3_CK_AES_128_GCM_SHA256
1869
+ #define TLS1_3_CK_AES_256_GCM_SHA384 WOLF_TLS1_3_CK_AES_256_GCM_SHA384
1870
+ #define TLS1_3_CK_CHACHA20_POLY1305_SHA256 WOLF_TLS1_3_CK_CHACHA20_POLY1305_SHA256
1871
+ #define TLS1_3_CK_AES_128_CCM_SHA256 WOLF_TLS1_3_CK_AES_128_CCM_SHA256
1872
+ #define TLS1_3_CK_AES_128_CCM_8_SHA256 WOLF_TLS1_3_CK_AES_128_CCM_8_SHA256
1873
+
1874
+ #define SSL_R_MISSING_QUIC_TRANSPORT_PARAMETERS_EXTENSION QUIC_TP_MISSING_E
1875
+ #define SSL_R_WRONG_ENCRYPTION_LEVEL_RECEIVED QUIC_WRONG_ENC_LEVEL
1876
+
1877
+ #define ssl_quic_method_st wolfssl_quic_method_t
1878
+ typedef WOLFSSL_QUIC_METHOD SSL_QUIC_METHOD;
1879
+
1880
+ #define ssl_encryption_level_t wolfssl_encryption_level_t
1881
+ typedef WOLFSSL_ENCRYPTION_LEVEL OSSL_ENCRYPTION_LEVEL;
1882
+ #define ssl_encryption_initial wolfssl_encryption_initial
1883
+ #define ssl_encryption_early_data wolfssl_encryption_early_data
1884
+ #define ssl_encryption_handshake wolfssl_encryption_handshake
1885
+ #define ssl_encryption_application wolfssl_encryption_application
1886
+
1887
+ #define SSL_CTX_set_quic_method wolfSSL_CTX_set_quic_method
1888
+ #define SSL_set_quic_method wolfSSL_set_quic_method
1889
+
1890
+ #define SSL_set_quic_transport_params wolfSSL_set_quic_transport_params
1891
+ #define SSL_get_peer_quic_transport_params wolfSSL_get_peer_quic_transport_params
1892
+
1893
+ #define SSL_quic_max_handshake_flight_len wolfSSL_quic_max_handshake_flight_len
1894
+ #define SSL_quic_read_level wolfSSL_quic_read_level
1895
+ #define SSL_quic_write_level wolfSSL_quic_write_level
1896
+ #define SSL_provide_quic_data wolfSSL_provide_quic_data
1897
+ #define SSL_process_quic_post_handshake wolfSSL_process_quic_post_handshake
1898
+
1899
+ #define SSL_is_quic wolfSSL_is_quic
1900
+
1901
+ #define SSL_set_quic_transport_version wolfSSL_set_quic_transport_version
1902
+ #define SSL_get_quic_transport_version wolfSSL_get_quic_transport_version
1903
+ #define SSL_get_peer_quic_transport_version wolfSSL_get_peer_quic_transport_version
1904
+
1905
+ #define SSL_set_quic_early_data_enabled wolfSSL_set_quic_early_data_enabled
1906
+
1907
+ /* BoringSSL API - according to quictls/openssl fork */
1908
+ #define SSL_set_quic_use_legacy_codepoint wolfSSL_set_quic_use_legacy_codepoint
1909
+
1910
+ /* TODO: we do not have this in our QUIC api and HAProxy does not use it
1911
+ int SSL_CIPHER_get_prf_nid(const SSL_CIPHER *c);
1912
+ */
1913
+
1914
+ #endif /* !OPENSSL_COEXIST */
1915
+
1916
+ #endif /* WOLFSSL_QUIC */
1917
+
1918
+
1919
+ #ifdef __cplusplus
1920
+ } /* extern "C" */
1921
+ #endif
1922
+
1923
+ #endif /* !WOLFSSL_OPENSSL_H_ */