@annadata/capacitor-mqtt-quic 0.2.2 → 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 (629) hide show
  1. package/dist/esm/web.d.ts +39 -5
  2. package/dist/esm/web.d.ts.map +1 -1
  3. package/dist/esm/web.js +428 -142
  4. package/dist/esm/web.js.map +1 -1
  5. package/dist/esm/webMqttCodec.d.ts +115 -0
  6. package/dist/esm/webMqttCodec.d.ts.map +1 -0
  7. package/dist/esm/webMqttCodec.js +410 -0
  8. package/dist/esm/webMqttCodec.js.map +1 -0
  9. package/dist/plugin.cjs.js +830 -11272
  10. package/dist/plugin.cjs.js.map +1 -1
  11. package/dist/plugin.js +830 -11272
  12. package/dist/plugin.js.map +1 -1
  13. package/ios/libs/libnghttp3.a +0 -0
  14. package/ios/libs/libngtcp2.a +0 -0
  15. package/ios/libs/libngtcp2_crypto_wolfssl.a +0 -0
  16. package/ios/libs/libwolfssl.a +0 -0
  17. package/ios/libs-simulator/libnghttp3.a +0 -0
  18. package/ios/libs-simulator/libngtcp2.a +0 -0
  19. package/ios/libs-simulator/libngtcp2_crypto_wolfssl.a +0 -0
  20. package/ios/libs-simulator/libwolfssl.a +0 -0
  21. package/ios/libs-simulator-x86_64/libnghttp3.a +0 -0
  22. package/ios/libs-simulator-x86_64/libngtcp2.a +0 -0
  23. package/ios/libs-simulator-x86_64/libngtcp2_crypto_wolfssl.a +0 -0
  24. package/ios/libs-simulator-x86_64/libwolfssl.a +0 -0
  25. package/package.json +2 -3
  26. package/android/install/nghttp3-android/arm64-v8a/include/nghttp3/nghttp3.h +0 -3295
  27. package/android/install/nghttp3-android/arm64-v8a/include/nghttp3/version.h +0 -46
  28. package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3Config.cmake +0 -3
  29. package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3ConfigVersion.cmake +0 -65
  30. package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3Targets-release.cmake +0 -29
  31. package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3Targets.cmake +0 -114
  32. package/android/install/nghttp3-android/arm64-v8a/lib/libnghttp3.a +0 -0
  33. package/android/install/nghttp3-android/arm64-v8a/lib/libnghttp3.so +0 -0
  34. package/android/install/nghttp3-android/arm64-v8a/lib/pkgconfig/libnghttp3.pc +0 -34
  35. package/android/install/nghttp3-android/arm64-v8a/share/doc/nghttp3/README.rst +0 -75
  36. package/android/install/nghttp3-android/armeabi-v7a/include/nghttp3/nghttp3.h +0 -3295
  37. package/android/install/nghttp3-android/armeabi-v7a/include/nghttp3/version.h +0 -46
  38. package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3Config.cmake +0 -3
  39. package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3ConfigVersion.cmake +0 -65
  40. package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3Targets-release.cmake +0 -29
  41. package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3Targets.cmake +0 -114
  42. package/android/install/nghttp3-android/armeabi-v7a/lib/libnghttp3.a +0 -0
  43. package/android/install/nghttp3-android/armeabi-v7a/lib/libnghttp3.so +0 -0
  44. package/android/install/nghttp3-android/armeabi-v7a/lib/pkgconfig/libnghttp3.pc +0 -34
  45. package/android/install/nghttp3-android/armeabi-v7a/share/doc/nghttp3/README.rst +0 -75
  46. package/android/install/nghttp3-android/x86_64/include/nghttp3/nghttp3.h +0 -3295
  47. package/android/install/nghttp3-android/x86_64/include/nghttp3/version.h +0 -46
  48. package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3Config.cmake +0 -3
  49. package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3ConfigVersion.cmake +0 -65
  50. package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3Targets-release.cmake +0 -29
  51. package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3Targets.cmake +0 -114
  52. package/android/install/nghttp3-android/x86_64/lib/libnghttp3.a +0 -0
  53. package/android/install/nghttp3-android/x86_64/lib/libnghttp3.so +0 -0
  54. package/android/install/nghttp3-android/x86_64/lib/pkgconfig/libnghttp3.pc +0 -34
  55. package/android/install/nghttp3-android/x86_64/share/doc/nghttp3/README.rst +0 -75
  56. package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/ngtcp2.h +0 -6254
  57. package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/ngtcp2_crypto.h +0 -1037
  58. package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/ngtcp2_crypto_wolfssl.h +0 -106
  59. package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/version.h +0 -51
  60. package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2Config.cmake +0 -6
  61. package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2ConfigVersion.cmake +0 -65
  62. package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2Targets-release.cmake +0 -29
  63. package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2Targets.cmake +0 -114
  64. package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2.a +0 -0
  65. package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2.so +0 -0
  66. package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2_crypto_wolfssl.a +0 -0
  67. package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2_crypto_wolfssl.so +0 -0
  68. package/android/install/ngtcp2-android/arm64-v8a/lib/pkgconfig/libngtcp2.pc +0 -33
  69. package/android/install/ngtcp2-android/arm64-v8a/lib/pkgconfig/libngtcp2_crypto_wolfssl.pc +0 -34
  70. package/android/install/ngtcp2-android/arm64-v8a/share/doc/ngtcp2/README.rst +0 -385
  71. package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/ngtcp2.h +0 -6254
  72. package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/ngtcp2_crypto.h +0 -1037
  73. package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/ngtcp2_crypto_wolfssl.h +0 -106
  74. package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/version.h +0 -51
  75. package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2Config.cmake +0 -6
  76. package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2ConfigVersion.cmake +0 -65
  77. package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2Targets-release.cmake +0 -29
  78. package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2Targets.cmake +0 -114
  79. package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2.a +0 -0
  80. package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2.so +0 -0
  81. package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2_crypto_wolfssl.a +0 -0
  82. package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2_crypto_wolfssl.so +0 -0
  83. package/android/install/ngtcp2-android/armeabi-v7a/lib/pkgconfig/libngtcp2.pc +0 -33
  84. package/android/install/ngtcp2-android/armeabi-v7a/lib/pkgconfig/libngtcp2_crypto_wolfssl.pc +0 -34
  85. package/android/install/ngtcp2-android/armeabi-v7a/share/doc/ngtcp2/README.rst +0 -385
  86. package/android/install/ngtcp2-android/x86_64/include/ngtcp2/ngtcp2.h +0 -6254
  87. package/android/install/ngtcp2-android/x86_64/include/ngtcp2/ngtcp2_crypto.h +0 -1037
  88. package/android/install/ngtcp2-android/x86_64/include/ngtcp2/ngtcp2_crypto_wolfssl.h +0 -106
  89. package/android/install/ngtcp2-android/x86_64/include/ngtcp2/version.h +0 -51
  90. package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2Config.cmake +0 -6
  91. package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2ConfigVersion.cmake +0 -65
  92. package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2Targets-release.cmake +0 -29
  93. package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2Targets.cmake +0 -114
  94. package/android/install/ngtcp2-android/x86_64/lib/libngtcp2.a +0 -0
  95. package/android/install/ngtcp2-android/x86_64/lib/libngtcp2.so +0 -0
  96. package/android/install/ngtcp2-android/x86_64/lib/libngtcp2_crypto_wolfssl.a +0 -0
  97. package/android/install/ngtcp2-android/x86_64/lib/libngtcp2_crypto_wolfssl.so +0 -0
  98. package/android/install/ngtcp2-android/x86_64/lib/pkgconfig/libngtcp2.pc +0 -33
  99. package/android/install/ngtcp2-android/x86_64/lib/pkgconfig/libngtcp2_crypto_wolfssl.pc +0 -34
  100. package/android/install/ngtcp2-android/x86_64/share/doc/ngtcp2/README.rst +0 -385
  101. package/android/install/wolfssl-android/arm64-v8a/bin/wolfssl-config +0 -117
  102. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/callbacks.h +0 -93
  103. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/certs_test.h +0 -7073
  104. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/certs_test_sm.h +0 -2913
  105. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/crl.h +0 -58
  106. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/error-ssl.h +0 -280
  107. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/ocsp.h +0 -191
  108. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/aes.h +0 -117
  109. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/asn1.h +0 -315
  110. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/asn1t.h +0 -30
  111. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/bio.h +0 -237
  112. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/bn.h +0 -332
  113. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/buffer.h +0 -57
  114. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/camellia.h +0 -27
  115. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/cmac.h +0 -66
  116. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/cms.h +0 -26
  117. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/compat_types.h +0 -70
  118. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/conf.h +0 -117
  119. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/crypto.h +0 -171
  120. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/des.h +0 -124
  121. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/dh.h +0 -144
  122. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/dsa.h +0 -164
  123. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ec.h +0 -525
  124. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ec25519.h +0 -46
  125. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ec448.h +0 -46
  126. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ecdh.h +0 -49
  127. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ecdsa.h +0 -87
  128. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ed25519.h +0 -49
  129. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ed448.h +0 -49
  130. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/engine.h +0 -9
  131. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/err.h +0 -84
  132. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/evp.h +0 -1540
  133. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/fips_rand.h +0 -125
  134. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/hmac.h +0 -98
  135. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/kdf.h +0 -45
  136. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/lhash.h +0 -64
  137. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/md4.h +0 -66
  138. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/md5.h +0 -108
  139. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/modes.h +0 -45
  140. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/obj_mac.h +0 -92
  141. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/objects.h +0 -86
  142. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ocsp.h +0 -108
  143. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/opensslconf.h +0 -8
  144. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/opensslv.h +0 -78
  145. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ossl_typ.h +0 -32
  146. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/pem.h +0 -301
  147. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/pkcs12.h +0 -57
  148. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/pkcs7.h +0 -110
  149. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/rand.h +0 -38
  150. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/rc4.h +0 -64
  151. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ripemd.h +0 -58
  152. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/rsa.h +0 -291
  153. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/safestack.h +0 -40
  154. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/sha.h +0 -331
  155. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/sha3.h +0 -158
  156. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/srp.h +0 -33
  157. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ssl.h +0 -1923
  158. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ssl23.h +0 -1
  159. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/stack.h +0 -61
  160. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/tls1.h +0 -64
  161. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/txt_db.h +0 -60
  162. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ui.h +0 -2
  163. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/x509.h +0 -227
  164. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/x509_vfy.h +0 -50
  165. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/x509v3.h +0 -237
  166. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/options.h +0 -273
  167. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/quic.h +0 -310
  168. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/sniffer.h +0 -359
  169. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/sniffer_error.h +0 -151
  170. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/ssl.h +0 -6300
  171. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/test.h +0 -4989
  172. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/version.h +0 -40
  173. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/aes.h +0 -1074
  174. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/arc4.h +0 -69
  175. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ascon.h +0 -109
  176. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/asn.h +0 -2855
  177. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/asn_public.h +0 -1009
  178. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/blake2-impl.h +0 -155
  179. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/blake2-int.h +0 -174
  180. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/blake2.h +0 -108
  181. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/camellia.h +0 -116
  182. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/chacha.h +0 -133
  183. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/chacha20_poly1305.h +0 -157
  184. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/cmac.h +0 -168
  185. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/coding.h +0 -107
  186. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/compress.h +0 -60
  187. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/cpuid.h +0 -153
  188. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/cryptocb.h +0 -770
  189. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/curve25519.h +0 -225
  190. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/curve448.h +0 -151
  191. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/des3.h +0 -167
  192. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/dh.h +0 -210
  193. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/dilithium.h +0 -1051
  194. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/dsa.h +0 -121
  195. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ecc.h +0 -1074
  196. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/eccsi.h +0 -176
  197. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ed25519.h +0 -239
  198. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ed448.h +0 -214
  199. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/error-crypt.h +0 -368
  200. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ext_lms.h +0 -62
  201. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ext_mlkem.h +0 -74
  202. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ext_xmss.h +0 -53
  203. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/falcon.h +0 -180
  204. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/fe_448.h +0 -122
  205. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/fe_operations.h +0 -189
  206. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/fips_test.h +0 -131
  207. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ge_448.h +0 -84
  208. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ge_operations.h +0 -134
  209. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/hash.h +0 -296
  210. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/hmac.h +0 -231
  211. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/hpke.h +0 -145
  212. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/integer.h +0 -449
  213. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/kdf.h +0 -199
  214. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/lms.h +0 -202
  215. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/logging.h +0 -588
  216. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/md2.h +0 -83
  217. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/md4.h +0 -77
  218. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/md5.h +0 -141
  219. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mem_track.h +0 -968
  220. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/memory.h +0 -545
  221. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/misc.h +0 -214
  222. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mlkem.h +0 -377
  223. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mpi_class.h +0 -1021
  224. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mpi_superclass.h +0 -96
  225. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/oid_sum.h +0 -1907
  226. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/pkcs12.h +0 -79
  227. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/pkcs7.h +0 -578
  228. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/poly1305.h +0 -207
  229. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/pwdbased.h +0 -81
  230. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/random.h +0 -300
  231. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/rc2.h +0 -68
  232. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ripemd.h +0 -67
  233. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/rsa.h +0 -494
  234. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sakke.h +0 -228
  235. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/settings.h +0 -4762
  236. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha.h +0 -237
  237. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha256.h +0 -360
  238. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha3.h +0 -274
  239. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha512.h +0 -372
  240. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/signature.h +0 -87
  241. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/siphash.h +0 -101
  242. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sm2.h +0 -27
  243. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sm3.h +0 -27
  244. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sm4.h +0 -27
  245. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sp_int.h +0 -1396
  246. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sphincs.h +0 -167
  247. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/srp.h +0 -313
  248. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/tfm.h +0 -941
  249. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/types.h +0 -2383
  250. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/visibility.h +0 -97
  251. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_encrypt.h +0 -126
  252. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_lms.h +0 -506
  253. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_mlkem.h +0 -370
  254. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_port.h +0 -1764
  255. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_xmss.h +0 -285
  256. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wolfevent.h +0 -120
  257. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wolfmath.h +0 -175
  258. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/xmss.h +0 -203
  259. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfio.h +0 -1035
  260. package/android/install/wolfssl-android/arm64-v8a/lib/libwolfssl.a +0 -0
  261. package/android/install/wolfssl-android/arm64-v8a/lib/libwolfssl.la +0 -41
  262. package/android/install/wolfssl-android/arm64-v8a/lib/pkgconfig/wolfssl.pc +0 -11
  263. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/QUIC.md +0 -117
  264. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/README.txt +0 -8
  265. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/async_client.c +0 -245
  266. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/async_server.c +0 -331
  267. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/client.c +0 -4885
  268. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/echoclient.c +0 -341
  269. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/echoserver.c +0 -498
  270. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-client-dtls.c +0 -135
  271. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-client.c +0 -78
  272. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-server-dtls.c +0 -134
  273. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-server.c +0 -83
  274. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/server.c +0 -4124
  275. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/tls_bench.c +0 -2357
  276. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/taoCert.txt +0 -176
  277. package/android/install/wolfssl-android/armeabi-v7a/bin/wolfssl-config +0 -117
  278. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/callbacks.h +0 -93
  279. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/certs_test.h +0 -7073
  280. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/certs_test_sm.h +0 -2913
  281. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/crl.h +0 -58
  282. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/error-ssl.h +0 -280
  283. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/ocsp.h +0 -191
  284. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/aes.h +0 -117
  285. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/asn1.h +0 -315
  286. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/asn1t.h +0 -30
  287. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/bio.h +0 -237
  288. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/bn.h +0 -332
  289. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/buffer.h +0 -57
  290. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/camellia.h +0 -27
  291. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/cmac.h +0 -66
  292. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/cms.h +0 -26
  293. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/compat_types.h +0 -70
  294. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/conf.h +0 -117
  295. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/crypto.h +0 -171
  296. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/des.h +0 -124
  297. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/dh.h +0 -144
  298. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/dsa.h +0 -164
  299. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ec.h +0 -525
  300. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ec25519.h +0 -46
  301. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ec448.h +0 -46
  302. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ecdh.h +0 -49
  303. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ecdsa.h +0 -87
  304. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ed25519.h +0 -49
  305. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ed448.h +0 -49
  306. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/engine.h +0 -9
  307. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/err.h +0 -84
  308. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/evp.h +0 -1540
  309. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/fips_rand.h +0 -125
  310. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/hmac.h +0 -98
  311. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/kdf.h +0 -45
  312. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/lhash.h +0 -64
  313. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/md4.h +0 -66
  314. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/md5.h +0 -108
  315. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/modes.h +0 -45
  316. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/obj_mac.h +0 -92
  317. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/objects.h +0 -86
  318. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ocsp.h +0 -108
  319. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/opensslconf.h +0 -8
  320. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/opensslv.h +0 -78
  321. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ossl_typ.h +0 -32
  322. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/pem.h +0 -301
  323. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/pkcs12.h +0 -57
  324. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/pkcs7.h +0 -110
  325. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/rand.h +0 -38
  326. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/rc4.h +0 -64
  327. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ripemd.h +0 -58
  328. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/rsa.h +0 -291
  329. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/safestack.h +0 -40
  330. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/sha.h +0 -331
  331. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/sha3.h +0 -158
  332. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/srp.h +0 -33
  333. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ssl.h +0 -1923
  334. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ssl23.h +0 -1
  335. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/stack.h +0 -61
  336. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/tls1.h +0 -64
  337. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/txt_db.h +0 -60
  338. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ui.h +0 -2
  339. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/x509.h +0 -227
  340. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/x509_vfy.h +0 -50
  341. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/x509v3.h +0 -237
  342. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/options.h +0 -261
  343. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/quic.h +0 -310
  344. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/sniffer.h +0 -359
  345. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/sniffer_error.h +0 -151
  346. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/ssl.h +0 -6300
  347. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/test.h +0 -4989
  348. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/version.h +0 -40
  349. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/aes.h +0 -1074
  350. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/arc4.h +0 -69
  351. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ascon.h +0 -109
  352. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/asn.h +0 -2855
  353. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/asn_public.h +0 -1009
  354. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/blake2-impl.h +0 -155
  355. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/blake2-int.h +0 -174
  356. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/blake2.h +0 -108
  357. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/camellia.h +0 -116
  358. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/chacha.h +0 -133
  359. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/chacha20_poly1305.h +0 -157
  360. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/cmac.h +0 -168
  361. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/coding.h +0 -107
  362. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/compress.h +0 -60
  363. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/cpuid.h +0 -153
  364. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/cryptocb.h +0 -770
  365. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/curve25519.h +0 -225
  366. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/curve448.h +0 -151
  367. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/des3.h +0 -167
  368. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/dh.h +0 -210
  369. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/dilithium.h +0 -1051
  370. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/dsa.h +0 -121
  371. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ecc.h +0 -1074
  372. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/eccsi.h +0 -176
  373. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ed25519.h +0 -239
  374. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ed448.h +0 -214
  375. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/error-crypt.h +0 -368
  376. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ext_lms.h +0 -62
  377. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ext_mlkem.h +0 -74
  378. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ext_xmss.h +0 -53
  379. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/falcon.h +0 -180
  380. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/fe_448.h +0 -122
  381. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/fe_operations.h +0 -189
  382. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/fips_test.h +0 -131
  383. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ge_448.h +0 -84
  384. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ge_operations.h +0 -134
  385. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/hash.h +0 -296
  386. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/hmac.h +0 -231
  387. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/hpke.h +0 -145
  388. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/integer.h +0 -449
  389. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/kdf.h +0 -199
  390. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/lms.h +0 -202
  391. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/logging.h +0 -588
  392. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/md2.h +0 -83
  393. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/md4.h +0 -77
  394. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/md5.h +0 -141
  395. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mem_track.h +0 -968
  396. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/memory.h +0 -545
  397. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/misc.h +0 -214
  398. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mlkem.h +0 -377
  399. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mpi_class.h +0 -1021
  400. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mpi_superclass.h +0 -96
  401. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/oid_sum.h +0 -1907
  402. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/pkcs12.h +0 -79
  403. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/pkcs7.h +0 -578
  404. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/poly1305.h +0 -207
  405. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/pwdbased.h +0 -81
  406. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/random.h +0 -300
  407. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/rc2.h +0 -68
  408. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ripemd.h +0 -67
  409. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/rsa.h +0 -494
  410. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sakke.h +0 -228
  411. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/settings.h +0 -4762
  412. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha.h +0 -237
  413. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha256.h +0 -360
  414. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha3.h +0 -274
  415. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha512.h +0 -372
  416. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/signature.h +0 -87
  417. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/siphash.h +0 -101
  418. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sm2.h +0 -27
  419. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sm3.h +0 -27
  420. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sm4.h +0 -27
  421. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sp_int.h +0 -1396
  422. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sphincs.h +0 -167
  423. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/srp.h +0 -313
  424. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/tfm.h +0 -941
  425. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/types.h +0 -2383
  426. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/visibility.h +0 -97
  427. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_encrypt.h +0 -126
  428. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_lms.h +0 -506
  429. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_mlkem.h +0 -370
  430. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_port.h +0 -1764
  431. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_xmss.h +0 -285
  432. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wolfevent.h +0 -120
  433. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wolfmath.h +0 -175
  434. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/xmss.h +0 -203
  435. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfio.h +0 -1035
  436. package/android/install/wolfssl-android/armeabi-v7a/lib/libwolfssl.a +0 -0
  437. package/android/install/wolfssl-android/armeabi-v7a/lib/libwolfssl.la +0 -41
  438. package/android/install/wolfssl-android/armeabi-v7a/lib/pkgconfig/wolfssl.pc +0 -11
  439. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/QUIC.md +0 -117
  440. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/README.txt +0 -8
  441. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/async_client.c +0 -245
  442. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/async_server.c +0 -331
  443. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/client.c +0 -4885
  444. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/echoclient.c +0 -341
  445. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/echoserver.c +0 -498
  446. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-client-dtls.c +0 -135
  447. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-client.c +0 -78
  448. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-server-dtls.c +0 -134
  449. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-server.c +0 -83
  450. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/server.c +0 -4124
  451. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/tls_bench.c +0 -2357
  452. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/taoCert.txt +0 -176
  453. package/android/install/wolfssl-android/x86_64/bin/wolfssl-config +0 -117
  454. package/android/install/wolfssl-android/x86_64/include/wolfssl/callbacks.h +0 -93
  455. package/android/install/wolfssl-android/x86_64/include/wolfssl/certs_test.h +0 -7073
  456. package/android/install/wolfssl-android/x86_64/include/wolfssl/certs_test_sm.h +0 -2913
  457. package/android/install/wolfssl-android/x86_64/include/wolfssl/crl.h +0 -58
  458. package/android/install/wolfssl-android/x86_64/include/wolfssl/error-ssl.h +0 -280
  459. package/android/install/wolfssl-android/x86_64/include/wolfssl/ocsp.h +0 -191
  460. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/aes.h +0 -117
  461. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/asn1.h +0 -315
  462. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/asn1t.h +0 -30
  463. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/bio.h +0 -237
  464. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/bn.h +0 -332
  465. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/buffer.h +0 -57
  466. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/camellia.h +0 -27
  467. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/cmac.h +0 -66
  468. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/cms.h +0 -26
  469. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/compat_types.h +0 -70
  470. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/conf.h +0 -117
  471. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/crypto.h +0 -171
  472. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/des.h +0 -124
  473. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/dh.h +0 -144
  474. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/dsa.h +0 -164
  475. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ec.h +0 -525
  476. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ec25519.h +0 -46
  477. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ec448.h +0 -46
  478. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ecdh.h +0 -49
  479. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ecdsa.h +0 -87
  480. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ed25519.h +0 -49
  481. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ed448.h +0 -49
  482. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/engine.h +0 -9
  483. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/err.h +0 -84
  484. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/evp.h +0 -1540
  485. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/fips_rand.h +0 -125
  486. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/hmac.h +0 -98
  487. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/kdf.h +0 -45
  488. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/lhash.h +0 -64
  489. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/md4.h +0 -66
  490. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/md5.h +0 -108
  491. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/modes.h +0 -45
  492. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/obj_mac.h +0 -92
  493. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/objects.h +0 -86
  494. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ocsp.h +0 -108
  495. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/opensslconf.h +0 -8
  496. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/opensslv.h +0 -78
  497. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ossl_typ.h +0 -32
  498. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/pem.h +0 -301
  499. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/pkcs12.h +0 -57
  500. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/pkcs7.h +0 -110
  501. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/rand.h +0 -38
  502. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/rc4.h +0 -64
  503. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ripemd.h +0 -58
  504. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/rsa.h +0 -291
  505. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/safestack.h +0 -40
  506. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/sha.h +0 -331
  507. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/sha3.h +0 -158
  508. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/srp.h +0 -33
  509. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ssl.h +0 -1923
  510. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ssl23.h +0 -1
  511. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/stack.h +0 -61
  512. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/tls1.h +0 -64
  513. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/txt_db.h +0 -60
  514. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ui.h +0 -2
  515. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/x509.h +0 -227
  516. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/x509_vfy.h +0 -50
  517. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/x509v3.h +0 -237
  518. package/android/install/wolfssl-android/x86_64/include/wolfssl/options.h +0 -273
  519. package/android/install/wolfssl-android/x86_64/include/wolfssl/quic.h +0 -310
  520. package/android/install/wolfssl-android/x86_64/include/wolfssl/sniffer.h +0 -359
  521. package/android/install/wolfssl-android/x86_64/include/wolfssl/sniffer_error.h +0 -151
  522. package/android/install/wolfssl-android/x86_64/include/wolfssl/ssl.h +0 -6300
  523. package/android/install/wolfssl-android/x86_64/include/wolfssl/test.h +0 -4989
  524. package/android/install/wolfssl-android/x86_64/include/wolfssl/version.h +0 -40
  525. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/aes.h +0 -1074
  526. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/arc4.h +0 -69
  527. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ascon.h +0 -109
  528. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/asn.h +0 -2855
  529. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/asn_public.h +0 -1009
  530. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/blake2-impl.h +0 -155
  531. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/blake2-int.h +0 -174
  532. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/blake2.h +0 -108
  533. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/camellia.h +0 -116
  534. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/chacha.h +0 -133
  535. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/chacha20_poly1305.h +0 -157
  536. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/cmac.h +0 -168
  537. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/coding.h +0 -107
  538. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/compress.h +0 -60
  539. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/cpuid.h +0 -153
  540. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/cryptocb.h +0 -770
  541. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/curve25519.h +0 -225
  542. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/curve448.h +0 -151
  543. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/des3.h +0 -167
  544. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/dh.h +0 -210
  545. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/dilithium.h +0 -1051
  546. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/dsa.h +0 -121
  547. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ecc.h +0 -1074
  548. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/eccsi.h +0 -176
  549. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ed25519.h +0 -239
  550. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ed448.h +0 -214
  551. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/error-crypt.h +0 -368
  552. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ext_lms.h +0 -62
  553. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ext_mlkem.h +0 -74
  554. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ext_xmss.h +0 -53
  555. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/falcon.h +0 -180
  556. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/fe_448.h +0 -122
  557. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/fe_operations.h +0 -189
  558. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/fips_test.h +0 -131
  559. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ge_448.h +0 -84
  560. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ge_operations.h +0 -134
  561. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/hash.h +0 -296
  562. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/hmac.h +0 -231
  563. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/hpke.h +0 -145
  564. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/integer.h +0 -449
  565. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/kdf.h +0 -199
  566. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/lms.h +0 -202
  567. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/logging.h +0 -588
  568. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/md2.h +0 -83
  569. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/md4.h +0 -77
  570. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/md5.h +0 -141
  571. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mem_track.h +0 -968
  572. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/memory.h +0 -545
  573. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/misc.h +0 -214
  574. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mlkem.h +0 -377
  575. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mpi_class.h +0 -1021
  576. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mpi_superclass.h +0 -96
  577. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/oid_sum.h +0 -1907
  578. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/pkcs12.h +0 -79
  579. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/pkcs7.h +0 -578
  580. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/poly1305.h +0 -207
  581. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/pwdbased.h +0 -81
  582. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/random.h +0 -300
  583. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/rc2.h +0 -68
  584. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ripemd.h +0 -67
  585. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/rsa.h +0 -494
  586. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sakke.h +0 -228
  587. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/settings.h +0 -4762
  588. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha.h +0 -237
  589. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha256.h +0 -360
  590. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha3.h +0 -274
  591. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha512.h +0 -372
  592. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/signature.h +0 -87
  593. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/siphash.h +0 -101
  594. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sm2.h +0 -27
  595. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sm3.h +0 -27
  596. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sm4.h +0 -27
  597. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sp_int.h +0 -1396
  598. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sphincs.h +0 -167
  599. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/srp.h +0 -313
  600. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/tfm.h +0 -941
  601. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/types.h +0 -2383
  602. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/visibility.h +0 -97
  603. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_encrypt.h +0 -126
  604. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_lms.h +0 -506
  605. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_mlkem.h +0 -370
  606. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_port.h +0 -1764
  607. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_xmss.h +0 -285
  608. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wolfevent.h +0 -120
  609. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wolfmath.h +0 -175
  610. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/xmss.h +0 -203
  611. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfio.h +0 -1035
  612. package/android/install/wolfssl-android/x86_64/lib/libwolfssl.a +0 -0
  613. package/android/install/wolfssl-android/x86_64/lib/libwolfssl.la +0 -41
  614. package/android/install/wolfssl-android/x86_64/lib/pkgconfig/wolfssl.pc +0 -11
  615. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/QUIC.md +0 -117
  616. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/README.txt +0 -8
  617. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/async_client.c +0 -245
  618. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/async_server.c +0 -331
  619. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/client.c +0 -4885
  620. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/echoclient.c +0 -341
  621. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/echoserver.c +0 -498
  622. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-client-dtls.c +0 -135
  623. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-client.c +0 -78
  624. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-server-dtls.c +0 -134
  625. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-server.c +0 -83
  626. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/server.c +0 -4124
  627. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/tls_bench.c +0 -2357
  628. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/taoCert.txt +0 -176
  629. package/docs/diff-node_modules-vs-standalone-android-src.patch +0 -1031
