@annadata/capacitor-mqtt-quic 0.2.1 → 0.2.4

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 (634) hide show
  1. package/android/src/main/cpp/ngtcp2_jni.cpp +14 -0
  2. package/android/src/main/kotlin/ai/annadata/mqttquic/MqttQuicPlugin.kt +4 -1
  3. package/android/src/main/kotlin/ai/annadata/mqttquic/client/MQTTClient.kt +26 -21
  4. package/dist/esm/web.d.ts +39 -5
  5. package/dist/esm/web.d.ts.map +1 -1
  6. package/dist/esm/web.js +428 -142
  7. package/dist/esm/web.js.map +1 -1
  8. package/dist/esm/webMqttCodec.d.ts +115 -0
  9. package/dist/esm/webMqttCodec.d.ts.map +1 -0
  10. package/dist/esm/webMqttCodec.js +410 -0
  11. package/dist/esm/webMqttCodec.js.map +1 -0
  12. package/dist/plugin.cjs.js +830 -11272
  13. package/dist/plugin.cjs.js.map +1 -1
  14. package/dist/plugin.js +830 -11272
  15. package/dist/plugin.js.map +1 -1
  16. package/ios/Sources/MqttQuicPlugin/Client/MQTTClient.swift +37 -31
  17. package/ios/Sources/MqttQuicPlugin/MqttQuicPlugin.swift +1 -1
  18. package/ios/libs/libnghttp3.a +0 -0
  19. package/ios/libs/libngtcp2.a +0 -0
  20. package/ios/libs/libngtcp2_crypto_wolfssl.a +0 -0
  21. package/ios/libs/libwolfssl.a +0 -0
  22. package/ios/libs-simulator/libnghttp3.a +0 -0
  23. package/ios/libs-simulator/libngtcp2.a +0 -0
  24. package/ios/libs-simulator/libngtcp2_crypto_wolfssl.a +0 -0
  25. package/ios/libs-simulator/libwolfssl.a +0 -0
  26. package/ios/libs-simulator-x86_64/libnghttp3.a +0 -0
  27. package/ios/libs-simulator-x86_64/libngtcp2.a +0 -0
  28. package/ios/libs-simulator-x86_64/libngtcp2_crypto_wolfssl.a +0 -0
  29. package/ios/libs-simulator-x86_64/libwolfssl.a +0 -0
  30. package/package.json +2 -3
  31. package/android/install/nghttp3-android/arm64-v8a/include/nghttp3/nghttp3.h +0 -3295
  32. package/android/install/nghttp3-android/arm64-v8a/include/nghttp3/version.h +0 -46
  33. package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3Config.cmake +0 -3
  34. package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3ConfigVersion.cmake +0 -65
  35. package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3Targets-release.cmake +0 -29
  36. package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3Targets.cmake +0 -114
  37. package/android/install/nghttp3-android/arm64-v8a/lib/libnghttp3.a +0 -0
  38. package/android/install/nghttp3-android/arm64-v8a/lib/libnghttp3.so +0 -0
  39. package/android/install/nghttp3-android/arm64-v8a/lib/pkgconfig/libnghttp3.pc +0 -34
  40. package/android/install/nghttp3-android/arm64-v8a/share/doc/nghttp3/README.rst +0 -75
  41. package/android/install/nghttp3-android/armeabi-v7a/include/nghttp3/nghttp3.h +0 -3295
  42. package/android/install/nghttp3-android/armeabi-v7a/include/nghttp3/version.h +0 -46
  43. package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3Config.cmake +0 -3
  44. package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3ConfigVersion.cmake +0 -65
  45. package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3Targets-release.cmake +0 -29
  46. package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3Targets.cmake +0 -114
  47. package/android/install/nghttp3-android/armeabi-v7a/lib/libnghttp3.a +0 -0
  48. package/android/install/nghttp3-android/armeabi-v7a/lib/libnghttp3.so +0 -0
  49. package/android/install/nghttp3-android/armeabi-v7a/lib/pkgconfig/libnghttp3.pc +0 -34
  50. package/android/install/nghttp3-android/armeabi-v7a/share/doc/nghttp3/README.rst +0 -75
  51. package/android/install/nghttp3-android/x86_64/include/nghttp3/nghttp3.h +0 -3295
  52. package/android/install/nghttp3-android/x86_64/include/nghttp3/version.h +0 -46
  53. package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3Config.cmake +0 -3
  54. package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3ConfigVersion.cmake +0 -65
  55. package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3Targets-release.cmake +0 -29
  56. package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3Targets.cmake +0 -114
  57. package/android/install/nghttp3-android/x86_64/lib/libnghttp3.a +0 -0
  58. package/android/install/nghttp3-android/x86_64/lib/libnghttp3.so +0 -0
  59. package/android/install/nghttp3-android/x86_64/lib/pkgconfig/libnghttp3.pc +0 -34
  60. package/android/install/nghttp3-android/x86_64/share/doc/nghttp3/README.rst +0 -75
  61. package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/ngtcp2.h +0 -6254
  62. package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/ngtcp2_crypto.h +0 -1037
  63. package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/ngtcp2_crypto_wolfssl.h +0 -106
  64. package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/version.h +0 -51
  65. package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2Config.cmake +0 -6
  66. package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2ConfigVersion.cmake +0 -65
  67. package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2Targets-release.cmake +0 -29
  68. package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2Targets.cmake +0 -114
  69. package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2.a +0 -0
  70. package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2.so +0 -0
  71. package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2_crypto_wolfssl.a +0 -0
  72. package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2_crypto_wolfssl.so +0 -0
  73. package/android/install/ngtcp2-android/arm64-v8a/lib/pkgconfig/libngtcp2.pc +0 -33
  74. package/android/install/ngtcp2-android/arm64-v8a/lib/pkgconfig/libngtcp2_crypto_wolfssl.pc +0 -34
  75. package/android/install/ngtcp2-android/arm64-v8a/share/doc/ngtcp2/README.rst +0 -385
  76. package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/ngtcp2.h +0 -6254
  77. package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/ngtcp2_crypto.h +0 -1037
  78. package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/ngtcp2_crypto_wolfssl.h +0 -106
  79. package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/version.h +0 -51
  80. package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2Config.cmake +0 -6
  81. package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2ConfigVersion.cmake +0 -65
  82. package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2Targets-release.cmake +0 -29
  83. package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2Targets.cmake +0 -114
  84. package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2.a +0 -0
  85. package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2.so +0 -0
  86. package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2_crypto_wolfssl.a +0 -0
  87. package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2_crypto_wolfssl.so +0 -0
  88. package/android/install/ngtcp2-android/armeabi-v7a/lib/pkgconfig/libngtcp2.pc +0 -33
  89. package/android/install/ngtcp2-android/armeabi-v7a/lib/pkgconfig/libngtcp2_crypto_wolfssl.pc +0 -34
  90. package/android/install/ngtcp2-android/armeabi-v7a/share/doc/ngtcp2/README.rst +0 -385
  91. package/android/install/ngtcp2-android/x86_64/include/ngtcp2/ngtcp2.h +0 -6254
  92. package/android/install/ngtcp2-android/x86_64/include/ngtcp2/ngtcp2_crypto.h +0 -1037
  93. package/android/install/ngtcp2-android/x86_64/include/ngtcp2/ngtcp2_crypto_wolfssl.h +0 -106
  94. package/android/install/ngtcp2-android/x86_64/include/ngtcp2/version.h +0 -51
  95. package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2Config.cmake +0 -6
  96. package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2ConfigVersion.cmake +0 -65
  97. package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2Targets-release.cmake +0 -29
  98. package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2Targets.cmake +0 -114
  99. package/android/install/ngtcp2-android/x86_64/lib/libngtcp2.a +0 -0
  100. package/android/install/ngtcp2-android/x86_64/lib/libngtcp2.so +0 -0
  101. package/android/install/ngtcp2-android/x86_64/lib/libngtcp2_crypto_wolfssl.a +0 -0
  102. package/android/install/ngtcp2-android/x86_64/lib/libngtcp2_crypto_wolfssl.so +0 -0
  103. package/android/install/ngtcp2-android/x86_64/lib/pkgconfig/libngtcp2.pc +0 -33
  104. package/android/install/ngtcp2-android/x86_64/lib/pkgconfig/libngtcp2_crypto_wolfssl.pc +0 -34
  105. package/android/install/ngtcp2-android/x86_64/share/doc/ngtcp2/README.rst +0 -385
  106. package/android/install/wolfssl-android/arm64-v8a/bin/wolfssl-config +0 -117
  107. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/callbacks.h +0 -93
  108. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/certs_test.h +0 -7073
  109. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/certs_test_sm.h +0 -2913
  110. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/crl.h +0 -58
  111. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/error-ssl.h +0 -280
  112. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/ocsp.h +0 -191
  113. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/aes.h +0 -117
  114. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/asn1.h +0 -315
  115. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/asn1t.h +0 -30
  116. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/bio.h +0 -237
  117. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/bn.h +0 -332
  118. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/buffer.h +0 -57
  119. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/camellia.h +0 -27
  120. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/cmac.h +0 -66
  121. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/cms.h +0 -26
  122. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/compat_types.h +0 -70
  123. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/conf.h +0 -117
  124. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/crypto.h +0 -171
  125. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/des.h +0 -124
  126. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/dh.h +0 -144
  127. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/dsa.h +0 -164
  128. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ec.h +0 -525
  129. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ec25519.h +0 -46
  130. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ec448.h +0 -46
  131. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ecdh.h +0 -49
  132. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ecdsa.h +0 -87
  133. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ed25519.h +0 -49
  134. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ed448.h +0 -49
  135. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/engine.h +0 -9
  136. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/err.h +0 -84
  137. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/evp.h +0 -1540
  138. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/fips_rand.h +0 -125
  139. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/hmac.h +0 -98
  140. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/kdf.h +0 -45
  141. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/lhash.h +0 -64
  142. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/md4.h +0 -66
  143. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/md5.h +0 -108
  144. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/modes.h +0 -45
  145. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/obj_mac.h +0 -92
  146. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/objects.h +0 -86
  147. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ocsp.h +0 -108
  148. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/opensslconf.h +0 -8
  149. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/opensslv.h +0 -78
  150. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ossl_typ.h +0 -32
  151. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/pem.h +0 -301
  152. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/pkcs12.h +0 -57
  153. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/pkcs7.h +0 -110
  154. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/rand.h +0 -38
  155. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/rc4.h +0 -64
  156. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ripemd.h +0 -58
  157. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/rsa.h +0 -291
  158. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/safestack.h +0 -40
  159. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/sha.h +0 -331
  160. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/sha3.h +0 -158
  161. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/srp.h +0 -33
  162. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ssl.h +0 -1923
  163. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ssl23.h +0 -1
  164. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/stack.h +0 -61
  165. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/tls1.h +0 -64
  166. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/txt_db.h +0 -60
  167. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ui.h +0 -2
  168. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/x509.h +0 -227
  169. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/x509_vfy.h +0 -50
  170. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/x509v3.h +0 -237
  171. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/options.h +0 -273
  172. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/quic.h +0 -310
  173. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/sniffer.h +0 -359
  174. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/sniffer_error.h +0 -151
  175. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/ssl.h +0 -6300
  176. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/test.h +0 -4989
  177. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/version.h +0 -40
  178. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/aes.h +0 -1074
  179. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/arc4.h +0 -69
  180. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ascon.h +0 -109
  181. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/asn.h +0 -2855
  182. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/asn_public.h +0 -1009
  183. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/blake2-impl.h +0 -155
  184. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/blake2-int.h +0 -174
  185. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/blake2.h +0 -108
  186. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/camellia.h +0 -116
  187. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/chacha.h +0 -133
  188. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/chacha20_poly1305.h +0 -157
  189. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/cmac.h +0 -168
  190. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/coding.h +0 -107
  191. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/compress.h +0 -60
  192. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/cpuid.h +0 -153
  193. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/cryptocb.h +0 -770
  194. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/curve25519.h +0 -225
  195. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/curve448.h +0 -151
  196. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/des3.h +0 -167
  197. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/dh.h +0 -210
  198. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/dilithium.h +0 -1051
  199. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/dsa.h +0 -121
  200. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ecc.h +0 -1074
  201. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/eccsi.h +0 -176
  202. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ed25519.h +0 -239
  203. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ed448.h +0 -214
  204. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/error-crypt.h +0 -368
  205. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ext_lms.h +0 -62
  206. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ext_mlkem.h +0 -74
  207. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ext_xmss.h +0 -53
  208. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/falcon.h +0 -180
  209. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/fe_448.h +0 -122
  210. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/fe_operations.h +0 -189
  211. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/fips_test.h +0 -131
  212. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ge_448.h +0 -84
  213. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ge_operations.h +0 -134
  214. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/hash.h +0 -296
  215. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/hmac.h +0 -231
  216. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/hpke.h +0 -145
  217. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/integer.h +0 -449
  218. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/kdf.h +0 -199
  219. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/lms.h +0 -202
  220. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/logging.h +0 -588
  221. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/md2.h +0 -83
  222. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/md4.h +0 -77
  223. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/md5.h +0 -141
  224. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mem_track.h +0 -968
  225. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/memory.h +0 -545
  226. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/misc.h +0 -214
  227. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mlkem.h +0 -377
  228. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mpi_class.h +0 -1021
  229. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mpi_superclass.h +0 -96
  230. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/oid_sum.h +0 -1907
  231. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/pkcs12.h +0 -79
  232. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/pkcs7.h +0 -578
  233. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/poly1305.h +0 -207
  234. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/pwdbased.h +0 -81
  235. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/random.h +0 -300
  236. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/rc2.h +0 -68
  237. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ripemd.h +0 -67
  238. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/rsa.h +0 -494
  239. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sakke.h +0 -228
  240. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/settings.h +0 -4762
  241. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha.h +0 -237
  242. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha256.h +0 -360
  243. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha3.h +0 -274
  244. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha512.h +0 -372
  245. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/signature.h +0 -87
  246. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/siphash.h +0 -101
  247. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sm2.h +0 -27
  248. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sm3.h +0 -27
  249. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sm4.h +0 -27
  250. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sp_int.h +0 -1396
  251. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sphincs.h +0 -167
  252. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/srp.h +0 -313
  253. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/tfm.h +0 -941
  254. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/types.h +0 -2383
  255. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/visibility.h +0 -97
  256. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_encrypt.h +0 -126
  257. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_lms.h +0 -506
  258. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_mlkem.h +0 -370
  259. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_port.h +0 -1764
  260. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_xmss.h +0 -285
  261. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wolfevent.h +0 -120
  262. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wolfmath.h +0 -175
  263. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/xmss.h +0 -203
  264. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfio.h +0 -1035
  265. package/android/install/wolfssl-android/arm64-v8a/lib/libwolfssl.a +0 -0
  266. package/android/install/wolfssl-android/arm64-v8a/lib/libwolfssl.la +0 -41
  267. package/android/install/wolfssl-android/arm64-v8a/lib/pkgconfig/wolfssl.pc +0 -11
  268. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/QUIC.md +0 -117
  269. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/README.txt +0 -8
  270. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/async_client.c +0 -245
  271. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/async_server.c +0 -331
  272. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/client.c +0 -4885
  273. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/echoclient.c +0 -341
  274. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/echoserver.c +0 -498
  275. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-client-dtls.c +0 -135
  276. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-client.c +0 -78
  277. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-server-dtls.c +0 -134
  278. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-server.c +0 -83
  279. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/server.c +0 -4124
  280. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/tls_bench.c +0 -2357
  281. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/taoCert.txt +0 -176
  282. package/android/install/wolfssl-android/armeabi-v7a/bin/wolfssl-config +0 -117
  283. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/callbacks.h +0 -93
  284. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/certs_test.h +0 -7073
  285. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/certs_test_sm.h +0 -2913
  286. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/crl.h +0 -58
  287. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/error-ssl.h +0 -280
  288. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/ocsp.h +0 -191
  289. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/aes.h +0 -117
  290. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/asn1.h +0 -315
  291. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/asn1t.h +0 -30
  292. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/bio.h +0 -237
  293. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/bn.h +0 -332
  294. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/buffer.h +0 -57
  295. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/camellia.h +0 -27
  296. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/cmac.h +0 -66
  297. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/cms.h +0 -26
  298. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/compat_types.h +0 -70
  299. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/conf.h +0 -117
  300. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/crypto.h +0 -171
  301. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/des.h +0 -124
  302. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/dh.h +0 -144
  303. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/dsa.h +0 -164
  304. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ec.h +0 -525
  305. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ec25519.h +0 -46
  306. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ec448.h +0 -46
  307. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ecdh.h +0 -49
  308. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ecdsa.h +0 -87
  309. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ed25519.h +0 -49
  310. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ed448.h +0 -49
  311. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/engine.h +0 -9
  312. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/err.h +0 -84
  313. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/evp.h +0 -1540
  314. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/fips_rand.h +0 -125
  315. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/hmac.h +0 -98
  316. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/kdf.h +0 -45
  317. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/lhash.h +0 -64
  318. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/md4.h +0 -66
  319. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/md5.h +0 -108
  320. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/modes.h +0 -45
  321. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/obj_mac.h +0 -92
  322. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/objects.h +0 -86
  323. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ocsp.h +0 -108
  324. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/opensslconf.h +0 -8
  325. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/opensslv.h +0 -78
  326. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ossl_typ.h +0 -32
  327. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/pem.h +0 -301
  328. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/pkcs12.h +0 -57
  329. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/pkcs7.h +0 -110
  330. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/rand.h +0 -38
  331. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/rc4.h +0 -64
  332. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ripemd.h +0 -58
  333. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/rsa.h +0 -291
  334. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/safestack.h +0 -40
  335. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/sha.h +0 -331
  336. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/sha3.h +0 -158
  337. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/srp.h +0 -33
  338. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ssl.h +0 -1923
  339. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ssl23.h +0 -1
  340. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/stack.h +0 -61
  341. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/tls1.h +0 -64
  342. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/txt_db.h +0 -60
  343. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ui.h +0 -2
  344. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/x509.h +0 -227
  345. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/x509_vfy.h +0 -50
  346. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/x509v3.h +0 -237
  347. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/options.h +0 -261
  348. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/quic.h +0 -310
  349. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/sniffer.h +0 -359
  350. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/sniffer_error.h +0 -151
  351. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/ssl.h +0 -6300
  352. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/test.h +0 -4989
  353. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/version.h +0 -40
  354. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/aes.h +0 -1074
  355. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/arc4.h +0 -69
  356. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ascon.h +0 -109
  357. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/asn.h +0 -2855
  358. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/asn_public.h +0 -1009
  359. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/blake2-impl.h +0 -155
  360. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/blake2-int.h +0 -174
  361. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/blake2.h +0 -108
  362. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/camellia.h +0 -116
  363. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/chacha.h +0 -133
  364. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/chacha20_poly1305.h +0 -157
  365. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/cmac.h +0 -168
  366. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/coding.h +0 -107
  367. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/compress.h +0 -60
  368. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/cpuid.h +0 -153
  369. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/cryptocb.h +0 -770
  370. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/curve25519.h +0 -225
  371. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/curve448.h +0 -151
  372. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/des3.h +0 -167
  373. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/dh.h +0 -210
  374. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/dilithium.h +0 -1051
  375. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/dsa.h +0 -121
  376. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ecc.h +0 -1074
  377. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/eccsi.h +0 -176
  378. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ed25519.h +0 -239
  379. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ed448.h +0 -214
  380. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/error-crypt.h +0 -368
  381. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ext_lms.h +0 -62
  382. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ext_mlkem.h +0 -74
  383. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ext_xmss.h +0 -53
  384. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/falcon.h +0 -180
  385. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/fe_448.h +0 -122
  386. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/fe_operations.h +0 -189
  387. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/fips_test.h +0 -131
  388. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ge_448.h +0 -84
  389. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ge_operations.h +0 -134
  390. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/hash.h +0 -296
  391. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/hmac.h +0 -231
  392. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/hpke.h +0 -145
  393. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/integer.h +0 -449
  394. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/kdf.h +0 -199
  395. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/lms.h +0 -202
  396. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/logging.h +0 -588
  397. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/md2.h +0 -83
  398. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/md4.h +0 -77
  399. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/md5.h +0 -141
  400. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mem_track.h +0 -968
  401. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/memory.h +0 -545
  402. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/misc.h +0 -214
  403. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mlkem.h +0 -377
  404. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mpi_class.h +0 -1021
  405. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mpi_superclass.h +0 -96
  406. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/oid_sum.h +0 -1907
  407. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/pkcs12.h +0 -79
  408. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/pkcs7.h +0 -578
  409. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/poly1305.h +0 -207
  410. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/pwdbased.h +0 -81
  411. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/random.h +0 -300
  412. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/rc2.h +0 -68
  413. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ripemd.h +0 -67
  414. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/rsa.h +0 -494
  415. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sakke.h +0 -228
  416. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/settings.h +0 -4762
  417. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha.h +0 -237
  418. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha256.h +0 -360
  419. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha3.h +0 -274
  420. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha512.h +0 -372
  421. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/signature.h +0 -87
  422. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/siphash.h +0 -101
  423. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sm2.h +0 -27
  424. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sm3.h +0 -27
  425. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sm4.h +0 -27
  426. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sp_int.h +0 -1396
  427. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sphincs.h +0 -167
  428. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/srp.h +0 -313
  429. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/tfm.h +0 -941
  430. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/types.h +0 -2383
  431. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/visibility.h +0 -97
  432. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_encrypt.h +0 -126
  433. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_lms.h +0 -506
  434. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_mlkem.h +0 -370
  435. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_port.h +0 -1764
  436. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_xmss.h +0 -285
  437. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wolfevent.h +0 -120
  438. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wolfmath.h +0 -175
  439. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/xmss.h +0 -203
  440. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfio.h +0 -1035
  441. package/android/install/wolfssl-android/armeabi-v7a/lib/libwolfssl.a +0 -0
  442. package/android/install/wolfssl-android/armeabi-v7a/lib/libwolfssl.la +0 -41
  443. package/android/install/wolfssl-android/armeabi-v7a/lib/pkgconfig/wolfssl.pc +0 -11
  444. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/QUIC.md +0 -117
  445. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/README.txt +0 -8
  446. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/async_client.c +0 -245
  447. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/async_server.c +0 -331
  448. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/client.c +0 -4885
  449. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/echoclient.c +0 -341
  450. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/echoserver.c +0 -498
  451. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-client-dtls.c +0 -135
  452. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-client.c +0 -78
  453. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-server-dtls.c +0 -134
  454. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-server.c +0 -83
  455. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/server.c +0 -4124
  456. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/tls_bench.c +0 -2357
  457. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/taoCert.txt +0 -176
  458. package/android/install/wolfssl-android/x86_64/bin/wolfssl-config +0 -117
  459. package/android/install/wolfssl-android/x86_64/include/wolfssl/callbacks.h +0 -93
  460. package/android/install/wolfssl-android/x86_64/include/wolfssl/certs_test.h +0 -7073
  461. package/android/install/wolfssl-android/x86_64/include/wolfssl/certs_test_sm.h +0 -2913
  462. package/android/install/wolfssl-android/x86_64/include/wolfssl/crl.h +0 -58
  463. package/android/install/wolfssl-android/x86_64/include/wolfssl/error-ssl.h +0 -280
  464. package/android/install/wolfssl-android/x86_64/include/wolfssl/ocsp.h +0 -191
  465. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/aes.h +0 -117
  466. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/asn1.h +0 -315
  467. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/asn1t.h +0 -30
  468. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/bio.h +0 -237
  469. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/bn.h +0 -332
  470. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/buffer.h +0 -57
  471. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/camellia.h +0 -27
  472. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/cmac.h +0 -66
  473. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/cms.h +0 -26
  474. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/compat_types.h +0 -70
  475. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/conf.h +0 -117
  476. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/crypto.h +0 -171
  477. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/des.h +0 -124
  478. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/dh.h +0 -144
  479. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/dsa.h +0 -164
  480. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ec.h +0 -525
  481. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ec25519.h +0 -46
  482. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ec448.h +0 -46
  483. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ecdh.h +0 -49
  484. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ecdsa.h +0 -87
  485. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ed25519.h +0 -49
  486. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ed448.h +0 -49
  487. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/engine.h +0 -9
  488. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/err.h +0 -84
  489. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/evp.h +0 -1540
  490. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/fips_rand.h +0 -125
  491. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/hmac.h +0 -98
  492. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/kdf.h +0 -45
  493. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/lhash.h +0 -64
  494. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/md4.h +0 -66
  495. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/md5.h +0 -108
  496. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/modes.h +0 -45
  497. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/obj_mac.h +0 -92
  498. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/objects.h +0 -86
  499. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ocsp.h +0 -108
  500. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/opensslconf.h +0 -8
  501. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/opensslv.h +0 -78
  502. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ossl_typ.h +0 -32
  503. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/pem.h +0 -301
  504. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/pkcs12.h +0 -57
  505. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/pkcs7.h +0 -110
  506. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/rand.h +0 -38
  507. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/rc4.h +0 -64
  508. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ripemd.h +0 -58
  509. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/rsa.h +0 -291
  510. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/safestack.h +0 -40
  511. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/sha.h +0 -331
  512. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/sha3.h +0 -158
  513. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/srp.h +0 -33
  514. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ssl.h +0 -1923
  515. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ssl23.h +0 -1
  516. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/stack.h +0 -61
  517. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/tls1.h +0 -64
  518. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/txt_db.h +0 -60
  519. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ui.h +0 -2
  520. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/x509.h +0 -227
  521. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/x509_vfy.h +0 -50
  522. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/x509v3.h +0 -237
  523. package/android/install/wolfssl-android/x86_64/include/wolfssl/options.h +0 -273
  524. package/android/install/wolfssl-android/x86_64/include/wolfssl/quic.h +0 -310
  525. package/android/install/wolfssl-android/x86_64/include/wolfssl/sniffer.h +0 -359
  526. package/android/install/wolfssl-android/x86_64/include/wolfssl/sniffer_error.h +0 -151
  527. package/android/install/wolfssl-android/x86_64/include/wolfssl/ssl.h +0 -6300
  528. package/android/install/wolfssl-android/x86_64/include/wolfssl/test.h +0 -4989
  529. package/android/install/wolfssl-android/x86_64/include/wolfssl/version.h +0 -40
  530. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/aes.h +0 -1074
  531. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/arc4.h +0 -69
  532. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ascon.h +0 -109
  533. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/asn.h +0 -2855
  534. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/asn_public.h +0 -1009
  535. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/blake2-impl.h +0 -155
  536. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/blake2-int.h +0 -174
  537. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/blake2.h +0 -108
  538. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/camellia.h +0 -116
  539. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/chacha.h +0 -133
  540. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/chacha20_poly1305.h +0 -157
  541. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/cmac.h +0 -168
  542. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/coding.h +0 -107
  543. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/compress.h +0 -60
  544. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/cpuid.h +0 -153
  545. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/cryptocb.h +0 -770
  546. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/curve25519.h +0 -225
  547. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/curve448.h +0 -151
  548. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/des3.h +0 -167
  549. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/dh.h +0 -210
  550. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/dilithium.h +0 -1051
  551. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/dsa.h +0 -121
  552. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ecc.h +0 -1074
  553. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/eccsi.h +0 -176
  554. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ed25519.h +0 -239
  555. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ed448.h +0 -214
  556. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/error-crypt.h +0 -368
  557. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ext_lms.h +0 -62
  558. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ext_mlkem.h +0 -74
  559. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ext_xmss.h +0 -53
  560. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/falcon.h +0 -180
  561. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/fe_448.h +0 -122
  562. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/fe_operations.h +0 -189
  563. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/fips_test.h +0 -131
  564. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ge_448.h +0 -84
  565. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ge_operations.h +0 -134
  566. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/hash.h +0 -296
  567. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/hmac.h +0 -231
  568. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/hpke.h +0 -145
  569. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/integer.h +0 -449
  570. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/kdf.h +0 -199
  571. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/lms.h +0 -202
  572. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/logging.h +0 -588
  573. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/md2.h +0 -83
  574. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/md4.h +0 -77
  575. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/md5.h +0 -141
  576. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mem_track.h +0 -968
  577. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/memory.h +0 -545
  578. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/misc.h +0 -214
  579. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mlkem.h +0 -377
  580. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mpi_class.h +0 -1021
  581. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mpi_superclass.h +0 -96
  582. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/oid_sum.h +0 -1907
  583. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/pkcs12.h +0 -79
  584. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/pkcs7.h +0 -578
  585. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/poly1305.h +0 -207
  586. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/pwdbased.h +0 -81
  587. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/random.h +0 -300
  588. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/rc2.h +0 -68
  589. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ripemd.h +0 -67
  590. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/rsa.h +0 -494
  591. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sakke.h +0 -228
  592. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/settings.h +0 -4762
  593. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha.h +0 -237
  594. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha256.h +0 -360
  595. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha3.h +0 -274
  596. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha512.h +0 -372
  597. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/signature.h +0 -87
  598. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/siphash.h +0 -101
  599. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sm2.h +0 -27
  600. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sm3.h +0 -27
  601. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sm4.h +0 -27
  602. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sp_int.h +0 -1396
  603. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sphincs.h +0 -167
  604. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/srp.h +0 -313
  605. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/tfm.h +0 -941
  606. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/types.h +0 -2383
  607. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/visibility.h +0 -97
  608. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_encrypt.h +0 -126
  609. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_lms.h +0 -506
  610. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_mlkem.h +0 -370
  611. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_port.h +0 -1764
  612. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_xmss.h +0 -285
  613. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wolfevent.h +0 -120
  614. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wolfmath.h +0 -175
  615. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/xmss.h +0 -203
  616. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfio.h +0 -1035
  617. package/android/install/wolfssl-android/x86_64/lib/libwolfssl.a +0 -0
  618. package/android/install/wolfssl-android/x86_64/lib/libwolfssl.la +0 -41
  619. package/android/install/wolfssl-android/x86_64/lib/pkgconfig/wolfssl.pc +0 -11
  620. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/QUIC.md +0 -117
  621. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/README.txt +0 -8
  622. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/async_client.c +0 -245
  623. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/async_server.c +0 -331
  624. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/client.c +0 -4885
  625. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/echoclient.c +0 -341
  626. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/echoserver.c +0 -498
  627. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-client-dtls.c +0 -135
  628. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-client.c +0 -78
  629. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-server-dtls.c +0 -134
  630. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-server.c +0 -83
  631. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/server.c +0 -4124
  632. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/tls_bench.c +0 -2357
  633. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/taoCert.txt +0 -176
  634. package/docs/diff-node_modules-vs-standalone-android-src.patch +0 -1031
@@ -1,498 +0,0 @@
1
- /* echoserver.c
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
- #ifdef HAVE_CONFIG_H
24
- #include <config.h>
25
- #endif
26
-
27
- #ifndef WOLFSSL_USER_SETTINGS
28
- #include <wolfssl/options.h>
29
- #endif
30
- #include <wolfssl/wolfcrypt/settings.h>
31
-
32
- #undef TEST_OPENSSL_COEXIST /* can't use this option with this example */
33
- #undef OPENSSL_COEXIST /* can't use this option with this example */
34
-
35
- #include <wolfssl/ssl.h> /* name change portability layer */
36
- #include <wolfssl/wolfcrypt/settings.h>
37
- #ifdef HAVE_ECC
38
- #include <wolfssl/wolfcrypt/ecc.h> /* ecc_fp_free */
39
- #endif
40
-
41
- #if defined(WOLFSSL_MDK_ARM) || defined(WOLFSSL_KEIL_TCP_NET)
42
- #include <stdio.h>
43
- #include <string.h>
44
- #include "cmsis_os.h"
45
- #include "rl_fs.h"
46
- #include "rl_net.h"
47
- #include "wolfssl_MDK_ARM.h"
48
- #endif
49
-
50
- #include <wolfssl/ssl.h>
51
- #include <wolfssl/test.h>
52
-
53
- #ifndef NO_MAIN_DRIVER
54
- #define ECHO_OUT
55
- #endif
56
-
57
- #include "examples/echoserver/echoserver.h"
58
-
59
- #if !defined(NO_WOLFSSL_SERVER) && !defined(NO_TLS)
60
-
61
- #ifdef NO_FILESYSTEM
62
- #ifdef NO_RSA
63
- #error currently the example only tries to load in a RSA buffer
64
- #endif
65
- #undef USE_CERT_BUFFERS_2048
66
- #define USE_CERT_BUFFERS_2048
67
- #include <wolfssl/certs_test.h>
68
- #endif
69
-
70
- #ifdef WOLFSSL_ASYNC_CRYPT
71
- static int devId = INVALID_DEVID;
72
- #endif
73
-
74
- #define SVR_COMMAND_SIZE 256
75
-
76
- static void SignalReady(void* args, word16 port)
77
- {
78
- #if defined(NO_MAIN_DRIVER) && defined(WOLFSSL_COND)
79
- /* signal ready to tcp_accept */
80
- func_args* server_args = (func_args*)args;
81
- tcp_ready* ready = server_args->signal;
82
- THREAD_CHECK_RET(wolfSSL_CondStart(&ready->cond));
83
- ready->ready = 1;
84
- ready->port = port;
85
- THREAD_CHECK_RET(wolfSSL_CondSignal(&ready->cond));
86
- THREAD_CHECK_RET(wolfSSL_CondEnd(&ready->cond));
87
- #endif /* NO_MAIN_DRIVER && WOLFSSL_COND */
88
- (void)args;
89
- (void)port;
90
- }
91
-
92
-
93
- THREAD_RETURN WOLFSSL_THREAD echoserver_test(void* args)
94
- {
95
- SOCKET_T sockfd = 0;
96
- WOLFSSL_METHOD* method = 0;
97
- WOLFSSL_CTX* ctx = 0;
98
-
99
- int ret = 0;
100
- int doPSK;
101
- int outCreated = 0;
102
- int shutDown = 0;
103
- int useAnyAddr = 0;
104
- word16 port;
105
- int argc = ((func_args*)args)->argc;
106
- char** argv = ((func_args*)args)->argv;
107
- char buffer[WOLFSSL_MAX_ERROR_SZ];
108
- #ifdef HAVE_TEST_SESSION_TICKET
109
- MyTicketCtx myTicketCtx;
110
- #endif
111
-
112
- #ifdef ECHO_OUT
113
- FILE* fout = stdout;
114
- if (argc >= 2) {
115
- fout = fopen(argv[1], "w");
116
- outCreated = 1;
117
- }
118
- if (!fout) err_sys("can't open output file");
119
- #endif
120
- (void)outCreated;
121
- (void)argc;
122
- (void)argv;
123
-
124
- ((func_args*)args)->return_code = -1; /* error state */
125
-
126
- #if (defined(NO_RSA) && !defined(HAVE_ECC) && !defined(HAVE_ED25519) && \
127
- !defined(HAVE_ED448)) || defined(WOLFSSL_LEANPSK)
128
- doPSK = 1;
129
- #else
130
- doPSK = 0;
131
- #endif
132
-
133
- #if defined(NO_MAIN_DRIVER) && !defined(WOLFSSL_SNIFFER) && \
134
- !defined(WOLFSSL_MDK_SHELL) && !defined(WOLFSSL_TIRTOS) && \
135
- !defined(USE_WINDOWS_API)
136
- /* Let tcp_listen assign port */
137
- port = 0;
138
- #else
139
- /* Use default port */
140
- port = wolfSSLPort;
141
- #endif
142
-
143
- #if defined(USE_ANY_ADDR)
144
- useAnyAddr = 1;
145
- #endif
146
-
147
- #ifdef WOLFSSL_TIRTOS
148
- fdOpenSession(Task_self());
149
- #endif
150
-
151
- tcp_listen(&sockfd, &port, useAnyAddr, 0, 0);
152
-
153
- #if !defined(NO_TLS)
154
- #if defined(WOLFSSL_TLS13) && defined(WOLFSSL_SNIFFER)
155
- method = wolfTLSv1_2_server_method();
156
- #else
157
- method = wolfSSLv23_server_method();
158
- #endif
159
- #elif defined(WOLFSSL_ALLOW_SSLV3)
160
- method = wolfSSLv3_server_method();
161
- #else
162
- #error "no valid server method built in"
163
- #endif
164
- ctx = wolfSSL_CTX_new(method);
165
- /* wolfSSL_CTX_set_session_cache_mode(ctx, WOLFSSL_SESS_CACHE_OFF); */
166
-
167
- #ifdef WOLFSSL_ENCRYPTED_KEYS
168
- wolfSSL_CTX_set_default_passwd_cb(ctx, PasswordCallBack);
169
- #endif
170
-
171
- #ifdef HAVE_TEST_SESSION_TICKET
172
- if (TicketInit() != 0)
173
- err_sys("unable to setup Session Ticket Key context");
174
- wolfSSL_CTX_set_TicketEncCb(ctx, myTicketEncCb);
175
- XMEMSET(&myTicketCtx, 0, sizeof(myTicketCtx));
176
- wolfSSL_CTX_set_TicketEncCtx(ctx, &myTicketCtx);
177
- #endif
178
-
179
- #ifndef NO_FILESYSTEM
180
- if (doPSK == 0) {
181
- #if defined(HAVE_ECC) && !defined(WOLFSSL_SNIFFER)
182
- /* ecc */
183
- if (wolfSSL_CTX_use_certificate_file(ctx, eccCertFile, CERT_FILETYPE)
184
- != WOLFSSL_SUCCESS)
185
- err_sys("can't load server cert file, "
186
- "Please run from wolfSSL home dir");
187
-
188
- if (wolfSSL_CTX_use_PrivateKey_file(ctx, eccKeyFile, CERT_FILETYPE)
189
- != WOLFSSL_SUCCESS)
190
- err_sys("can't load server key file, "
191
- "Please run from wolfSSL home dir");
192
- #elif defined(HAVE_ED25519) && !defined(WOLFSSL_SNIFFER)
193
- /* ed25519 */
194
- if (wolfSSL_CTX_use_certificate_chain_file(ctx, edCertFile)
195
- != WOLFSSL_SUCCESS)
196
- err_sys("can't load server cert file, "
197
- "Please run from wolfSSL home dir");
198
-
199
- if (wolfSSL_CTX_use_PrivateKey_file(ctx, edKeyFile, CERT_FILETYPE)
200
- != WOLFSSL_SUCCESS)
201
- err_sys("can't load server key file, "
202
- "Please run from wolfSSL home dir");
203
- #elif defined(HAVE_ED448) && !defined(WOLFSSL_SNIFFER)
204
- /* ed448 */
205
- if (wolfSSL_CTX_use_certificate_chain_file(ctx, ed448CertFile)
206
- != WOLFSSL_SUCCESS)
207
- err_sys("can't load server cert file, "
208
- "Please run from wolfSSL home dir");
209
-
210
- if (wolfSSL_CTX_use_PrivateKey_file(ctx, ed448KeyFile,
211
- CERT_FILETYPE) != WOLFSSL_SUCCESS)
212
- err_sys("can't load server key file, "
213
- "Please run from wolfSSL home dir");
214
- #elif defined(NO_CERTS)
215
- /* do nothing, just don't load cert files */
216
- #else
217
- /* normal */
218
- if (wolfSSL_CTX_use_certificate_file(ctx, svrCertFile, CERT_FILETYPE)
219
- != WOLFSSL_SUCCESS)
220
- err_sys("can't load server cert file, "
221
- "Please run from wolfSSL home dir");
222
-
223
- if (wolfSSL_CTX_use_PrivateKey_file(ctx, svrKeyFile, CERT_FILETYPE)
224
- != WOLFSSL_SUCCESS)
225
- err_sys("can't load server key file, "
226
- "Please run from wolfSSL home dir");
227
- #endif
228
- } /* doPSK */
229
- #elif !defined(NO_CERTS)
230
- if (!doPSK) {
231
- if (wolfSSL_CTX_use_certificate_buffer(ctx, server_cert_der_2048,
232
- sizeof_server_cert_der_2048, WOLFSSL_FILETYPE_ASN1)
233
- != WOLFSSL_SUCCESS)
234
- err_sys("can't load server cert buffer");
235
-
236
- if (wolfSSL_CTX_use_PrivateKey_buffer(ctx, server_key_der_2048,
237
- sizeof_server_key_der_2048, WOLFSSL_FILETYPE_ASN1)
238
- != WOLFSSL_SUCCESS)
239
- err_sys("can't load server key buffer");
240
- }
241
- #endif
242
-
243
- #if defined(WOLFSSL_SNIFFER)
244
- /* Only set if not running testsuite */
245
- if (XSTRSTR(argv[0], "testsuite") == NULL) {
246
- /* don't use EDH, can't sniff tmp keys */
247
- wolfSSL_CTX_set_cipher_list(ctx, "AES256-SHA");
248
- }
249
- #endif
250
-
251
- if (doPSK) {
252
- #ifndef NO_PSK
253
- const char *defaultCipherList;
254
-
255
- wolfSSL_CTX_set_psk_server_callback(ctx, my_psk_server_cb);
256
- wolfSSL_CTX_use_psk_identity_hint(ctx, "cyassl server");
257
- #ifdef HAVE_NULL_CIPHER
258
- defaultCipherList = "PSK-NULL-SHA256";
259
- #elif defined(HAVE_AESGCM) && !defined(NO_DH)
260
- #ifdef WOLFSSL_TLS13
261
- defaultCipherList = "TLS13-AES128-GCM-SHA256"
262
- #ifndef WOLFSSL_NO_TLS12
263
- ":DHE-PSK-AES128-GCM-SHA256"
264
- #endif
265
- ;
266
- #else
267
- defaultCipherList = "DHE-PSK-AES128-GCM-SHA256";
268
- #endif
269
- #elif defined(HAVE_AESGCM) && defined(WOLFSSL_TLS13)
270
- defaultCipherList = "TLS13-AES128-GCM-SHA256"
271
- #ifndef WOLFSSL_NO_TLS12
272
- ":PSK-AES128-GCM-SHA256"
273
- #endif
274
- ;
275
- #else
276
- defaultCipherList = "PSK-AES128-CBC-SHA256";
277
- #endif
278
- if (wolfSSL_CTX_set_cipher_list(ctx, defaultCipherList) != WOLFSSL_SUCCESS)
279
- err_sys("server can't set cipher list 2");
280
- wolfSSL_CTX_set_psk_callback_ctx(ctx, (void*)defaultCipherList);
281
- #endif
282
- }
283
-
284
- #ifdef WOLFSSL_ASYNC_CRYPT
285
- ret = wolfAsync_DevOpen(&devId);
286
- if (ret < 0) {
287
- fprintf(stderr, "Async device open failed\nRunning without async\n");
288
- }
289
- wolfSSL_CTX_SetDevId(ctx, devId);
290
- #endif /* WOLFSSL_ASYNC_CRYPT */
291
-
292
- SignalReady(args, port);
293
-
294
- while (!shutDown) {
295
- WOLFSSL* ssl = NULL;
296
- WOLFSSL* write_ssl = NULL; /* may have separate w/ HAVE_WRITE_DUP */
297
- char command[SVR_COMMAND_SIZE+1];
298
- int clientfd;
299
- int firstRead = 1;
300
- int gotFirstG = 0;
301
- int err = 0;
302
- SOCKADDR_IN_T client;
303
- socklen_t client_len = sizeof(client);
304
- clientfd = accept(sockfd, (struct sockaddr*)&client,
305
- (ACCEPT_THIRD_T)&client_len);
306
- if (WOLFSSL_SOCKET_IS_INVALID(clientfd)) err_sys("tcp accept failed");
307
-
308
- ssl = wolfSSL_new(ctx);
309
- if (ssl == NULL) err_sys("SSL_new failed");
310
- wolfSSL_set_fd(ssl, clientfd);
311
- #if !defined(NO_FILESYSTEM) && !defined(NO_DH) && !defined(NO_ASN)
312
- wolfSSL_SetTmpDH_file(ssl, dhParamFile, CERT_FILETYPE);
313
- #elif !defined(NO_DH)
314
- SetDH(ssl); /* will repick suites with DHE, higher than PSK */
315
- #endif
316
-
317
- WOLFSSL_ASYNC_WHILE_PENDING(ret = wolfSSL_accept(ssl),
318
- ret != WOLFSSL_SUCCESS);
319
- if (ret != WOLFSSL_SUCCESS) {
320
- fprintf(stderr, "SSL_accept error = %d, %s\n", err,
321
- wolfSSL_ERR_error_string((unsigned long)err, buffer));
322
- fprintf(stderr, "SSL_accept failed\n");
323
- wolfSSL_free(ssl);
324
- CloseSocket(clientfd);
325
- continue;
326
- }
327
- #if defined(PEER_INFO)
328
- showPeer(ssl);
329
- #endif
330
-
331
- #ifdef HAVE_WRITE_DUP
332
- write_ssl = wolfSSL_write_dup(ssl);
333
- if (write_ssl == NULL) {
334
- fprintf(stderr, "wolfSSL_write_dup failed\n");
335
- wolfSSL_free(ssl);
336
- CloseSocket(clientfd);
337
- continue;
338
- }
339
- #else
340
- write_ssl = ssl;
341
- #endif
342
-
343
- while (1) {
344
- int echoSz;
345
-
346
- WOLFSSL_ASYNC_WHILE_PENDING(ret = wolfSSL_read(ssl, command, sizeof(command)-1),
347
- ret <= 0);
348
- if (ret <= 0) {
349
- if (err != WOLFSSL_ERROR_WANT_READ && err != WOLFSSL_ERROR_ZERO_RETURN){
350
- fprintf(stderr, "SSL_read echo error %d, %s!\n", err,
351
- wolfSSL_ERR_error_string((unsigned long)err, buffer));
352
- }
353
- break;
354
- }
355
-
356
- echoSz = ret;
357
-
358
- if (firstRead == 1) {
359
- firstRead = 0; /* browser may send 1 byte 'G' to start */
360
- if (echoSz == 1 && command[0] == 'G') {
361
- gotFirstG = 1;
362
- continue;
363
- }
364
- }
365
- else if (gotFirstG == 1 && strncmp(command, "ET /", 4) == 0) {
366
- strncpy(command, "GET", 4);
367
- /* fall through to normal GET */
368
- }
369
-
370
- if ( strncmp(command, "quit", 4) == 0) {
371
- printf("client sent quit command: shutting down!\n");
372
- shutDown = 1;
373
- break;
374
- }
375
- if ( strncmp(command, "break", 5) == 0) {
376
- printf("client sent break command: closing session!\n");
377
- break;
378
- }
379
- #ifdef PRINT_SESSION_STATS
380
- if ( strncmp(command, "printstats", 10) == 0) {
381
- wolfSSL_PrintSessionStats();
382
- break;
383
- }
384
- #endif
385
- if (strncmp(command, "GET", 3) == 0) {
386
- const char resp[] =
387
- "HTTP/1.0 200 ok\r\nContent-type: text/html\r\n\r\n"
388
- "<html><body BGCOLOR=\"#ffffff\"><pre>\r\n"
389
- "greetings from wolfSSL\r\n</pre></body></html>\r\n\r\n";
390
-
391
- echoSz = (int)strlen(resp) + 1;
392
- if (echoSz > (int)sizeof(command)) {
393
- /* Internal error. */
394
- err_sys("HTTP response greater than buffer.");
395
- }
396
- strncpy(command, resp, sizeof(command));
397
-
398
- WOLFSSL_ASYNC_WHILE_PENDING(ret = wolfSSL_write(write_ssl, command, echoSz),
399
- ret <= 0);
400
- if (ret != echoSz) {
401
- fprintf(stderr, "SSL_write get error = %d, %s\n", err,
402
- wolfSSL_ERR_error_string((unsigned long)err, buffer));
403
- err_sys("SSL_write get failed");
404
- }
405
- break;
406
- }
407
- command[echoSz] = 0;
408
-
409
- #ifdef ECHO_OUT
410
- LIBCALL_CHECK_RET(fputs(command, fout));
411
- #endif
412
-
413
- WOLFSSL_ASYNC_WHILE_PENDING(ret = wolfSSL_write(write_ssl, command, echoSz),
414
- ret <= 0);
415
- if (ret != echoSz) {
416
- fprintf(stderr, "SSL_write echo error = %d, %s\n", err,
417
- wolfSSL_ERR_error_string((unsigned long)err, buffer));
418
- err_sys("SSL_write echo failed");
419
- }
420
- }
421
- wolfSSL_shutdown(ssl);
422
- #ifdef HAVE_WRITE_DUP
423
- wolfSSL_free(write_ssl);
424
- #endif
425
- wolfSSL_free(ssl);
426
- CloseSocket(clientfd);
427
- }
428
-
429
- CloseSocket(sockfd);
430
- wolfSSL_CTX_free(ctx);
431
-
432
- #ifdef ECHO_OUT
433
- if (outCreated)
434
- fclose(fout);
435
- #endif
436
-
437
- ((func_args*)args)->return_code = 0;
438
-
439
- #if defined(NO_MAIN_DRIVER) && defined(HAVE_ECC) && defined(FP_ECC) \
440
- && defined(HAVE_THREAD_LS)
441
- wc_ecc_fp_free(); /* free per thread cache */
442
- #endif
443
-
444
- #ifdef WOLFSSL_TIRTOS
445
- fdCloseSession(Task_self());
446
- #endif
447
-
448
- #ifdef HAVE_TEST_SESSION_TICKET
449
- TicketCleanup();
450
- #endif
451
-
452
- #ifdef WOLFSSL_ASYNC_CRYPT
453
- wolfAsync_DevClose(&devId);
454
- #endif
455
-
456
- WOLFSSL_RETURN_FROM_THREAD(0);
457
- }
458
-
459
- #endif /* !NO_WOLFSSL_SERVER && !NO_TLS */
460
-
461
-
462
- /* so overall tests can pull in test function */
463
- #ifndef NO_MAIN_DRIVER
464
-
465
- int main(int argc, char** argv)
466
- {
467
- func_args args;
468
-
469
- #ifdef HAVE_WNR
470
- if (wc_InitNetRandom(wnrConfig, NULL, 5000) != 0)
471
- err_sys("Whitewood netRandom global config failed");
472
- #endif
473
-
474
- StartTCP();
475
-
476
- args.argc = argc;
477
- args.argv = argv;
478
- args.return_code = 0;
479
-
480
- wolfSSL_Init();
481
- #if defined(DEBUG_WOLFSSL) && !defined(WOLFSSL_MDK_SHELL)
482
- wolfSSL_Debugging_ON();
483
- #endif
484
- ChangeToWolfRoot();
485
- #if !defined(NO_WOLFSSL_SERVER) && !defined(NO_TLS)
486
- echoserver_test(&args);
487
- #endif
488
- wolfSSL_Cleanup();
489
-
490
- #ifdef HAVE_WNR
491
- if (wc_FreeNetRandom() < 0)
492
- err_sys("Failed to free netRandom context");
493
- #endif /* HAVE_WNR */
494
-
495
- return args.return_code;
496
- }
497
-
498
- #endif /* NO_MAIN_DRIVER */
@@ -1,135 +0,0 @@
1
- /* sctp-client-dtls.c
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
- #ifdef HAVE_CONFIG_H
23
- #include <config.h>
24
- #endif
25
-
26
- /* wolfssl */
27
- #ifndef WOLFSSL_USER_SETTINGS
28
- #include <wolfssl/options.h>
29
- #endif
30
- #include <wolfssl/wolfcrypt/settings.h>
31
- #include <wolfssl/ssl.h>
32
-
33
- #if defined(WOLFSSL_SCTP) && defined(WOLFSSL_DTLS) && !defined(WOLFSSL_NO_TLS12)
34
- /* sctp */
35
- #include <sys/socket.h>
36
- #include <sys/types.h>
37
- #include <arpa/inet.h>
38
- #include <netinet/in.h>
39
-
40
- /* std */
41
- #include <stdio.h>
42
- #include <stdlib.h>
43
- #include <string.h>
44
- #include <unistd.h>
45
-
46
- #define cacert "./certs/ca-cert.pem"
47
-
48
- static int err_sys(const char* msg)
49
- {
50
- perror(msg);
51
- exit(EXIT_FAILURE);
52
- }
53
- #endif /* WOLFSSL_SCTP && WOLFSSL_DTLS && !WOLFSSL_NO_TLS12 */
54
-
55
- int main(int argc, char **argv)
56
- {
57
- (void)argc;
58
- (void)argv;
59
- #if defined(WOLFSSL_SCTP) && defined(WOLFSSL_DTLS) && !defined(WOLFSSL_NO_TLS12)
60
- int sd = socket(PF_INET, SOCK_STREAM, IPPROTO_SCTP);
61
-
62
- if (sd < 0)
63
- err_sys("sctp socket error");
64
-
65
- struct sockaddr_in sa;
66
- memset(&sa, 0, sizeof(sa));
67
- sa.sin_family = AF_INET;
68
- sa.sin_addr.s_addr = inet_addr("127.0.0.1");
69
- sa.sin_port = htons(12345);
70
-
71
- int ret = connect(sd, (struct sockaddr*)&sa, sizeof(sa));
72
- if (ret < 0)
73
- err_sys("sctp connect error");
74
-
75
- const char* response = "hello there";
76
- char buffer[80];
77
-
78
- WOLFSSL_CTX* ctx = wolfSSL_CTX_new(wolfDTLSv1_2_client_method());
79
- if (ctx == NULL)
80
- err_sys("ctx new dtls client failed");
81
-
82
- ret = wolfSSL_CTX_dtls_set_sctp(ctx);
83
- if (ret != WOLFSSL_SUCCESS)
84
- err_sys("set sctp mode failed");
85
-
86
- ret = wolfSSL_CTX_load_verify_locations(ctx, cacert, NULL);
87
- if (ret != WOLFSSL_SUCCESS)
88
- err_sys("ca cert error");
89
-
90
- WOLFSSL* ssl = wolfSSL_new(ctx);
91
- if (ssl == NULL)
92
- err_sys("ssl new dtls client failed");
93
-
94
- wolfSSL_set_fd(ssl, sd);
95
-
96
- ret = wolfSSL_connect(ssl);
97
- if (ret != WOLFSSL_SUCCESS)
98
- err_sys("ssl connect failed");
99
-
100
- printf("TLS version is %s\n", wolfSSL_get_version(ssl));
101
- printf("Cipher Suite is %s\n",
102
- wolfSSL_CIPHER_get_name(wolfSSL_get_current_cipher(ssl)));
103
-
104
- wolfSSL_write(ssl, response, (int)strlen(response));
105
- int got = wolfSSL_read(ssl, buffer, sizeof(buffer));
106
- if (got > 0) {
107
- buffer[got] = 0;
108
- printf("server said: %s\n", buffer);
109
- }
110
-
111
- unsigned char bigBuf[4096];
112
- unsigned int i;
113
-
114
- for (i = 0; i < (int)sizeof(bigBuf); i++)
115
- bigBuf[i] = (unsigned char)(i & 0xFF);
116
- wolfSSL_write(ssl, bigBuf, sizeof(bigBuf));
117
- memset(bigBuf, 0, sizeof(bigBuf));
118
-
119
- wolfSSL_read(ssl, bigBuf, sizeof(bigBuf));
120
- for (i = 0; i < sizeof(bigBuf); i++) {
121
- if (bigBuf[i] != (unsigned char)(i & 0xFF)) {
122
- fprintf(stderr, "big message check fail\n");
123
- break;
124
- }
125
- }
126
-
127
- wolfSSL_shutdown(ssl);
128
- wolfSSL_free(ssl);
129
- wolfSSL_CTX_free(ctx);
130
-
131
- close(sd);
132
- #endif /* WOLFSSL_SCTP && WOLFSSL_DTLS && !WOLFSSL_NO_TLS12 */
133
-
134
- return 0;
135
- }
@@ -1,78 +0,0 @@
1
- /* sctp-client.c
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
- #ifdef HAVE_CONFIG_H
23
- #include <config.h>
24
- #endif
25
-
26
- #ifndef WOLFSSL_USER_SETTINGS
27
- #include <wolfssl/options.h>
28
- #endif
29
- #include <wolfssl/wolfcrypt/settings.h>
30
-
31
- #ifdef WOLFSSL_SCTP
32
-
33
- /* sctp */
34
- #include <sys/socket.h>
35
- #include <sys/types.h>
36
- #include <arpa/inet.h>
37
- #include <netinet/in.h>
38
-
39
- /* std */
40
- #include <stdio.h>
41
- #include <string.h>
42
- #include <unistd.h>
43
- #endif /* WOLFSSL_SCTP */
44
-
45
- int main(int argc, char **argv)
46
- {
47
- (void)argc;
48
- (void)argv;
49
- #ifdef WOLFSSL_SCTP
50
- int sd = socket(PF_INET, SOCK_STREAM, IPPROTO_SCTP);
51
-
52
- if (sd < 0)
53
- perror("sctp socket error");
54
-
55
- struct sockaddr_in sa;
56
- memset(&sa, 0, sizeof(sa));
57
- sa.sin_family = AF_INET;
58
- sa.sin_addr.s_addr = inet_addr("127.0.0.1");
59
- sa.sin_port = htons(12345);
60
-
61
- int ret = connect(sd, (struct sockaddr*)&sa, sizeof(sa));
62
- if (ret < 0)
63
- perror("sctp connect error");
64
-
65
- const char* msg = "hello sctp";
66
- char buffer[80];
67
-
68
- send(sd, msg, strlen(msg), 0);
69
- int got = (int)recv(sd, buffer, sizeof(buffer), 0);
70
- if (got > 0) {
71
- buffer[got] = 0;
72
- printf("server said: %s\n", buffer);
73
- }
74
-
75
- close(sd);
76
- #endif /* WOLFSSL_SCTP */
77
- return 0;
78
- }