@@ -1,1035 +0,0 @@
1
- /* io.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
- \file wolfssl/wolfio.h
24
- */
25
-
26
- #ifndef WOLFSSL_IO_H
27
- #define WOLFSSL_IO_H
28
-
29
- #include <wolfssl/ssl.h>
30
-
31
- #ifdef __cplusplus
32
- extern "C" {
33
- #endif
34
-
35
- /* Micrium uses NetSock I/O callbacks in wolfio.c */
36
- #if !defined(WOLFSSL_USER_IO)
37
- /* OCSP and CRL_IO require HTTP client */
38
- #if defined(HAVE_OCSP) || defined(HAVE_CRL_IO)
39
- #ifndef HAVE_HTTP_CLIENT
40
- #define HAVE_HTTP_CLIENT
41
- #endif
42
- #endif
43
- #endif
44
-
45
- #if !defined(WOLFSSL_USER_IO)
46
- /* Micrium uses NetSock I/O callbacks in wolfio.c */
47
- #if !defined(USE_WOLFSSL_IO) && !defined(MICRIUM) && \
48
- !defined(WOLFSSL_CONTIKI) && !defined(WOLFSSL_NO_SOCK)
49
- #define USE_WOLFSSL_IO
50
- #endif
51
- #endif
52
-
53
- #if defined(USE_WOLFSSL_IO) || defined(WOLFSSL_USER_IO) || \
54
- defined(HAVE_HTTP_CLIENT)
55
- #ifdef HAVE_LIBZ
56
- #include "zlib.h"
57
- #endif
58
-
59
- #if defined(__WATCOMC__)
60
- #if defined(__NT__)
61
- #elif defined(__OS2__)
62
- #include <errno.h>
63
- #include <os2.h>
64
- #include <sys/types.h>
65
- #include <os2/types.h>
66
- #include <sys/socket.h>
67
- #include <arpa/inet.h>
68
- #include <netinet/in.h>
69
- #include <nerrno.h>
70
- #include <sys/ioctl.h>
71
-
72
- typedef int socklen_t;
73
- #elif defined(__LINUX__)
74
- #include <sys/types.h>
75
- #include <errno.h>
76
- #include <unistd.h>
77
- #include <fcntl.h>
78
- #define XFCNTL(fd, flag, block) fcntl((fd), (flag), (block))
79
- #include <sys/socket.h>
80
- #include <arpa/inet.h>
81
- #include <netinet/in.h>
82
- #endif
83
- #elif defined(USE_WINDOWS_API)
84
- #include <winsock2.h>
85
- #include <ws2tcpip.h>
86
- #else
87
- #if defined(WOLFSSL_LWIP) && !defined(WOLFSSL_APACHE_MYNEWT)
88
- /* lwIP needs to be configured to use sockets API in this mode */
89
- /* LWIP_SOCKET 1 in lwip/opt.h or in build */
90
- #include "lwip/sockets.h"
91
- #ifndef LWIP_PROVIDE_ERRNO
92
- #include <errno.h>
93
- #define LWIP_PROVIDE_ERRNO 1
94
- #endif
95
- #elif defined(ARDUINO)
96
- /* board-specific */
97
- #if defined(__AVR__)
98
- /* No AVR specifics at this time */
99
- #elif defined(__arm__)
100
- /* No ARM specifics at this time */
101
- #elif defined(ESP8266)
102
- #define WOLFSSL_NO_SOCK
103
- #define WOLFSSL_USER_IO
104
- #define NO_WRITEV
105
- /* No Sockets on ESP8266, thus no DTLS */
106
- #elif defined(ESP32)
107
- #if defined(WOLFSSL_DTLS) || defined(WOLFSSL_DTLS13)
108
- #include <sys/socket.h>
109
- #include <netinet/in.h>
110
- #include <arpa/inet.h>
111
- #endif
112
- #else
113
- /* Add new boards here */
114
- #endif
115
- #elif defined(FREESCALE_MQX)
116
- #include <posix.h>
117
- #include <rtcs.h>
118
- #elif defined(FREESCALE_KSDK_MQX)
119
- #include <rtcs.h>
120
- #elif (defined(WOLFSSL_MDK_ARM) || defined(WOLFSSL_KEIL_TCP_NET))
121
- #include "rl_net.h"
122
- #include "errno.h"
123
- #elif defined(WOLFSSL_CMSIS_RTOS)
124
- #include "cmsis_os.h"
125
- #elif defined(WOLFSSL_CMSIS_RTOSv2)
126
- #include "cmsis_os2.h"
127
- #elif defined(WOLFSSL_TIRTOS)
128
- #include <sys/socket.h>
129
- #elif defined(FREERTOS_TCP)
130
- #include "FreeRTOS_Sockets.h"
131
- #elif defined(WOLFSSL_IAR_ARM)
132
- /* nothing */
133
- #elif defined(HAVE_NETX_BSD)
134
- #ifdef NETX_DUO
135
- #include "nxd_bsd.h"
136
- #else
137
- #include "nx_bsd.h"
138
- #endif
139
- #elif defined(WOLFSSL_VXWORKS)
140
- #include <sockLib.h>
141
- #include <errno.h>
142
- #elif defined(WOLFSSL_NUCLEUS_1_2)
143
- #include <externs.h>
144
- #include <errno.h>
145
- #elif defined(WOLFSSL_LINUXKM)
146
- /* the requisite linux/net.h is included in wc_port.h,
147
- * with incompatible warnings masked out. */
148
- #elif defined(WOLFSSL_BSDKM)
149
- /* definitions are in bsdkm/bsdkm_wc_port.h */
150
- #elif defined(WOLFSSL_ATMEL)
151
- #include "socket/include/socket.h"
152
- #elif defined(INTIME_RTOS)
153
- #undef MIN
154
- #undef MAX
155
- #include <rt.h>
156
- #include <sys/types.h>
157
- #include <sys/socket.h>
158
- #include <netdb.h>
159
- #include <netinet/in.h>
160
- #include <io.h>
161
- /* <sys/socket.h> defines these, to avoid conflict, do undef */
162
- #undef SOCKADDR
163
- #undef SOCKADDR_IN
164
- #elif defined(WOLFSSL_PRCONNECT_PRO)
165
- #include <prconnect_pro/prconnect_pro.h>
166
- #include <sys/types.h>
167
- #include <errno.h>
168
- #include <unistd.h>
169
- #include <fcntl.h>
170
- #elif defined(WOLFSSL_SGX)
171
- #include <errno.h>
172
- #elif defined(WOLFSSL_APACHE_MYNEWT) && !defined(WOLFSSL_LWIP)
173
- #include <mn_socket/mn_socket.h>
174
- #elif defined(WOLFSSL_DEOS)
175
- #include <socketapi.h>
176
- #include <lwip-socket.h>
177
- #include <errno.h>
178
- #elif defined(WOLFSSL_ZEPHYR)
179
- #include <version.h>
180
- #if KERNEL_VERSION_NUMBER >= 0x30100
181
- #include <zephyr/net/socket.h>
182
- #ifdef CONFIG_POSIX_API
183
- #include <zephyr/posix/sys/socket.h>
184
- #endif
185
- #else
186
- #include <net/socket.h>
187
- #ifdef CONFIG_POSIX_API
188
- #include <posix/sys/socket.h>
189
- #endif
190
- #endif
191
- #elif defined(MICROCHIP_PIC32)
192
- #include <sys/errno.h>
193
- #elif defined(HAVE_NETX)
194
- #include "nx_api.h"
195
- #include "errno.h"
196
- #elif defined(FUSION_RTOS)
197
- #include <sys/fcltypes.h>
198
- #include <fclerrno.h>
199
- #include <fclfcntl.h>
200
- #elif defined(WOLFSSL_EMNET)
201
- #include <IP/IP.h>
202
- #elif !defined(WOLFSSL_NO_SOCK)
203
- #include <sys/types.h>
204
- #include <errno.h>
205
- #ifndef EBSNET
206
- #include <unistd.h>
207
- #endif
208
- #include <fcntl.h>
209
- #define XFCNTL(fd, flag, block) fcntl((fd), (flag), (block))
210
-
211
- #if defined(HAVE_RTP_SYS)
212
- #include <socket.h>
213
- #elif defined(EBSNET)
214
- #include "rtipapi.h" /* errno */
215
- #include "socket.h"
216
- #elif defined(NETOS)
217
- #include <sockapi.h>
218
- #elif defined(NUCLEUS_PLUS_2_3)
219
- #define SO_TYPE 17 /* Socket type */
220
- #define SO_RCVTIMEO 13 /* Recv Timeout */
221
- #elif !defined(DEVKITPRO) && !defined(WOLFSSL_PICOTCP) \
222
- && !defined(WOLFSSL_CONTIKI) && !defined(WOLFSSL_WICED) \
223
- && !defined(WOLFSSL_GNRC) && !defined(WOLFSSL_RIOT_OS)
224
- #include <sys/socket.h>
225
- #include <arpa/inet.h>
226
- #include <netinet/in.h>
227
- #ifdef __PPU
228
- #include <netex/errno.h>
229
- #else
230
- #endif
231
- #endif
232
- #endif
233
-
234
- #if defined(WOLFSSL_RENESAS_RA6M3G) || defined(WOLFSSL_RENESAS_RA6M3) ||\
235
- defined(WOLFSSL_RENESAS_RA6M4) || \
236
- defined(WOLFSSL_RENESAS_RZN2L)
237
- /* Uses FREERTOS_TCP */
238
- #include <errno.h>
239
- #endif
240
-
241
- #if defined(WOLFSSL_EMBOS)
242
- #include <errno.h>
243
- #endif
244
- #endif /* USE_WINDOWS_API */
245
-
246
- #ifdef __sun
247
- #include <sys/filio.h>
248
- #endif
249
-
250
- #define SOCKET_RECEIVING 1
251
- #define SOCKET_SENDING 2
252
-
253
- #ifdef __WATCOMC__
254
- #if defined(__NT__)
255
- /* no epipe yet */
256
- #ifndef WSAEPIPE
257
- #define WSAEPIPE -12345
258
- #endif
259
- #define SOCKET_EWOULDBLOCK WSAEWOULDBLOCK
260
- #define SOCKET_EAGAIN WSAETIMEDOUT
261
- #define SOCKET_ETIMEDOUT WSAETIMEDOUT
262
- #define SOCKET_ECONNRESET WSAECONNRESET
263
- #define SOCKET_EINTR WSAEINTR
264
- #define SOCKET_EPIPE WSAEPIPE
265
- #define SOCKET_ECONNREFUSED WSAENOTCONN
266
- #define SOCKET_ECONNABORTED WSAECONNABORTED
267
- #elif defined(__OS2__)
268
- #define SOCKET_EWOULDBLOCK SOCEWOULDBLOCK
269
- #define SOCKET_EAGAIN SOCEAGAIN
270
- #define SOCKET_ETIMEDOUT SOCETIMEDOUT
271
- #define SOCKET_ECONNRESET SOCECONNRESET
272
- #define SOCKET_EINTR SOCEINTR
273
- #define SOCKET_EPIPE SOCEPIPE
274
- #define SOCKET_ECONNREFUSED SOCECONNREFUSED
275
- #define SOCKET_ECONNABORTED SOCECONNABORTED
276
- #elif defined(__UNIX__)
277
- #define SOCKET_EWOULDBLOCK EWOULDBLOCK
278
- #define SOCKET_EAGAIN EAGAIN
279
- #define SOCKET_ETIMEDOUT ETIMEDOUT
280
- #define SOCKET_ECONNRESET ECONNRESET
281
- #define SOCKET_EINTR EINTR
282
- #define SOCKET_EPIPE EPIPE
283
- #define SOCKET_ECONNREFUSED ECONNREFUSED
284
- #define SOCKET_ECONNABORTED ECONNABORTED
285
- #endif
286
- #elif defined(ARDUINO)
287
- #if defined(WOLFSSL_DTLS) || defined(WOLFSSL_DTLS13)
288
- #define SOCKADDR_S struct sockaddr_storage
289
- #define SOCKADDR struct sockaddr
290
- #define SOCKADDR_IN struct sockaddr_in
291
- #endif
292
- #define SOCKET_EWOULDBLOCK EWOULDBLOCK
293
- #define SOCKET_EAGAIN EAGAIN
294
- #define SOCKET_ETIMEDOUT ETIMEDOUT
295
- #define SOCKET_ECONNRESET ECONNRESET
296
- #define SOCKET_EINTR EINTR
297
- #define SOCKET_EPIPE EPIPE
298
- #define SOCKET_ECONNREFUSED ECONNREFUSED
299
- #define SOCKET_ECONNABORTED ECONNABORTED
300
- #elif defined(USE_WINDOWS_API)
301
- /* no epipe yet */
302
- #ifndef WSAEPIPE
303
- #define WSAEPIPE -12345
304
- #endif
305
- #define SOCKET_EWOULDBLOCK WSAEWOULDBLOCK
306
- #define SOCKET_EAGAIN WSAETIMEDOUT
307
- #define SOCKET_ETIMEDOUT WSAETIMEDOUT
308
- #define SOCKET_ECONNRESET WSAECONNRESET
309
- #define SOCKET_EINTR WSAEINTR
310
- #define SOCKET_EPIPE WSAEPIPE
311
- #define SOCKET_ECONNREFUSED WSAENOTCONN
312
- #define SOCKET_ECONNABORTED WSAECONNABORTED
313
- #elif defined(__PPU)
314
- #define SOCKET_EWOULDBLOCK SYS_NET_EWOULDBLOCK
315
- #define SOCKET_EAGAIN SYS_NET_EAGAIN
316
- #define SOCKET_ECONNRESET SYS_NET_ECONNRESET
317
- #define SOCKET_EINTR SYS_NET_EINTR
318
- #define SOCKET_EPIPE SYS_NET_EPIPE
319
- #define SOCKET_ECONNREFUSED SYS_NET_ECONNREFUSED
320
- #define SOCKET_ECONNABORTED SYS_NET_ECONNABORTED
321
- #elif defined(FREESCALE_MQX) || defined(FREESCALE_KSDK_MQX)
322
- #if (defined(MQX_USE_IO_OLD) && MQX_USE_IO_OLD) || \
323
- defined(FREESCALE_MQX_5_0)
324
- /* RTCS old I/O doesn't have an EWOULDBLOCK */
325
- #define SOCKET_EWOULDBLOCK EAGAIN
326
- #define SOCKET_EAGAIN EAGAIN
327
- #define SOCKET_ETIMEDOUT RTCSERR_TCP_TIMED_OUT
328
- #define SOCKET_ECONNRESET RTCSERR_TCP_CONN_RESET
329
- #define SOCKET_EINTR EINTR
330
- #define SOCKET_EPIPE EPIPE
331
- #define SOCKET_ECONNREFUSED RTCSERR_TCP_CONN_REFUSED
332
- #define SOCKET_ECONNABORTED RTCSERR_TCP_CONN_ABORTED
333
- #else
334
- #define SOCKET_EWOULDBLOCK NIO_EWOULDBLOCK
335
- #define SOCKET_EAGAIN NIO_EAGAIN
336
- #define SOCKET_ETIMEDOUT NIO_ETIMEDOUT
337
- #define SOCKET_ECONNRESET NIO_ECONNRESET
338
- #define SOCKET_EINTR NIO_EINTR
339
- #define SOCKET_EPIPE NIO_EPIPE
340
- #define SOCKET_ECONNREFUSED NIO_ECONNREFUSED
341
- #define SOCKET_ECONNABORTED NIO_ECONNABORTED
342
- #endif
343
- #elif defined(WOLFSSL_MDK_ARM)|| defined(WOLFSSL_KEIL_TCP_NET)
344
- #define SOCKET_EWOULDBLOCK BSD_ERROR_WOULDBLOCK
345
- #define SOCKET_EAGAIN BSD_ERROR_LOCKED
346
- #define SOCKET_ECONNRESET BSD_ERROR_CLOSED
347
- #define SOCKET_EINTR BSD_ERROR
348
- #define SOCKET_EPIPE BSD_ERROR
349
- #define SOCKET_ECONNREFUSED BSD_ERROR
350
- #define SOCKET_ECONNABORTED BSD_ERROR
351
- #elif defined(WOLFSSL_PICOTCP)
352
- #define SOCKET_EWOULDBLOCK PICO_ERR_EAGAIN
353
- #define SOCKET_EAGAIN PICO_ERR_EAGAIN
354
- #define SOCKET_ETIMEDOUT PICO_ERR_ETIMEDOUT
355
- #define SOCKET_ECONNRESET PICO_ERR_ECONNRESET
356
- #define SOCKET_EINTR PICO_ERR_EINTR
357
- #define SOCKET_EPIPE PICO_ERR_EIO
358
- #define SOCKET_ECONNREFUSED PICO_ERR_ECONNREFUSED
359
- #define SOCKET_ECONNABORTED PICO_ERR_ESHUTDOWN
360
- #elif defined(FREERTOS_TCP)
361
- #define SOCKET_EWOULDBLOCK FREERTOS_EWOULDBLOCK
362
- #define SOCKET_EAGAIN FREERTOS_EWOULDBLOCK
363
- #define SOCKET_ETIMEDOUT (-pdFREERTOS_ERRNO_ETIMEDOUT)
364
- #define SOCKET_ECONNRESET FREERTOS_SOCKET_ERROR
365
- #define SOCKET_EINTR FREERTOS_SOCKET_ERROR
366
- #define SOCKET_EPIPE FREERTOS_SOCKET_ERROR
367
- #define SOCKET_ECONNREFUSED FREERTOS_SOCKET_ERROR
368
- #define SOCKET_ECONNABORTED FREERTOS_SOCKET_ERROR
369
- #elif defined(WOLFSSL_NUCLEUS_1_2)
370
- #define SOCKET_EWOULDBLOCK NU_WOULD_BLOCK
371
- #define SOCKET_EAGAIN NU_WOULD_BLOCK
372
- #define SOCKET_ECONNRESET NU_NOT_CONNECTED
373
- #define SOCKET_EINTR NU_NOT_CONNECTED
374
- #define SOCKET_EPIPE NU_NOT_CONNECTED
375
- #define SOCKET_ECONNREFUSED NU_CONNECTION_REFUSED
376
- #define SOCKET_ECONNABORTED NU_NOT_CONNECTED
377
- #elif defined(NUCLEUS_PLUS_2_3)
378
- #define SOCKET_EWOULDBLOCK NU_WOULD_BLOCK
379
- #define SOCKET_EAGAIN NU_NO_DATA
380
- #define SOCKET_ECONNRESET NU_RESET
381
- #define SOCKET_EINTR 0
382
- #define SOCKET_EPIPE 0
383
- #define SOCKET_ECONNREFUSED NU_CONNECTION_REFUSED
384
- #define SOCKET_ECONNABORTED NU_CONNECTION_REFUSED
385
- #elif defined(WOLFSSL_DEOS)
386
- /* `sockaddr_storage` is not defined in DEOS. This workaround will
387
- * work for IPV4, but not IPV6
388
- */
389
- #define sockaddr_storage sockaddr_in
390
- #define SOCKET_EWOULDBLOCK EAGAIN
391
- #define SOCKET_EAGAIN EAGAIN
392
- #define SOCKET_ECONNRESET EINTR
393
- #define SOCKET_EINTR EINTR
394
- #define SOCKET_EPIPE EPIPE
395
- #define SOCKET_ECONNREFUSED SOCKET_ERROR
396
- #define SOCKET_ECONNABORTED SOCKET_ERROR
397
- #elif defined(HAVE_NETX)
398
- #define SOCKET_EWOULDBLOCK NX_NOT_CONNECTED
399
- #define SOCKET_EAGAIN NX_NOT_CONNECTED
400
- #define SOCKET_ECONNRESET NX_NOT_CONNECTED
401
- #define SOCKET_EINTR NX_NOT_CONNECTED
402
- #define SOCKET_EPIPE NX_NOT_CONNECTED
403
- #define SOCKET_ECONNREFUSED NX_NOT_CONNECTED
404
- #define SOCKET_ECONNABORTED NX_NOT_CONNECTED
405
- #elif defined(FUSION_RTOS)
406
- #define SOCKET_EWOULDBLOCK FCL_EWOULDBLOCK
407
- #define SOCKET_EAGAIN FCL_EAGAIN
408
- #define SOCKET_ECONNRESET FNS_ECONNRESET
409
- #define SOCKET_EINTR FCL_EINTR
410
- #define SOCKET_EPIPE FCL_EPIPE
411
- #define SOCKET_ECONNREFUSED FCL_ECONNREFUSED
412
- #define SOCKET_ECONNABORTED FNS_ECONNABORTED
413
- #elif defined(WOLFSSL_LWIP_NATIVE)
414
- #define SOCKET_EWOULDBLOCK ERR_WOULDBLOCK
415
- #define SOCKET_EAGAIN ERR_WOULDBLOCK
416
- #define SOCKET_TIMEDOUT ERR_TIMEOUT
417
- #define SOCKET_ECONNRESET ERR_RST
418
- #define SOCKET_EINTR ERR_CLSD
419
- #define SOCKET_EPIPE ERR_CLSD
420
- #define SOCKET_ECONNREFUSED ERR_CONN
421
- #define SOCKET_ECONNABORTED ERR_ABRT
422
- #elif defined(WOLFSSL_EMNET)
423
- #define XSOCKLENT int
424
- #define SOCKET_EWOULDBLOCK IP_ERR_WOULD_BLOCK
425
- #define SOCKET_EAGAIN IP_ERR_WOULD_BLOCK
426
- #define SOCKET_ECONNRESET IP_ERR_CONN_RESET
427
- #define SOCKET_EINTR IP_ERR_FAULT
428
- #define SOCKET_EPIPE IP_ERR_PIPE
429
- #define SOCKET_ECONNREFUSED IP_ERR_CONN_REFUSED
430
- #define SOCKET_ECONNABORTED IP_ERR_CONN_ABORTED
431
- #else
432
- #define SOCKET_EWOULDBLOCK EWOULDBLOCK
433
- #define SOCKET_EAGAIN EAGAIN
434
- #define SOCKET_ETIMEDOUT ETIMEDOUT
435
- #define SOCKET_ECONNRESET ECONNRESET
436
- #define SOCKET_EINTR EINTR
437
- #define SOCKET_EPIPE EPIPE
438
- #define SOCKET_ECONNREFUSED ECONNREFUSED
439
- #define SOCKET_ECONNABORTED ECONNABORTED
440
- #endif /* __WATCOMC__ || ARDUINO || USE_WINDOWS_API || __PPU || .. etc */
441
-
442
- #ifdef DEVKITPRO
443
- /* from network.h */
444
- #include <network.h>
445
- #define SEND_FUNCTION net_send
446
- #define RECV_FUNCTION net_recv
447
- #elif defined(WOLFSSL_ESPIDF)
448
- #define SEND_FUNCTION send
449
- #define RECV_FUNCTION recv
450
- #if !defined(HAVE_SOCKADDR) && !defined(WOLFSSL_NO_SOCK)
451
- #define HAVE_SOCKADDR
452
- #endif
453
- #elif defined(WOLFSSL_LWIP) && !defined(WOLFSSL_APACHE_MYNEWT)
454
- #define SEND_FUNCTION lwip_send
455
- #define RECV_FUNCTION lwip_recv
456
- #elif defined(WOLFSSL_PICOTCP)
457
- #define SEND_FUNCTION pico_send
458
- #define RECV_FUNCTION pico_recv
459
- #elif defined(FREERTOS_TCP)
460
- #define RECV_FUNCTION(a,b,c,d) FreeRTOS_recv((Socket_t)(a),(void*)(b), (size_t)(c), (BaseType_t)(d))
461
- #define SEND_FUNCTION(a,b,c,d) FreeRTOS_send((Socket_t)(a),(void*)(b), (size_t)(c), (BaseType_t)(d))
462
- #elif defined(WOLFSSL_VXWORKS)
463
- /*socket.h already has "typedef struct sockaddr SOCKADDR;"
464
- so don't redefine it in wolfSSL */
465
- #define HAVE_SOCKADDR_DEFINED
466
- #define SEND_FUNCTION send
467
- #define RECV_FUNCTION recv
468
- #elif defined(WOLFSSL_NUCLEUS_1_2)
469
- #define SEND_FUNCTION NU_Send
470
- #define RECV_FUNCTION NU_Recv
471
- #elif defined(NUCLEUS_PLUS_2_3)
472
- #define SEND_FUNCTION nucyassl_send
473
- #define RECV_FUNCTION nucyassl_recv
474
- #define DTLS_RECVFROM_FUNCTION nucyassl_recvfrom
475
- #define DTLS_SENDTO_FUNCTION nucyassl_sendto
476
- #elif defined(FUSION_RTOS)
477
- #define SEND_FUNCTION FNS_SEND
478
- #define RECV_FUNCTION FNS_RECV
479
- #elif defined(WOLFSSL_ZEPHYR)
480
- #ifndef WOLFSSL_MAX_SEND_SZ
481
- #define WOLFSSL_MAX_SEND_SZ 256
482
- #endif
483
-
484
- #define SEND_FUNCTION send
485
- #define RECV_FUNCTION recv
486
- #elif defined(WOLFSSL_LINUXKM)
487
- #define SEND_FUNCTION linuxkm_send
488
- #define RECV_FUNCTION linuxkm_recv
489
- #elif defined(WOLFSSL_SGX)
490
- #define SEND_FUNCTION send
491
- #define RECV_FUNCTION recv
492
- #else
493
- #define SEND_FUNCTION send
494
- #define RECV_FUNCTION recv
495
- #if !defined(HAVE_SOCKADDR) && !defined(WOLFSSL_NO_SOCK)
496
- #define HAVE_SOCKADDR
497
- #endif
498
- #endif
499
-
500
- #ifndef WOLFSSL_NO_SOCK
501
- #ifndef XSOCKLENT
502
- #ifdef USE_WINDOWS_API
503
- #define XSOCKLENT int
504
- #elif defined(NUCLEUS_PLUS_2_3)
505
- typedef int socklen_t;
506
- #define XSOCKLENT socklen_t
507
- #else
508
- #define XSOCKLENT socklen_t
509
- #endif
510
- #endif
511
- #ifndef XSOCKOPT_TYPE_OPTVAL_TYPE
512
- #ifndef USE_WINDOWS_API
513
- #define XSOCKOPT_TYPE_OPTVAL_TYPE void*
514
- #else
515
- #define XSOCKOPT_TYPE_OPTVAL_TYPE char*
516
- #endif
517
- #endif
518
-
519
- /* Socket Addr Support */
520
- #ifdef HAVE_SOCKADDR
521
- #ifndef HAVE_SOCKADDR_DEFINED
522
- typedef struct sockaddr SOCKADDR;
523
- #endif
524
- typedef struct sockaddr_storage SOCKADDR_S;
525
- typedef struct sockaddr_in SOCKADDR_IN;
526
- #ifdef WOLFSSL_IPV6
527
- typedef struct sockaddr_in6 SOCKADDR_IN6;
528
- #endif
529
- #if defined(HAVE_SYS_UN_H) && !defined(WOLFSSL_NO_SOCKADDR_UN)
530
- #include <sys/un.h>
531
- typedef struct sockaddr_un SOCKADDR_UN;
532
- #endif
533
- typedef struct hostent HOSTENT;
534
- #endif /* HAVE_SOCKADDR */
535
-
536
- #if defined(HAVE_GETADDRINFO)
537
- typedef struct addrinfo ADDRINFO;
538
- #endif
539
- #endif /* WOLFSSL_NO_SOCK */
540
-
541
-
542
- /* IO API's */
543
- #ifdef HAVE_IO_TIMEOUT
544
- WOLFSSL_API int wolfIO_SetBlockingMode(SOCKET_T sockfd, int non_blocking);
545
- WOLFSSL_API void wolfIO_SetTimeout(int to_sec);
546
- WOLFSSL_API int wolfIO_Select(SOCKET_T sockfd, int to_sec);
547
- #endif
548
- WOLFSSL_API int wolfIO_TcpConnect(SOCKET_T* sockfd, const char* ip,
549
- unsigned short port, int to_sec);
550
- #ifdef HAVE_SOCKADDR
551
- WOLFSSL_API int wolfIO_TcpAccept(SOCKET_T sockfd, SOCKADDR* peer_addr, XSOCKLENT* peer_len);
552
- #endif
553
- WOLFSSL_API int wolfIO_TcpBind(SOCKET_T* sockfd, word16 port);
554
- WOLFSSL_API int wolfIO_Send(SOCKET_T sd, char *buf, int sz, int wrFlags);
555
- WOLFSSL_API int wolfIO_Recv(SOCKET_T sd, char *buf, int sz, int rdFlags);
556
-
557
- #ifdef WOLFSSL_HAVE_BIO_ADDR
558
-
559
- #ifdef WOLFSSL_NO_SOCK
560
- #error WOLFSSL_HAVE_BIO_ADDR and WOLFSSL_NO_SOCK are mutually incompatible.
561
- #endif
562
-
563
- union WOLFSSL_BIO_ADDR {
564
- SOCKADDR sa;
565
- SOCKADDR_IN sa_in;
566
- #ifdef WOLFSSL_IPV6
567
- SOCKADDR_IN6 sa_in6;
568
- #endif
569
- #if defined(HAVE_SYS_UN_H) && !defined(WOLFSSL_NO_SOCKADDR_UN)
570
- SOCKADDR_UN sa_un;
571
- #endif
572
- };
573
-
574
- typedef union WOLFSSL_BIO_ADDR WOLFSSL_BIO_ADDR;
575
-
576
- #if defined(WOLFSSL_DTLS) && defined(OPENSSL_EXTRA)
577
- WOLFSSL_API int wolfIO_SendTo(SOCKET_T sd, WOLFSSL_BIO_ADDR *addr, char *buf, int sz, int wrFlags);
578
- WOLFSSL_API int wolfIO_RecvFrom(SOCKET_T sd, WOLFSSL_BIO_ADDR *addr, char *buf, int sz, int rdFlags);
579
- #endif
580
-
581
- #endif /* WOLFSSL_HAVE_BIO_ADDR */
582
-
583
- #endif /* USE_WOLFSSL_IO || HAVE_HTTP_CLIENT */
584
-
585
- #ifndef WOLFSSL_NO_SOCK
586
- #ifdef USE_WINDOWS_API
587
- #ifndef CloseSocket
588
- #define CloseSocket(s) closesocket(s)
589
- #endif
590
- #define StartTCP() { WSADATA wsd; WSAStartup(0x0002, &wsd); }
591
- #elif defined(WOLFSSL_MDK_ARM) || defined(WOLFSSL_KEIL_TCP_NET)
592
- #ifndef CloseSocket
593
- extern int closesocket(int);
594
- #define CloseSocket(s) closesocket(s)
595
- #endif
596
- #define StartTCP() WC_DO_NOTHING
597
- #elif defined(FUSION_RTOS)
598
- #ifndef CloseSocket
599
- #define CloseSocket(s) do { \
600
- int err; \
601
- FNS_CLOSE(s, &err); \
602
- } while(0)
603
- #endif
604
- #define StartTCP() WC_DO_NOTHING
605
- #else
606
- #ifndef CloseSocket
607
- #define CloseSocket(s) close(s)
608
- #endif
609
- #define StartTCP() WC_DO_NOTHING
610
- #ifdef FREERTOS_TCP_WINSIM
611
- extern int close(int);
612
- #endif
613
- #endif
614
- #endif /* WOLFSSL_NO_SOCK */
615
-
616
- WOLFSSL_API int wolfSSL_BioSend(WOLFSSL* ssl, char *buf, int sz, void *ctx);
617
- WOLFSSL_API int wolfSSL_BioReceive(WOLFSSL* ssl, char* buf, int sz, void* ctx);
618
- #ifndef OPENSSL_COEXIST
619
- /* Preserve API previously exposed */
620
- #define BioSend wolfSSL_BioSend
621
- #define BioReceive wolfSSL_BioReceive
622
- #endif
623
-
624
- WOLFSSL_LOCAL int SslBioSend(WOLFSSL* ssl, char *buf, int sz, void *ctx);
625
- #if defined(OPENSSL_EXTRA) || defined(OPENSSL_EXTRA_X509_SMALL)
626
- WOLFSSL_LOCAL int BioReceiveInternal(WOLFSSL_BIO* biord, WOLFSSL_BIO* biowr,
627
- char* buf, int sz);
628
- #endif
629
- WOLFSSL_LOCAL int SslBioReceive(WOLFSSL* ssl, char* buf, int sz, void* ctx);
630
-
631
- #ifdef WOLFSSL_DTLS
632
- typedef ssize_t (*WolfSSLRecvFrom)(int sockfd, void* buf, size_t len, int flags,
633
- void* src_addr, void* addrlen);
634
- typedef ssize_t (*WolfSSLSento)(int sockfd, const void* buf, size_t len, int flags,
635
- const void* dest_addr, word32 addrlen);
636
- WOLFSSL_API void wolfSSL_SetRecvFrom(WOLFSSL* ssl, WolfSSLRecvFrom recvFrom);
637
- WOLFSSL_API void wolfSSL_SetSendTo(WOLFSSL* ssl, WolfSSLSento sendTo);
638
- #endif
639
- #if defined(USE_WOLFSSL_IO)
640
- /* default IO callbacks */
641
-
642
- #ifdef WOLFSSL_API_PREFIX_MAP
643
- #define EmbedReceive wolfSSL_EmbedReceive
644
- #define EmbedSend wolfSSL_EmbedSend
645
- #ifdef WOLFSSL_DTLS
646
- #define EmbedReceiveFrom wolfSSL_EmbedReceiveFrom
647
- #define EmbedSendTo wolfSSL_EmbedSendTo
648
- #define EmbedGenerateCookie wolfSSL_EmbedGenerateCookie
649
- #ifdef WOLFSSL_MULTICAST
650
- #define EmbedReceiveFromMcast wolfSSL_EmbedReceiveFromMcast
651
- #endif /* WOLFSSL_MULTICAST */
652
- #endif /* WOLFSSL_DTLS */
653
- #endif /* WOLFSSL_API_PREFIX_MAP */
654
-
655
- WOLFSSL_API int EmbedReceive(WOLFSSL* ssl, char* buf, int sz, void* ctx);
656
- WOLFSSL_API int EmbedSend(WOLFSSL* ssl, char* buf, int sz, void* ctx);
657
-
658
- #ifdef WOLFSSL_DTLS
659
- #ifdef NUCLEUS_PLUS_2_3
660
- #define SELECT_FUNCTION nucyassl_select
661
- WOLFSSL_LOCAL int nucyassl_select(INT sd, UINT32 timeout);
662
- #endif
663
- WOLFSSL_API int EmbedReceiveFrom(WOLFSSL *ssl, char *buf, int sz,
664
- void *ctx);
665
- WOLFSSL_API int EmbedSendTo(WOLFSSL* ssl, char *buf, int sz, void *ctx);
666
- WOLFSSL_API int EmbedGenerateCookie(WOLFSSL* ssl, byte *buf, int sz,
667
- void *ctx);
668
- #ifdef WOLFSSL_MULTICAST
669
- WOLFSSL_API int EmbedReceiveFromMcast(WOLFSSL *ssl, char *buf,
670
- int sz, void *ctx);
671
- #endif /* WOLFSSL_MULTICAST */
672
- #endif /* WOLFSSL_DTLS */
673
- #endif /* USE_WOLFSSL_IO */
674
-
675
-
676
- typedef int (*WolfSSLGenericIORecvCb)(char *buf, int sz, void *ctx);
677
- #ifdef HAVE_OCSP
678
- WOLFSSL_API int wolfIO_HttpBuildRequestOcsp(const char* domainName,
679
- const char* path, int ocspReqSz, unsigned char* buf, int bufSize);
680
- WOLFSSL_API int wolfIO_HttpProcessResponseOcspGenericIO(
681
- WolfSSLGenericIORecvCb ioCb, void* ioCbCtx, unsigned char** respBuf,
682
- unsigned char* httpBuf, int httpBufSz, void* heap);
683
- WOLFSSL_API int wolfIO_HttpProcessResponseOcsp(int sfd,
684
- unsigned char** respBuf, unsigned char* httpBuf, int httpBufSz,
685
- void* heap);
686
-
687
- #ifdef WOLFSSL_API_PREFIX_MAP
688
- #define EmbedOcspLookup wolfSSL_EmbedOcspLookup
689
- #define EmbedOcspRespFree wolfSSL_EmbedOcspRespFree
690
- #endif
691
- WOLFSSL_API int EmbedOcspLookup(void* ctx, const char* url, int urlSz,
692
- byte* ocspReqBuf, int ocspReqSz, byte** ocspRespBuf);
693
- WOLFSSL_API void EmbedOcspRespFree(void* ctx, byte *resp);
694
- #endif
695
-
696
- #ifdef HAVE_CRL_IO
697
- WOLFSSL_API int wolfIO_HttpBuildRequestCrl(const char* url, int urlSz,
698
- const char* domainName, unsigned char* buf, int bufSize);
699
- WOLFSSL_API int wolfIO_HttpProcessResponseCrl(WOLFSSL_CRL* crl, int sfd,
700
- unsigned char* httpBuf, int httpBufSz);
701
-
702
- #ifdef WOLFSSL_API_PREFIX_MAP
703
- #define EmbedCrlLookup wolfSSL_EmbedCrlLookup
704
- #endif
705
- WOLFSSL_API int EmbedCrlLookup(WOLFSSL_CRL* crl, const char* url,
706
- int urlSz);
707
- #endif
708
-
709
-
710
- #if defined(HAVE_HTTP_CLIENT)
711
- WOLFSSL_API int wolfIO_DecodeUrl(const char* url, int urlSz, char* outName,
712
- char* outPath, unsigned short* outPort);
713
-
714
- WOLFSSL_API int wolfIO_HttpBuildRequest(const char* reqType,
715
- const char* domainName, const char* path, int pathLen, int reqSz,
716
- const char* contentType, unsigned char* buf, int bufSize);
717
- WOLFSSL_LOCAL int wolfIO_HttpBuildRequest_ex(const char* reqType,
718
- const char* domainName, const char* path, int pathLen, int reqSz,
719
- const char* contentType, const char *exHdrs, unsigned char* buf, int bufSize);
720
- WOLFSSL_API int wolfIO_HttpProcessResponseGenericIO(
721
- WolfSSLGenericIORecvCb ioCb, void* ioCbCtx, const char** appStrList,
722
- unsigned char** respBuf, unsigned char* httpBuf, int httpBufSz,
723
- int dynType, void* heap);
724
- WOLFSSL_API int wolfIO_HttpProcessResponse(int sfd, const char** appStrList,
725
- unsigned char** respBuf, unsigned char* httpBuf, int httpBufSz,
726
- int dynType, void* heap);
727
- #endif /* HAVE_HTTP_CLIENT */
728
-
729
-
730
- /* I/O callbacks */
731
- typedef int (*CallbackIORecv)(WOLFSSL *ssl, char *buf, int sz, void *ctx);
732
- typedef int (*CallbackIOSend)(WOLFSSL *ssl, char *buf, int sz, void *ctx);
733
- WOLFSSL_API void wolfSSL_CTX_SetIORecv(WOLFSSL_CTX *ctx, CallbackIORecv CBIORecv);
734
- WOLFSSL_API void wolfSSL_CTX_SetIOSend(WOLFSSL_CTX *ctx, CallbackIOSend CBIOSend);
735
- WOLFSSL_API void wolfSSL_SSLSetIORecv(WOLFSSL *ssl, CallbackIORecv CBIORecv);
736
- WOLFSSL_API void wolfSSL_SSLSetIOSend(WOLFSSL *ssl, CallbackIOSend CBIOSend);
737
- WOLFSSL_API void wolfSSL_SSLDisableRead(WOLFSSL *ssl);
738
- WOLFSSL_API void wolfSSL_SSLEnableRead(WOLFSSL *ssl);
739
- /* deprecated old name */
740
- #define wolfSSL_SetIORecv wolfSSL_CTX_SetIORecv
741
- #define wolfSSL_SetIOSend wolfSSL_CTX_SetIOSend
742
-
743
- WOLFSSL_API void wolfSSL_SetIOReadCtx( WOLFSSL* ssl, void *ctx);
744
- WOLFSSL_API void wolfSSL_SetIOWriteCtx(WOLFSSL* ssl, void *ctx);
745
-
746
- WOLFSSL_API void* wolfSSL_GetIOReadCtx( WOLFSSL* ssl);
747
- WOLFSSL_API void* wolfSSL_GetIOWriteCtx(WOLFSSL* ssl);
748
-
749
- WOLFSSL_API void wolfSSL_SetIOReadFlags( WOLFSSL* ssl, int flags);
750
- WOLFSSL_API void wolfSSL_SetIOWriteFlags(WOLFSSL* ssl, int flags);
751
-
752
- #ifdef HAVE_NETX
753
- WOLFSSL_LOCAL int NetX_Receive(WOLFSSL *ssl, char *buf, int sz, void *ctx);
754
- WOLFSSL_LOCAL int NetX_Send(WOLFSSL *ssl, char *buf, int sz, void *ctx);
755
-
756
- WOLFSSL_API void wolfSSL_SetIO_NetX(WOLFSSL* ssl, NX_TCP_SOCKET* nxsocket,
757
- ULONG waitoption);
758
- #endif /* HAVE_NETX */
759
-
760
- #ifdef MICRIUM
761
- WOLFSSL_LOCAL int MicriumSend(WOLFSSL* ssl, char* buf, int sz, void* ctx);
762
- WOLFSSL_LOCAL int MicriumReceive(WOLFSSL* ssl, char* buf, int sz,
763
- void* ctx);
764
- WOLFSSL_LOCAL int MicriumReceiveFrom(WOLFSSL* ssl, char* buf, int sz,
765
- void* ctx);
766
- WOLFSSL_LOCAL int MicriumSendTo(WOLFSSL* ssl, char* buf, int sz, void* ctx);
767
- #endif /* MICRIUM */
768
-
769
- #if defined(WOLFSSL_APACHE_MYNEWT) && !defined(WOLFSSL_LWIP)
770
- WOLFSSL_LOCAL int Mynewt_Receive(WOLFSSL *ssl, char *buf, int sz, void *ctx);
771
- WOLFSSL_LOCAL int Mynewt_Send(WOLFSSL* ssl, char *buf, int sz, void *ctx);
772
- WOLFSSL_API void wolfSSL_SetIO_Mynewt(WOLFSSL* ssl, struct mn_socket* mnSocket,
773
- struct mn_sockaddr_in* mnSockAddrIn);
774
- #endif /* defined(WOLFSSL_APACHE_MYNEWT) && !defined(WOLFSSL_LWIP) */
775
-
776
- #ifdef WOLFSSL_UIP
777
-
778
- struct uip_wolfssl_ctx {
779
- union socket_connector {
780
- struct tcp_socket tcp;
781
- struct udp_socket udp;
782
- } conn;
783
- WOLFSSL_CTX *ctx;
784
- WOLFSSL *ssl;
785
- byte *input_databuf;
786
- byte *output_databuf;
787
- byte *ssl_rx_databuf;
788
- int ssl_rb_len;
789
- int ssl_rb_off;
790
- struct process *process;
791
- tcp_socket_data_callback_t input_callback;
792
- tcp_socket_event_callback_t event_callback;
793
- int closing;
794
- uip_ipaddr_t peer_addr;
795
- word16 peer_port;
796
- };
797
-
798
- typedef struct uip_wolfssl_ctx uip_wolfssl_ctx;
799
-
800
- WOLFSSL_LOCAL int uIPSend(WOLFSSL* ssl, char* buf, int sz, void* ctx);
801
- WOLFSSL_LOCAL int uIPReceive(WOLFSSL* ssl, char* buf, int sz,
802
- void* ctx);
803
- WOLFSSL_LOCAL int uIPReceiveFrom(WOLFSSL* ssl, char* buf, int sz,
804
- void* ctx);
805
- WOLFSSL_LOCAL int uIPSendTo(WOLFSSL* ssl, char* buf, int sz, void* ctx);
806
-
807
- #endif
808
-
809
- #ifdef WOLFSSL_GNRC
810
- #include <sock_types.h>
811
- #include <net/gnrc.h>
812
- #include <net/af.h>
813
- #include <net/sock.h>
814
- #include <net/gnrc/tcp.h>
815
- #include <net/gnrc/udp.h>
816
-
817
- struct gnrc_wolfssl_ctx {
818
- union socket_connector {
819
- #ifdef MODULE_SOCK_TCP
820
- sock_tcp_t tcp;
821
- #endif
822
- sock_udp_t udp;
823
- } conn;
824
- WOLFSSL_CTX *ctx;
825
- WOLFSSL *ssl;
826
-
827
- int closing;
828
- struct _sock_tl_ep peer_addr;
829
- };
830
-
831
- typedef struct gnrc_wolfssl_ctx sock_tls_t;
832
-
833
- WOLFSSL_LOCAL int GNRC_ReceiveFrom(WOLFSSL* ssl, char* buf, int sz,
834
- void* ctx);
835
- WOLFSSL_LOCAL int GNRC_SendTo(WOLFSSL* ssl, char* buf, int sz, void* ctx);
836
-
837
- #endif
838
-
839
- #ifdef WOLFSSL_LWIP_NATIVE
840
- #include "lwip/tcp.h"
841
- #include "lwip/sockets.h"
842
-
843
- typedef struct WOLFSSL_LWIP_NATIVE_STATE {
844
- struct tcp_pcb * pcb;
845
- tcp_recv_fn recv_fn;
846
- tcp_sent_fn sent_fn;
847
- int pulled;
848
- struct pbuf *pbuf;
849
- int wait;
850
- void * arg; /* arg for application */
851
- int idle_count;
852
- } WOLFSSL_LWIP_NATIVE_STATE;
853
-
854
- WOLFSSL_LOCAL int LwIPNativeSend(WOLFSSL* ssl, char* buf, int sz, void* ctx);
855
- WOLFSSL_LOCAL int LwIPNativeReceive(WOLFSSL* ssl, char* buf, int sz,
856
- void* ctx);
857
- WOLFSSL_API int wolfSSL_SetIO_LwIP(WOLFSSL* ssl, void *pcb,
858
- tcp_recv_fn recv, tcp_sent_fn sent, void *arg);
859
- #endif
860
- #ifdef WOLFSSL_ISOTP
861
- #define ISOTP_DEFAULT_TIMEOUT 100
862
- #define ISOTP_DEFAULT_WAIT_COUNT 3
863
- #define ISOTP_FIRST_FRAME_DATA_SIZE 6
864
- #define ISOTP_SINGLE_FRAME_DATA_SIZE 7
865
- #define ISOTP_MAX_CONSECUTIVE_FRAME_DATA_SIZE 7
866
- #define ISOTP_MAX_MS_FRAME_DELAY 0x7f
867
- #define ISOTP_CAN_BUS_PAYLOAD_SIZE 8
868
- #define ISOTP_MAX_DATA_SIZE 4095
869
- /* Packets will never be larger than the ISO-TP max data size */
870
- #define ISOTP_DEFAULT_BUFFER_SIZE ISOTP_MAX_DATA_SIZE
871
- #define ISOTP_FLOW_CONTROL_PACKET_SIZE 3
872
- #define ISOTP_FLOW_CONTROL_FRAMES 0 /* infinite */
873
- #define ISOTP_MAX_SEQUENCE_COUNTER 15
874
-
875
- enum isotp_frame_type {
876
- ISOTP_FRAME_TYPE_SINGLE = 0,
877
- ISOTP_FRAME_TYPE_FIRST = 1,
878
- ISOTP_FRAME_TYPE_CONSECUTIVE = 2,
879
- ISOTP_FRAME_TYPE_CONTROL = 3
880
- };
881
-
882
- enum isotp_flow_control {
883
- ISOTP_FLOW_CONTROL_CTS = 0,
884
- ISOTP_FLOW_CONTROL_WAIT = 1,
885
- ISOTP_FLOW_CONTROL_ABORT = 2
886
- };
887
-
888
- enum isotp_connection_state {
889
- ISOTP_CONN_STATE_IDLE,
890
- ISOTP_CONN_STATE_SENDING,
891
- ISOTP_CONN_STATE_RECEIVING
892
- };
893
-
894
- typedef struct isotp_can_data {
895
- byte data[ISOTP_CAN_BUS_PAYLOAD_SIZE];
896
- byte length;
897
- } isotp_can_data;
898
-
899
- /* User supplied functions for sending/receiving CAN bus messages of up to
900
- * 8 bytes, as well as a function to add an artificial delay when a
901
- * receiver requests one. */
902
- typedef int (*can_recv_fn)(struct isotp_can_data *data, void *arg,
903
- int timeout);
904
- typedef int (*can_send_fn)(struct isotp_can_data *data, void *arg);
905
- typedef void (*can_delay_fn)(int microseconds);
906
-
907
- typedef struct isotp_wolfssl_ctx {
908
- struct isotp_can_data frame;
909
- char *buf_ptr;
910
- char *receive_buffer;
911
- char *receive_buffer_ptr;
912
- can_recv_fn recv_fn;
913
- can_send_fn send_fn;
914
- can_delay_fn delay_fn;
915
- void *arg;
916
- int receive_buffer_len;
917
- int receive_buffer_size;
918
- enum isotp_connection_state state;
919
- word16 buf_length;
920
- byte sequence;
921
- byte flow_packets;
922
- byte flow_counter;
923
- byte frame_delay;
924
- byte wait_counter;
925
- byte receive_delay;
926
- } isotp_wolfssl_ctx;
927
-
928
- WOLFSSL_LOCAL int ISOTP_Receive(WOLFSSL* ssl, char* buf, int sz, void* ctx);
929
- WOLFSSL_LOCAL int ISOTP_Send(WOLFSSL* ssl, char* buf, int sz, void* ctx);
930
- WOLFSSL_API int wolfSSL_SetIO_ISOTP(WOLFSSL *ssl, isotp_wolfssl_ctx *ctx,
931
- can_recv_fn recv_fn, can_send_fn send_fn, can_delay_fn delay_fn,
932
- word32 receive_delay, char *receive_buffer,
933
- int receive_buffer_size, void *arg);
934
-
935
- #endif
936
- #ifdef WOLFSSL_DTLS
937
- typedef int (*CallbackGenCookie)(WOLFSSL* ssl, unsigned char* buf, int sz,
938
- void* ctx);
939
- WOLFSSL_API void wolfSSL_CTX_SetGenCookie(WOLFSSL_CTX* ctx,
940
- CallbackGenCookie cb);
941
- WOLFSSL_API void wolfSSL_SetCookieCtx(WOLFSSL* ssl, void *ctx);
942
- WOLFSSL_API void* wolfSSL_GetCookieCtx(WOLFSSL* ssl);
943
-
944
- #endif
945
- #ifdef WOLFSSL_SESSION_EXPORT
946
- typedef int (*CallbackGetPeer)(WOLFSSL* ssl, char* ip, int* ipSz,
947
- unsigned short* port, int* fam);
948
- typedef int (*CallbackSetPeer)(WOLFSSL* ssl, char* ip, int ipSz,
949
- unsigned short port, int fam);
950
-
951
- WOLFSSL_API void wolfSSL_CTX_SetIOGetPeer(WOLFSSL_CTX*, CallbackGetPeer);
952
- WOLFSSL_API void wolfSSL_CTX_SetIOSetPeer(WOLFSSL_CTX*, CallbackSetPeer);
953
- WOLFSSL_API int EmbedGetPeer(WOLFSSL* ssl, char* ip, int* ipSz,
954
- unsigned short* port, int* fam);
955
- WOLFSSL_API int EmbedSetPeer(WOLFSSL* ssl, char* ip, int ipSz,
956
- unsigned short port, int fam);
957
- #endif /* WOLFSSL_SESSION_EXPORT */
958
-
959
-
960
-
961
- #ifndef XINET_NTOP
962
- #if defined(__WATCOMC__)
963
- #if (defined(__OS2__) || defined(__NT__)) && \
964
- (NTDDI_VERSION >= NTDDI_VISTA)
965
- #define XINET_NTOP(a,b,c,d) inet_ntop((a),(b),(c),(d))
966
- #else
967
- #define XINET_NTOP(a,b,c,d) \
968
- strncpy((c),inet_ntoa(*(unsigned *)(b)),(d))
969
- #endif
970
- #elif defined(USE_WINDOWS_API) /* Windows-friendly definition */
971
- #define XINET_NTOP(a,b,c,d) InetNtop((a),(b),(c),(d))
972
- #else
973
- #define XINET_NTOP(a,b,c,d) inet_ntop((a),(b),(c),(d))
974
- #endif
975
- #endif
976
- #ifndef XINET_PTON
977
- #if defined(__WATCOMC__)
978
- #if (defined(__OS2__) || defined(__NT__)) && \
979
- (NTDDI_VERSION >= NTDDI_VISTA)
980
- #define XINET_PTON(a,b,c) inet_pton((a),(b),(c))
981
- #else
982
- #define XINET_PTON(a,b,c) *(unsigned *)(c) = inet_addr((b))
983
- #endif
984
- #elif defined(USE_WINDOWS_API) /* Windows-friendly definition */
985
- #if defined(__MINGW64__) && !defined(UNICODE)
986
- #define XINET_PTON(a,b,c) InetPton((a),(b),(c))
987
- #else
988
- #define XINET_PTON(a,b,c) InetPton((a),(PCWSTR)(b),(c))
989
- #endif
990
- #else
991
- #define XINET_PTON(a,b,c) inet_pton((a),(b),(c))
992
- #endif
993
- #endif
994
-
995
- #ifndef XHTONS
996
- #if !defined(WOLFSSL_NO_SOCK) && (defined(USE_WOLFSSL_IO) || defined(HAVE_HTTP_CLIENT))
997
- #define XHTONS(a) htons((a))
998
- #else
999
- /* we don't have sockets, so define our own htons and ntohs */
1000
- #ifdef BIG_ENDIAN_ORDER
1001
- #define XHTONS(a) (a)
1002
- #else
1003
- #define XHTONS(a) ((((a) >> 8) & 0xff) | (((a) & 0xff) << 8))
1004
- #endif
1005
- #endif
1006
- #endif
1007
- #ifndef XNTOHS
1008
- #if !defined(WOLFSSL_NO_SOCK) && (defined(USE_WOLFSSL_IO) || defined(HAVE_HTTP_CLIENT))
1009
- #define XNTOHS(a) ntohs((a))
1010
- #else
1011
- /* we don't have sockets, so define our own htons and ntohs */
1012
- #ifdef BIG_ENDIAN_ORDER
1013
- #define XNTOHS(a) (a)
1014
- #else
1015
- #define XNTOHS(a) ((((a) >> 8) & 0xff) | (((a) & 0xff) << 8))
1016
- #endif
1017
- #endif
1018
- #endif
1019
-
1020
- #ifndef WOLFSSL_IP4
1021
- #define WOLFSSL_IP4 AF_INET
1022
- #endif
1023
- #ifndef WOLFSSL_IP6
1024
- #define WOLFSSL_IP6 AF_INET6
1025
- #endif
1026
-
1027
- #ifndef WOLFSSL_SOCKADDR_IN6
1028
- #define WOLFSSL_SOCKADDR_IN6 struct sockaddr_in6
1029
- #endif
1030
-
1031
- #ifdef __cplusplus
1032
- } /* extern "C" */
1033
- #endif
1034
-
1035
- #endif /* WOLFSSL_IO_H */