@annadata/capacitor-mqtt-quic 0.2.1 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (634) hide show
  1. package/android/src/main/cpp/ngtcp2_jni.cpp +14 -0
  2. package/android/src/main/kotlin/ai/annadata/mqttquic/MqttQuicPlugin.kt +4 -1
  3. package/android/src/main/kotlin/ai/annadata/mqttquic/client/MQTTClient.kt +26 -21
  4. package/dist/esm/web.d.ts +39 -5
  5. package/dist/esm/web.d.ts.map +1 -1
  6. package/dist/esm/web.js +428 -142
  7. package/dist/esm/web.js.map +1 -1
  8. package/dist/esm/webMqttCodec.d.ts +115 -0
  9. package/dist/esm/webMqttCodec.d.ts.map +1 -0
  10. package/dist/esm/webMqttCodec.js +410 -0
  11. package/dist/esm/webMqttCodec.js.map +1 -0
  12. package/dist/plugin.cjs.js +830 -11272
  13. package/dist/plugin.cjs.js.map +1 -1
  14. package/dist/plugin.js +830 -11272
  15. package/dist/plugin.js.map +1 -1
  16. package/ios/Sources/MqttQuicPlugin/Client/MQTTClient.swift +37 -31
  17. package/ios/Sources/MqttQuicPlugin/MqttQuicPlugin.swift +1 -1
  18. package/ios/libs/libnghttp3.a +0 -0
  19. package/ios/libs/libngtcp2.a +0 -0
  20. package/ios/libs/libngtcp2_crypto_wolfssl.a +0 -0
  21. package/ios/libs/libwolfssl.a +0 -0
  22. package/ios/libs-simulator/libnghttp3.a +0 -0
  23. package/ios/libs-simulator/libngtcp2.a +0 -0
  24. package/ios/libs-simulator/libngtcp2_crypto_wolfssl.a +0 -0
  25. package/ios/libs-simulator/libwolfssl.a +0 -0
  26. package/ios/libs-simulator-x86_64/libnghttp3.a +0 -0
  27. package/ios/libs-simulator-x86_64/libngtcp2.a +0 -0
  28. package/ios/libs-simulator-x86_64/libngtcp2_crypto_wolfssl.a +0 -0
  29. package/ios/libs-simulator-x86_64/libwolfssl.a +0 -0
  30. package/package.json +2 -3
  31. package/android/install/nghttp3-android/arm64-v8a/include/nghttp3/nghttp3.h +0 -3295
  32. package/android/install/nghttp3-android/arm64-v8a/include/nghttp3/version.h +0 -46
  33. package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3Config.cmake +0 -3
  34. package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3ConfigVersion.cmake +0 -65
  35. package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3Targets-release.cmake +0 -29
  36. package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3Targets.cmake +0 -114
  37. package/android/install/nghttp3-android/arm64-v8a/lib/libnghttp3.a +0 -0
  38. package/android/install/nghttp3-android/arm64-v8a/lib/libnghttp3.so +0 -0
  39. package/android/install/nghttp3-android/arm64-v8a/lib/pkgconfig/libnghttp3.pc +0 -34
  40. package/android/install/nghttp3-android/arm64-v8a/share/doc/nghttp3/README.rst +0 -75
  41. package/android/install/nghttp3-android/armeabi-v7a/include/nghttp3/nghttp3.h +0 -3295
  42. package/android/install/nghttp3-android/armeabi-v7a/include/nghttp3/version.h +0 -46
  43. package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3Config.cmake +0 -3
  44. package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3ConfigVersion.cmake +0 -65
  45. package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3Targets-release.cmake +0 -29
  46. package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3Targets.cmake +0 -114
  47. package/android/install/nghttp3-android/armeabi-v7a/lib/libnghttp3.a +0 -0
  48. package/android/install/nghttp3-android/armeabi-v7a/lib/libnghttp3.so +0 -0
  49. package/android/install/nghttp3-android/armeabi-v7a/lib/pkgconfig/libnghttp3.pc +0 -34
  50. package/android/install/nghttp3-android/armeabi-v7a/share/doc/nghttp3/README.rst +0 -75
  51. package/android/install/nghttp3-android/x86_64/include/nghttp3/nghttp3.h +0 -3295
  52. package/android/install/nghttp3-android/x86_64/include/nghttp3/version.h +0 -46
  53. package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3Config.cmake +0 -3
  54. package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3ConfigVersion.cmake +0 -65
  55. package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3Targets-release.cmake +0 -29
  56. package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3Targets.cmake +0 -114
  57. package/android/install/nghttp3-android/x86_64/lib/libnghttp3.a +0 -0
  58. package/android/install/nghttp3-android/x86_64/lib/libnghttp3.so +0 -0
  59. package/android/install/nghttp3-android/x86_64/lib/pkgconfig/libnghttp3.pc +0 -34
  60. package/android/install/nghttp3-android/x86_64/share/doc/nghttp3/README.rst +0 -75
  61. package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/ngtcp2.h +0 -6254
  62. package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/ngtcp2_crypto.h +0 -1037
  63. package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/ngtcp2_crypto_wolfssl.h +0 -106
  64. package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/version.h +0 -51
  65. package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2Config.cmake +0 -6
  66. package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2ConfigVersion.cmake +0 -65
  67. package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2Targets-release.cmake +0 -29
  68. package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2Targets.cmake +0 -114
  69. package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2.a +0 -0
  70. package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2.so +0 -0
  71. package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2_crypto_wolfssl.a +0 -0
  72. package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2_crypto_wolfssl.so +0 -0
  73. package/android/install/ngtcp2-android/arm64-v8a/lib/pkgconfig/libngtcp2.pc +0 -33
  74. package/android/install/ngtcp2-android/arm64-v8a/lib/pkgconfig/libngtcp2_crypto_wolfssl.pc +0 -34
  75. package/android/install/ngtcp2-android/arm64-v8a/share/doc/ngtcp2/README.rst +0 -385
  76. package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/ngtcp2.h +0 -6254
  77. package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/ngtcp2_crypto.h +0 -1037
  78. package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/ngtcp2_crypto_wolfssl.h +0 -106
  79. package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/version.h +0 -51
  80. package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2Config.cmake +0 -6
  81. package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2ConfigVersion.cmake +0 -65
  82. package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2Targets-release.cmake +0 -29
  83. package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2Targets.cmake +0 -114
  84. package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2.a +0 -0
  85. package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2.so +0 -0
  86. package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2_crypto_wolfssl.a +0 -0
  87. package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2_crypto_wolfssl.so +0 -0
  88. package/android/install/ngtcp2-android/armeabi-v7a/lib/pkgconfig/libngtcp2.pc +0 -33
  89. package/android/install/ngtcp2-android/armeabi-v7a/lib/pkgconfig/libngtcp2_crypto_wolfssl.pc +0 -34
  90. package/android/install/ngtcp2-android/armeabi-v7a/share/doc/ngtcp2/README.rst +0 -385
  91. package/android/install/ngtcp2-android/x86_64/include/ngtcp2/ngtcp2.h +0 -6254
  92. package/android/install/ngtcp2-android/x86_64/include/ngtcp2/ngtcp2_crypto.h +0 -1037
  93. package/android/install/ngtcp2-android/x86_64/include/ngtcp2/ngtcp2_crypto_wolfssl.h +0 -106
  94. package/android/install/ngtcp2-android/x86_64/include/ngtcp2/version.h +0 -51
  95. package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2Config.cmake +0 -6
  96. package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2ConfigVersion.cmake +0 -65
  97. package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2Targets-release.cmake +0 -29
  98. package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2Targets.cmake +0 -114
  99. package/android/install/ngtcp2-android/x86_64/lib/libngtcp2.a +0 -0
  100. package/android/install/ngtcp2-android/x86_64/lib/libngtcp2.so +0 -0
  101. package/android/install/ngtcp2-android/x86_64/lib/libngtcp2_crypto_wolfssl.a +0 -0
  102. package/android/install/ngtcp2-android/x86_64/lib/libngtcp2_crypto_wolfssl.so +0 -0
  103. package/android/install/ngtcp2-android/x86_64/lib/pkgconfig/libngtcp2.pc +0 -33
  104. package/android/install/ngtcp2-android/x86_64/lib/pkgconfig/libngtcp2_crypto_wolfssl.pc +0 -34
  105. package/android/install/ngtcp2-android/x86_64/share/doc/ngtcp2/README.rst +0 -385
  106. package/android/install/wolfssl-android/arm64-v8a/bin/wolfssl-config +0 -117
  107. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/callbacks.h +0 -93
  108. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/certs_test.h +0 -7073
  109. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/certs_test_sm.h +0 -2913
  110. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/crl.h +0 -58
  111. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/error-ssl.h +0 -280
  112. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/ocsp.h +0 -191
  113. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/aes.h +0 -117
  114. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/asn1.h +0 -315
  115. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/asn1t.h +0 -30
  116. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/bio.h +0 -237
  117. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/bn.h +0 -332
  118. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/buffer.h +0 -57
  119. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/camellia.h +0 -27
  120. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/cmac.h +0 -66
  121. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/cms.h +0 -26
  122. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/compat_types.h +0 -70
  123. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/conf.h +0 -117
  124. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/crypto.h +0 -171
  125. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/des.h +0 -124
  126. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/dh.h +0 -144
  127. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/dsa.h +0 -164
  128. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ec.h +0 -525
  129. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ec25519.h +0 -46
  130. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ec448.h +0 -46
  131. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ecdh.h +0 -49
  132. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ecdsa.h +0 -87
  133. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ed25519.h +0 -49
  134. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ed448.h +0 -49
  135. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/engine.h +0 -9
  136. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/err.h +0 -84
  137. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/evp.h +0 -1540
  138. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/fips_rand.h +0 -125
  139. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/hmac.h +0 -98
  140. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/kdf.h +0 -45
  141. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/lhash.h +0 -64
  142. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/md4.h +0 -66
  143. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/md5.h +0 -108
  144. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/modes.h +0 -45
  145. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/obj_mac.h +0 -92
  146. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/objects.h +0 -86
  147. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ocsp.h +0 -108
  148. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/opensslconf.h +0 -8
  149. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/opensslv.h +0 -78
  150. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ossl_typ.h +0 -32
  151. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/pem.h +0 -301
  152. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/pkcs12.h +0 -57
  153. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/pkcs7.h +0 -110
  154. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/rand.h +0 -38
  155. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/rc4.h +0 -64
  156. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ripemd.h +0 -58
  157. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/rsa.h +0 -291
  158. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/safestack.h +0 -40
  159. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/sha.h +0 -331
  160. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/sha3.h +0 -158
  161. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/srp.h +0 -33
  162. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ssl.h +0 -1923
  163. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ssl23.h +0 -1
  164. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/stack.h +0 -61
  165. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/tls1.h +0 -64
  166. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/txt_db.h +0 -60
  167. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ui.h +0 -2
  168. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/x509.h +0 -227
  169. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/x509_vfy.h +0 -50
  170. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/x509v3.h +0 -237
  171. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/options.h +0 -273
  172. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/quic.h +0 -310
  173. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/sniffer.h +0 -359
  174. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/sniffer_error.h +0 -151
  175. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/ssl.h +0 -6300
  176. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/test.h +0 -4989
  177. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/version.h +0 -40
  178. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/aes.h +0 -1074
  179. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/arc4.h +0 -69
  180. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ascon.h +0 -109
  181. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/asn.h +0 -2855
  182. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/asn_public.h +0 -1009
  183. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/blake2-impl.h +0 -155
  184. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/blake2-int.h +0 -174
  185. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/blake2.h +0 -108
  186. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/camellia.h +0 -116
  187. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/chacha.h +0 -133
  188. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/chacha20_poly1305.h +0 -157
  189. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/cmac.h +0 -168
  190. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/coding.h +0 -107
  191. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/compress.h +0 -60
  192. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/cpuid.h +0 -153
  193. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/cryptocb.h +0 -770
  194. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/curve25519.h +0 -225
  195. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/curve448.h +0 -151
  196. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/des3.h +0 -167
  197. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/dh.h +0 -210
  198. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/dilithium.h +0 -1051
  199. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/dsa.h +0 -121
  200. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ecc.h +0 -1074
  201. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/eccsi.h +0 -176
  202. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ed25519.h +0 -239
  203. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ed448.h +0 -214
  204. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/error-crypt.h +0 -368
  205. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ext_lms.h +0 -62
  206. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ext_mlkem.h +0 -74
  207. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ext_xmss.h +0 -53
  208. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/falcon.h +0 -180
  209. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/fe_448.h +0 -122
  210. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/fe_operations.h +0 -189
  211. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/fips_test.h +0 -131
  212. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ge_448.h +0 -84
  213. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ge_operations.h +0 -134
  214. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/hash.h +0 -296
  215. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/hmac.h +0 -231
  216. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/hpke.h +0 -145
  217. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/integer.h +0 -449
  218. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/kdf.h +0 -199
  219. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/lms.h +0 -202
  220. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/logging.h +0 -588
  221. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/md2.h +0 -83
  222. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/md4.h +0 -77
  223. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/md5.h +0 -141
  224. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mem_track.h +0 -968
  225. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/memory.h +0 -545
  226. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/misc.h +0 -214
  227. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mlkem.h +0 -377
  228. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mpi_class.h +0 -1021
  229. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mpi_superclass.h +0 -96
  230. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/oid_sum.h +0 -1907
  231. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/pkcs12.h +0 -79
  232. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/pkcs7.h +0 -578
  233. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/poly1305.h +0 -207
  234. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/pwdbased.h +0 -81
  235. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/random.h +0 -300
  236. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/rc2.h +0 -68
  237. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ripemd.h +0 -67
  238. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/rsa.h +0 -494
  239. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sakke.h +0 -228
  240. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/settings.h +0 -4762
  241. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha.h +0 -237
  242. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha256.h +0 -360
  243. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha3.h +0 -274
  244. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha512.h +0 -372
  245. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/signature.h +0 -87
  246. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/siphash.h +0 -101
  247. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sm2.h +0 -27
  248. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sm3.h +0 -27
  249. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sm4.h +0 -27
  250. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sp_int.h +0 -1396
  251. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sphincs.h +0 -167
  252. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/srp.h +0 -313
  253. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/tfm.h +0 -941
  254. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/types.h +0 -2383
  255. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/visibility.h +0 -97
  256. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_encrypt.h +0 -126
  257. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_lms.h +0 -506
  258. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_mlkem.h +0 -370
  259. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_port.h +0 -1764
  260. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_xmss.h +0 -285
  261. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wolfevent.h +0 -120
  262. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wolfmath.h +0 -175
  263. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/xmss.h +0 -203
  264. package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfio.h +0 -1035
  265. package/android/install/wolfssl-android/arm64-v8a/lib/libwolfssl.a +0 -0
  266. package/android/install/wolfssl-android/arm64-v8a/lib/libwolfssl.la +0 -41
  267. package/android/install/wolfssl-android/arm64-v8a/lib/pkgconfig/wolfssl.pc +0 -11
  268. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/QUIC.md +0 -117
  269. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/README.txt +0 -8
  270. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/async_client.c +0 -245
  271. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/async_server.c +0 -331
  272. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/client.c +0 -4885
  273. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/echoclient.c +0 -341
  274. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/echoserver.c +0 -498
  275. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-client-dtls.c +0 -135
  276. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-client.c +0 -78
  277. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-server-dtls.c +0 -134
  278. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-server.c +0 -83
  279. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/server.c +0 -4124
  280. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/tls_bench.c +0 -2357
  281. package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/taoCert.txt +0 -176
  282. package/android/install/wolfssl-android/armeabi-v7a/bin/wolfssl-config +0 -117
  283. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/callbacks.h +0 -93
  284. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/certs_test.h +0 -7073
  285. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/certs_test_sm.h +0 -2913
  286. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/crl.h +0 -58
  287. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/error-ssl.h +0 -280
  288. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/ocsp.h +0 -191
  289. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/aes.h +0 -117
  290. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/asn1.h +0 -315
  291. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/asn1t.h +0 -30
  292. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/bio.h +0 -237
  293. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/bn.h +0 -332
  294. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/buffer.h +0 -57
  295. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/camellia.h +0 -27
  296. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/cmac.h +0 -66
  297. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/cms.h +0 -26
  298. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/compat_types.h +0 -70
  299. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/conf.h +0 -117
  300. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/crypto.h +0 -171
  301. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/des.h +0 -124
  302. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/dh.h +0 -144
  303. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/dsa.h +0 -164
  304. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ec.h +0 -525
  305. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ec25519.h +0 -46
  306. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ec448.h +0 -46
  307. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ecdh.h +0 -49
  308. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ecdsa.h +0 -87
  309. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ed25519.h +0 -49
  310. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ed448.h +0 -49
  311. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/engine.h +0 -9
  312. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/err.h +0 -84
  313. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/evp.h +0 -1540
  314. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/fips_rand.h +0 -125
  315. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/hmac.h +0 -98
  316. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/kdf.h +0 -45
  317. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/lhash.h +0 -64
  318. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/md4.h +0 -66
  319. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/md5.h +0 -108
  320. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/modes.h +0 -45
  321. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/obj_mac.h +0 -92
  322. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/objects.h +0 -86
  323. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ocsp.h +0 -108
  324. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/opensslconf.h +0 -8
  325. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/opensslv.h +0 -78
  326. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ossl_typ.h +0 -32
  327. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/pem.h +0 -301
  328. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/pkcs12.h +0 -57
  329. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/pkcs7.h +0 -110
  330. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/rand.h +0 -38
  331. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/rc4.h +0 -64
  332. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ripemd.h +0 -58
  333. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/rsa.h +0 -291
  334. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/safestack.h +0 -40
  335. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/sha.h +0 -331
  336. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/sha3.h +0 -158
  337. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/srp.h +0 -33
  338. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ssl.h +0 -1923
  339. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ssl23.h +0 -1
  340. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/stack.h +0 -61
  341. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/tls1.h +0 -64
  342. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/txt_db.h +0 -60
  343. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ui.h +0 -2
  344. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/x509.h +0 -227
  345. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/x509_vfy.h +0 -50
  346. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/x509v3.h +0 -237
  347. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/options.h +0 -261
  348. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/quic.h +0 -310
  349. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/sniffer.h +0 -359
  350. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/sniffer_error.h +0 -151
  351. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/ssl.h +0 -6300
  352. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/test.h +0 -4989
  353. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/version.h +0 -40
  354. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/aes.h +0 -1074
  355. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/arc4.h +0 -69
  356. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ascon.h +0 -109
  357. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/asn.h +0 -2855
  358. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/asn_public.h +0 -1009
  359. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/blake2-impl.h +0 -155
  360. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/blake2-int.h +0 -174
  361. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/blake2.h +0 -108
  362. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/camellia.h +0 -116
  363. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/chacha.h +0 -133
  364. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/chacha20_poly1305.h +0 -157
  365. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/cmac.h +0 -168
  366. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/coding.h +0 -107
  367. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/compress.h +0 -60
  368. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/cpuid.h +0 -153
  369. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/cryptocb.h +0 -770
  370. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/curve25519.h +0 -225
  371. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/curve448.h +0 -151
  372. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/des3.h +0 -167
  373. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/dh.h +0 -210
  374. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/dilithium.h +0 -1051
  375. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/dsa.h +0 -121
  376. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ecc.h +0 -1074
  377. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/eccsi.h +0 -176
  378. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ed25519.h +0 -239
  379. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ed448.h +0 -214
  380. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/error-crypt.h +0 -368
  381. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ext_lms.h +0 -62
  382. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ext_mlkem.h +0 -74
  383. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ext_xmss.h +0 -53
  384. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/falcon.h +0 -180
  385. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/fe_448.h +0 -122
  386. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/fe_operations.h +0 -189
  387. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/fips_test.h +0 -131
  388. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ge_448.h +0 -84
  389. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ge_operations.h +0 -134
  390. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/hash.h +0 -296
  391. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/hmac.h +0 -231
  392. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/hpke.h +0 -145
  393. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/integer.h +0 -449
  394. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/kdf.h +0 -199
  395. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/lms.h +0 -202
  396. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/logging.h +0 -588
  397. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/md2.h +0 -83
  398. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/md4.h +0 -77
  399. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/md5.h +0 -141
  400. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mem_track.h +0 -968
  401. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/memory.h +0 -545
  402. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/misc.h +0 -214
  403. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mlkem.h +0 -377
  404. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mpi_class.h +0 -1021
  405. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mpi_superclass.h +0 -96
  406. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/oid_sum.h +0 -1907
  407. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/pkcs12.h +0 -79
  408. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/pkcs7.h +0 -578
  409. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/poly1305.h +0 -207
  410. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/pwdbased.h +0 -81
  411. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/random.h +0 -300
  412. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/rc2.h +0 -68
  413. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ripemd.h +0 -67
  414. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/rsa.h +0 -494
  415. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sakke.h +0 -228
  416. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/settings.h +0 -4762
  417. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha.h +0 -237
  418. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha256.h +0 -360
  419. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha3.h +0 -274
  420. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha512.h +0 -372
  421. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/signature.h +0 -87
  422. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/siphash.h +0 -101
  423. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sm2.h +0 -27
  424. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sm3.h +0 -27
  425. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sm4.h +0 -27
  426. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sp_int.h +0 -1396
  427. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sphincs.h +0 -167
  428. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/srp.h +0 -313
  429. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/tfm.h +0 -941
  430. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/types.h +0 -2383
  431. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/visibility.h +0 -97
  432. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_encrypt.h +0 -126
  433. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_lms.h +0 -506
  434. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_mlkem.h +0 -370
  435. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_port.h +0 -1764
  436. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_xmss.h +0 -285
  437. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wolfevent.h +0 -120
  438. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wolfmath.h +0 -175
  439. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/xmss.h +0 -203
  440. package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfio.h +0 -1035
  441. package/android/install/wolfssl-android/armeabi-v7a/lib/libwolfssl.a +0 -0
  442. package/android/install/wolfssl-android/armeabi-v7a/lib/libwolfssl.la +0 -41
  443. package/android/install/wolfssl-android/armeabi-v7a/lib/pkgconfig/wolfssl.pc +0 -11
  444. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/QUIC.md +0 -117
  445. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/README.txt +0 -8
  446. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/async_client.c +0 -245
  447. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/async_server.c +0 -331
  448. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/client.c +0 -4885
  449. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/echoclient.c +0 -341
  450. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/echoserver.c +0 -498
  451. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-client-dtls.c +0 -135
  452. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-client.c +0 -78
  453. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-server-dtls.c +0 -134
  454. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-server.c +0 -83
  455. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/server.c +0 -4124
  456. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/tls_bench.c +0 -2357
  457. package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/taoCert.txt +0 -176
  458. package/android/install/wolfssl-android/x86_64/bin/wolfssl-config +0 -117
  459. package/android/install/wolfssl-android/x86_64/include/wolfssl/callbacks.h +0 -93
  460. package/android/install/wolfssl-android/x86_64/include/wolfssl/certs_test.h +0 -7073
  461. package/android/install/wolfssl-android/x86_64/include/wolfssl/certs_test_sm.h +0 -2913
  462. package/android/install/wolfssl-android/x86_64/include/wolfssl/crl.h +0 -58
  463. package/android/install/wolfssl-android/x86_64/include/wolfssl/error-ssl.h +0 -280
  464. package/android/install/wolfssl-android/x86_64/include/wolfssl/ocsp.h +0 -191
  465. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/aes.h +0 -117
  466. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/asn1.h +0 -315
  467. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/asn1t.h +0 -30
  468. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/bio.h +0 -237
  469. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/bn.h +0 -332
  470. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/buffer.h +0 -57
  471. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/camellia.h +0 -27
  472. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/cmac.h +0 -66
  473. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/cms.h +0 -26
  474. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/compat_types.h +0 -70
  475. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/conf.h +0 -117
  476. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/crypto.h +0 -171
  477. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/des.h +0 -124
  478. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/dh.h +0 -144
  479. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/dsa.h +0 -164
  480. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ec.h +0 -525
  481. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ec25519.h +0 -46
  482. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ec448.h +0 -46
  483. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ecdh.h +0 -49
  484. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ecdsa.h +0 -87
  485. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ed25519.h +0 -49
  486. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ed448.h +0 -49
  487. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/engine.h +0 -9
  488. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/err.h +0 -84
  489. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/evp.h +0 -1540
  490. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/fips_rand.h +0 -125
  491. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/hmac.h +0 -98
  492. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/kdf.h +0 -45
  493. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/lhash.h +0 -64
  494. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/md4.h +0 -66
  495. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/md5.h +0 -108
  496. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/modes.h +0 -45
  497. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/obj_mac.h +0 -92
  498. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/objects.h +0 -86
  499. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ocsp.h +0 -108
  500. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/opensslconf.h +0 -8
  501. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/opensslv.h +0 -78
  502. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ossl_typ.h +0 -32
  503. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/pem.h +0 -301
  504. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/pkcs12.h +0 -57
  505. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/pkcs7.h +0 -110
  506. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/rand.h +0 -38
  507. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/rc4.h +0 -64
  508. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ripemd.h +0 -58
  509. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/rsa.h +0 -291
  510. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/safestack.h +0 -40
  511. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/sha.h +0 -331
  512. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/sha3.h +0 -158
  513. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/srp.h +0 -33
  514. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ssl.h +0 -1923
  515. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ssl23.h +0 -1
  516. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/stack.h +0 -61
  517. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/tls1.h +0 -64
  518. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/txt_db.h +0 -60
  519. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ui.h +0 -2
  520. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/x509.h +0 -227
  521. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/x509_vfy.h +0 -50
  522. package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/x509v3.h +0 -237
  523. package/android/install/wolfssl-android/x86_64/include/wolfssl/options.h +0 -273
  524. package/android/install/wolfssl-android/x86_64/include/wolfssl/quic.h +0 -310
  525. package/android/install/wolfssl-android/x86_64/include/wolfssl/sniffer.h +0 -359
  526. package/android/install/wolfssl-android/x86_64/include/wolfssl/sniffer_error.h +0 -151
  527. package/android/install/wolfssl-android/x86_64/include/wolfssl/ssl.h +0 -6300
  528. package/android/install/wolfssl-android/x86_64/include/wolfssl/test.h +0 -4989
  529. package/android/install/wolfssl-android/x86_64/include/wolfssl/version.h +0 -40
  530. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/aes.h +0 -1074
  531. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/arc4.h +0 -69
  532. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ascon.h +0 -109
  533. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/asn.h +0 -2855
  534. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/asn_public.h +0 -1009
  535. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/blake2-impl.h +0 -155
  536. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/blake2-int.h +0 -174
  537. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/blake2.h +0 -108
  538. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/camellia.h +0 -116
  539. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/chacha.h +0 -133
  540. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/chacha20_poly1305.h +0 -157
  541. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/cmac.h +0 -168
  542. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/coding.h +0 -107
  543. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/compress.h +0 -60
  544. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/cpuid.h +0 -153
  545. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/cryptocb.h +0 -770
  546. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/curve25519.h +0 -225
  547. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/curve448.h +0 -151
  548. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/des3.h +0 -167
  549. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/dh.h +0 -210
  550. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/dilithium.h +0 -1051
  551. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/dsa.h +0 -121
  552. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ecc.h +0 -1074
  553. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/eccsi.h +0 -176
  554. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ed25519.h +0 -239
  555. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ed448.h +0 -214
  556. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/error-crypt.h +0 -368
  557. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ext_lms.h +0 -62
  558. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ext_mlkem.h +0 -74
  559. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ext_xmss.h +0 -53
  560. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/falcon.h +0 -180
  561. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/fe_448.h +0 -122
  562. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/fe_operations.h +0 -189
  563. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/fips_test.h +0 -131
  564. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ge_448.h +0 -84
  565. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ge_operations.h +0 -134
  566. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/hash.h +0 -296
  567. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/hmac.h +0 -231
  568. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/hpke.h +0 -145
  569. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/integer.h +0 -449
  570. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/kdf.h +0 -199
  571. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/lms.h +0 -202
  572. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/logging.h +0 -588
  573. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/md2.h +0 -83
  574. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/md4.h +0 -77
  575. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/md5.h +0 -141
  576. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mem_track.h +0 -968
  577. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/memory.h +0 -545
  578. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/misc.h +0 -214
  579. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mlkem.h +0 -377
  580. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mpi_class.h +0 -1021
  581. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mpi_superclass.h +0 -96
  582. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/oid_sum.h +0 -1907
  583. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/pkcs12.h +0 -79
  584. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/pkcs7.h +0 -578
  585. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/poly1305.h +0 -207
  586. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/pwdbased.h +0 -81
  587. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/random.h +0 -300
  588. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/rc2.h +0 -68
  589. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ripemd.h +0 -67
  590. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/rsa.h +0 -494
  591. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sakke.h +0 -228
  592. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/settings.h +0 -4762
  593. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha.h +0 -237
  594. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha256.h +0 -360
  595. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha3.h +0 -274
  596. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha512.h +0 -372
  597. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/signature.h +0 -87
  598. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/siphash.h +0 -101
  599. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sm2.h +0 -27
  600. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sm3.h +0 -27
  601. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sm4.h +0 -27
  602. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sp_int.h +0 -1396
  603. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sphincs.h +0 -167
  604. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/srp.h +0 -313
  605. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/tfm.h +0 -941
  606. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/types.h +0 -2383
  607. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/visibility.h +0 -97
  608. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_encrypt.h +0 -126
  609. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_lms.h +0 -506
  610. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_mlkem.h +0 -370
  611. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_port.h +0 -1764
  612. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_xmss.h +0 -285
  613. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wolfevent.h +0 -120
  614. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wolfmath.h +0 -175
  615. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/xmss.h +0 -203
  616. package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfio.h +0 -1035
  617. package/android/install/wolfssl-android/x86_64/lib/libwolfssl.a +0 -0
  618. package/android/install/wolfssl-android/x86_64/lib/libwolfssl.la +0 -41
  619. package/android/install/wolfssl-android/x86_64/lib/pkgconfig/wolfssl.pc +0 -11
  620. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/QUIC.md +0 -117
  621. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/README.txt +0 -8
  622. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/async_client.c +0 -245
  623. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/async_server.c +0 -331
  624. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/client.c +0 -4885
  625. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/echoclient.c +0 -341
  626. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/echoserver.c +0 -498
  627. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-client-dtls.c +0 -135
  628. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-client.c +0 -78
  629. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-server-dtls.c +0 -134
  630. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-server.c +0 -83
  631. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/server.c +0 -4124
  632. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/tls_bench.c +0 -2357
  633. package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/taoCert.txt +0 -176
  634. package/docs/diff-node_modules-vs-standalone-android-src.patch +0 -1031
@@ -1,1037 +0,0 @@
1
- /*
2
- * ngtcp2
3
- *
4
- * Copyright (c) 2019 ngtcp2 contributors
5
- *
6
- * Permission is hereby granted, free of charge, to any person obtaining
7
- * a copy of this software and associated documentation files (the
8
- * "Software"), to deal in the Software without restriction, including
9
- * without limitation the rights to use, copy, modify, merge, publish,
10
- * distribute, sublicense, and/or sell copies of the Software, and to
11
- * permit persons to whom the Software is furnished to do so, subject to
12
- * the following conditions:
13
- *
14
- * The above copyright notice and this permission notice shall be
15
- * included in all copies or substantial portions of the Software.
16
- *
17
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
21
- * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
22
- * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
23
- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24
- */
25
- #ifndef NGTCP2_CRYPTO_H
26
- #define NGTCP2_CRYPTO_H
27
-
28
- #include <ngtcp2/ngtcp2.h>
29
-
30
- #ifdef __cplusplus
31
- extern "C" {
32
- #endif /* defined(__cplusplus) */
33
-
34
- #ifdef WIN32
35
- # ifndef WIN32_LEAN_AND_MEAN
36
- # define WIN32_LEAN_AND_MEAN
37
- # endif /* !defined(WIN32_LEAN_AND_MEAN) */
38
- # include <ws2tcpip.h>
39
- #endif /* defined(WIN32) */
40
-
41
- /**
42
- * @macrosection
43
- *
44
- * ngtcp2 crypto library error codes
45
- */
46
-
47
- /**
48
- * @macro
49
- *
50
- * :macro:`NGTCP2_CRYPTO_ERR_INTERNAL` indicates an internal error.
51
- */
52
- #define NGTCP2_CRYPTO_ERR_INTERNAL -201
53
-
54
- /**
55
- * @macro
56
- *
57
- * :macro:`NGTCP2_CRYPTO_ERR_UNREADABLE_TOKEN` indicates that a token
58
- * is unreadable because it is not correctly formatted; or verifying
59
- * the integrity protection failed.
60
- */
61
- #define NGTCP2_CRYPTO_ERR_UNREADABLE_TOKEN -202
62
-
63
- /**
64
- * @macro
65
- *
66
- * :macro:`NGTCP2_CRYPTO_ERR_VERIFY_TOKEN` indicates that a token does
67
- * not probe the client address; or the token validity has expired; or
68
- * it contains invalid Connection ID.
69
- */
70
- #define NGTCP2_CRYPTO_ERR_VERIFY_TOKEN -203
71
-
72
- /**
73
- * @macro
74
- *
75
- * :macro:`NGTCP2_CRYPTO_ERR_NOMEM` indicates out of memory.
76
- */
77
- #define NGTCP2_CRYPTO_ERR_NOMEM -501
78
-
79
- /**
80
- * @function
81
- *
82
- * `ngtcp2_crypto_ctx_tls` initializes |ctx| by extracting negotiated
83
- * ciphers and message digests from native TLS session
84
- * |tls_native_handle|. This is used for encrypting/decrypting
85
- * Handshake and 1-RTT packets. If it is unable to obtain necessary
86
- * data from |tls_native_handle|, this function returns NULL.
87
- *
88
- * If libngtcp2_crypto_quictls is linked, |tls_native_handle| must be
89
- * a pointer to SSL object.
90
- */
91
- NGTCP2_EXTERN ngtcp2_crypto_ctx *ngtcp2_crypto_ctx_tls(ngtcp2_crypto_ctx *ctx,
92
- void *tls_native_handle);
93
-
94
- /**
95
- * @function
96
- *
97
- * `ngtcp2_crypto_ctx_tls_early` initializes |ctx| by extracting early
98
- * ciphers and message digests from native TLS session
99
- * |tls_native_handle|. This is used for encrypting/decrypting 0-RTT
100
- * packets. If it is unable to obtain necessary data from
101
- * |tls_native_handle|, this function returns NULL.
102
- *
103
- * If libngtcp2_crypto_quictls is linked, |tls_native_handle| must be
104
- * a pointer to SSL object.
105
- */
106
- NGTCP2_EXTERN ngtcp2_crypto_ctx *
107
- ngtcp2_crypto_ctx_tls_early(ngtcp2_crypto_ctx *ctx, void *tls_native_handle);
108
-
109
- /**
110
- * @function
111
- *
112
- * `ngtcp2_crypto_md_init` initializes |md| with the provided
113
- * |md_native_handle| which is an underlying message digest object.
114
- *
115
- * If libngtcp2_crypto_quictls is linked, |md_native_handle| must be a
116
- * pointer to EVP_MD.
117
- *
118
- * If libngtcp2_crypto_gnutls is linked, |md_native_handle| must be
119
- * gnutls_mac_algorithm_t casted to ``void *``.
120
- *
121
- * If libngtcp2_crypto_boringssl is linked, |md_native_handle| must be
122
- * a pointer to EVP_MD.
123
- */
124
- NGTCP2_EXTERN ngtcp2_crypto_md *ngtcp2_crypto_md_init(ngtcp2_crypto_md *md,
125
- void *md_native_handle);
126
-
127
- /**
128
- * @function
129
- *
130
- * `ngtcp2_crypto_md_hashlen` returns the length of |md| output.
131
- */
132
- NGTCP2_EXTERN size_t ngtcp2_crypto_md_hashlen(const ngtcp2_crypto_md *md);
133
-
134
- /**
135
- * @function
136
- *
137
- * `ngtcp2_crypto_aead_keylen` returns the length of key for |aead|.
138
- */
139
- NGTCP2_EXTERN size_t ngtcp2_crypto_aead_keylen(const ngtcp2_crypto_aead *aead);
140
-
141
- /**
142
- * @function
143
- *
144
- * `ngtcp2_crypto_aead_noncelen` returns the length of nonce for
145
- * |aead|.
146
- */
147
- NGTCP2_EXTERN size_t
148
- ngtcp2_crypto_aead_noncelen(const ngtcp2_crypto_aead *aead);
149
-
150
- /**
151
- * @function
152
- *
153
- * `ngtcp2_crypto_hkdf_extract` performs HKDF extract operation.
154
- *
155
- * The length of output is `ngtcp2_crypto_md_hashlen(md)
156
- * <ngtcp2_crypto_md_hashlen>`. The output is stored in the buffer
157
- * pointed by |dest|. The caller is responsible to specify the buffer
158
- * that has enough capacity to store the output.
159
- *
160
- * This function returns 0 if it succeeds, or -1.
161
- */
162
- NGTCP2_EXTERN int
163
- ngtcp2_crypto_hkdf_extract(uint8_t *dest, const ngtcp2_crypto_md *md,
164
- const uint8_t *secret, size_t secretlen,
165
- const uint8_t *salt, size_t saltlen);
166
-
167
- /**
168
- * @function
169
- *
170
- * `ngtcp2_crypto_hkdf_expand` performs HKDF expand operation. The
171
- * result is |destlen| bytes long, and is stored in the buffer pointed
172
- * by |dest|.
173
- *
174
- * This function returns 0 if it succeeds, or -1.
175
- */
176
- NGTCP2_EXTERN int ngtcp2_crypto_hkdf_expand(
177
- uint8_t *dest, size_t destlen, const ngtcp2_crypto_md *md,
178
- const uint8_t *secret, size_t secretlen, const uint8_t *info, size_t infolen);
179
-
180
- /**
181
- * @function
182
- *
183
- * `ngtcp2_crypto_hkdf` performs HKDF operation. The result is
184
- * |destlen| bytes long, and is stored in the buffer pointed by
185
- * |dest|.
186
- *
187
- * This function returns 0 if it succeeds, or -1.
188
- */
189
- NGTCP2_EXTERN int ngtcp2_crypto_hkdf(uint8_t *dest, size_t destlen,
190
- const ngtcp2_crypto_md *md,
191
- const uint8_t *secret, size_t secretlen,
192
- const uint8_t *salt, size_t saltlen,
193
- const uint8_t *info, size_t infolen);
194
-
195
- /**
196
- * @function
197
- *
198
- * `ngtcp2_crypto_packet_protection_ivlen` returns the length of IV
199
- * used to encrypt QUIC packet.
200
- */
201
- NGTCP2_EXTERN size_t
202
- ngtcp2_crypto_packet_protection_ivlen(const ngtcp2_crypto_aead *aead);
203
-
204
- /**
205
- * @function
206
- *
207
- * `ngtcp2_crypto_encrypt` encrypts |plaintext| of length
208
- * |plaintextlen| and writes the ciphertext into the buffer pointed by
209
- * |dest|. The length of ciphertext is |plaintextlen| +
210
- * :member:`aead->max_overhead <ngtcp2_crypto_aead.max_overhead>`
211
- * bytes long. |dest| must have enough capacity to store the
212
- * ciphertext. |dest| and |plaintext| may point to the same buffer.
213
- *
214
- * This function returns 0 if it succeeds, or -1.
215
- */
216
- NGTCP2_EXTERN int ngtcp2_crypto_encrypt(uint8_t *dest,
217
- const ngtcp2_crypto_aead *aead,
218
- const ngtcp2_crypto_aead_ctx *aead_ctx,
219
- const uint8_t *plaintext,
220
- size_t plaintextlen,
221
- const uint8_t *nonce, size_t noncelen,
222
- const uint8_t *aad, size_t aadlen);
223
-
224
- /**
225
- * @function
226
- *
227
- * `ngtcp2_crypto_encrypt_cb` is a wrapper function around
228
- * `ngtcp2_crypto_encrypt`. It can be directly passed to
229
- * :member:`ngtcp2_callbacks.encrypt` field.
230
- *
231
- * This function returns 0 if it succeeds, or
232
- * :macro:`NGTCP2_ERR_CALLBACK_FAILURE`.
233
- */
234
- NGTCP2_EXTERN int
235
- ngtcp2_crypto_encrypt_cb(uint8_t *dest, const ngtcp2_crypto_aead *aead,
236
- const ngtcp2_crypto_aead_ctx *aead_ctx,
237
- const uint8_t *plaintext, size_t plaintextlen,
238
- const uint8_t *nonce, size_t noncelen,
239
- const uint8_t *aad, size_t aadlen);
240
-
241
- /**
242
- * @function
243
- *
244
- * `ngtcp2_crypto_decrypt` decrypts |ciphertext| of length
245
- * |ciphertextlen| and writes the plaintext into the buffer pointed by
246
- * |dest|. The length of plaintext is |ciphertextlen| -
247
- * :member:`aead->max_overhead <ngtcp2_crypto_aead.max_overhead>`
248
- * bytes long. |dest| must have enough capacity to store the
249
- * plaintext. |dest| and |ciphertext| may point to the same buffer.
250
- *
251
- * This function returns 0 if it succeeds, or -1.
252
- */
253
- NGTCP2_EXTERN int ngtcp2_crypto_decrypt(uint8_t *dest,
254
- const ngtcp2_crypto_aead *aead,
255
- const ngtcp2_crypto_aead_ctx *aead_ctx,
256
- const uint8_t *ciphertext,
257
- size_t ciphertextlen,
258
- const uint8_t *nonce, size_t noncelen,
259
- const uint8_t *aad, size_t aadlen);
260
-
261
- /**
262
- * @function
263
- *
264
- * `ngtcp2_crypto_decrypt_cb` is a wrapper function around
265
- * `ngtcp2_crypto_decrypt`. It can be directly passed to
266
- * :member:`ngtcp2_callbacks.decrypt` field.
267
- *
268
- * This function returns 0 if it succeeds, or
269
- * :macro:`NGTCP2_ERR_TLS_DECRYPT`.
270
- */
271
- NGTCP2_EXTERN int
272
- ngtcp2_crypto_decrypt_cb(uint8_t *dest, const ngtcp2_crypto_aead *aead,
273
- const ngtcp2_crypto_aead_ctx *aead_ctx,
274
- const uint8_t *ciphertext, size_t ciphertextlen,
275
- const uint8_t *nonce, size_t noncelen,
276
- const uint8_t *aad, size_t aadlen);
277
-
278
- /**
279
- * @function
280
- *
281
- * `ngtcp2_crypto_hp_mask` generates a mask which is used in packet
282
- * header encryption. The mask is written to the buffer pointed by
283
- * |dest|. The sample is passed as |sample| which is
284
- * :macro:`NGTCP2_HP_SAMPLELEN` bytes long. The length of mask must
285
- * be at least :macro:`NGTCP2_HP_MASKLEN`. The library only uses the
286
- * first :macro:`NGTCP2_HP_MASKLEN` bytes of the produced mask. The
287
- * buffer pointed by |dest| must have at least
288
- * :macro:`NGTCP2_HP_SAMPLELEN` bytes available.
289
- *
290
- * This function returns 0 if it succeeds, or -1.
291
- */
292
- NGTCP2_EXTERN int ngtcp2_crypto_hp_mask(uint8_t *dest,
293
- const ngtcp2_crypto_cipher *hp,
294
- const ngtcp2_crypto_cipher_ctx *hp_ctx,
295
- const uint8_t *sample);
296
-
297
- /**
298
- * @function
299
- *
300
- * `ngtcp2_crypto_hp_mask_cb` is a wrapper function around
301
- * `ngtcp2_crypto_hp_mask`. It can be directly passed to
302
- * :member:`ngtcp2_callbacks.hp_mask` field.
303
- *
304
- * This function returns 0 if it succeeds, or
305
- * :macro:`NGTCP2_ERR_CALLBACK_FAILURE`.
306
- */
307
- NGTCP2_EXTERN int
308
- ngtcp2_crypto_hp_mask_cb(uint8_t *dest, const ngtcp2_crypto_cipher *hp,
309
- const ngtcp2_crypto_cipher_ctx *hp_ctx,
310
- const uint8_t *sample);
311
-
312
- /**
313
- * @function
314
- *
315
- * `ngtcp2_crypto_derive_and_install_rx_key` derives the decryption
316
- * keying materials from |secret|, and installs them to |conn|.
317
- *
318
- * If |key| is not NULL, the derived packet protection key is written
319
- * to the buffer pointed by |key|. If |iv| is not NULL, the derived
320
- * packet protection IV is written to the buffer pointed by |iv|. If
321
- * |hp| is not NULL, the derived header protection key is written to
322
- * the buffer pointed by |hp|.
323
- *
324
- * |secretlen| specifies the length of |secret|.
325
- *
326
- * The length of packet protection key and header protection key is
327
- * `ngtcp2_crypto_aead_keylen(ctx->aead) <ngtcp2_crypto_aead_keylen>`,
328
- * and the length of packet protection IV is
329
- * `ngtcp2_crypto_packet_protection_ivlen(ctx->aead)
330
- * <ngtcp2_crypto_packet_protection_ivlen>` where ctx is obtained by
331
- * `ngtcp2_crypto_ctx_tls` (or `ngtcp2_crypto_ctx_tls_early` if
332
- * |level| ==
333
- * :enum:`ngtcp2_encryption_level.NGTCP2_ENCRYPTION_LEVEL_0RTT`).
334
- *
335
- * In the first call of this function, it calls
336
- * `ngtcp2_conn_set_crypto_ctx` (or `ngtcp2_conn_set_early_crypto_ctx`
337
- * if |level| ==
338
- * :enum:`ngtcp2_encryption_level.NGTCP2_ENCRYPTION_LEVEL_0RTT`) to
339
- * set negotiated AEAD and message digest algorithm. After the
340
- * successful call of this function, application can use
341
- * `ngtcp2_conn_get_crypto_ctx` (or `ngtcp2_conn_get_0rtt_crypto_ctx`
342
- * if |level| ==
343
- * :enum:`ngtcp2_encryption_level.NGTCP2_ENCRYPTION_LEVEL_0RTT`) to
344
- * get :type:`ngtcp2_crypto_ctx`.
345
- *
346
- * If |conn| is initialized as client, and |level| is
347
- * :enum:`ngtcp2_encryption_level.NGTCP2_ENCRYPTION_LEVEL_1RTT`, this
348
- * function retrieves a remote QUIC transport parameters extension
349
- * from an object obtained by `ngtcp2_conn_get_tls_native_handle`, and
350
- * sets it to |conn| by calling
351
- * `ngtcp2_conn_decode_and_set_remote_transport_params`.
352
- *
353
- * This function returns 0 if it succeeds, or -1.
354
- */
355
- NGTCP2_EXTERN int ngtcp2_crypto_derive_and_install_rx_key(
356
- ngtcp2_conn *conn, uint8_t *key, uint8_t *iv, uint8_t *hp,
357
- ngtcp2_encryption_level level, const uint8_t *secret, size_t secretlen);
358
-
359
- /**
360
- * @function
361
- *
362
- * `ngtcp2_crypto_derive_and_install_tx_key` derives the encryption
363
- * keying materials from |secret|, and installs new keys to |conn|.
364
- *
365
- * If |key| is not NULL, the derived packet protection key is written
366
- * to the buffer pointed by |key|. If |iv| is not NULL, the derived
367
- * packet protection IV is written to the buffer pointed by |iv|. If
368
- * |hp| is not NULL, the derived header protection key is written to
369
- * the buffer pointed by |hp|.
370
- *
371
- * |secretlen| specifies the length of |secret|.
372
- *
373
- * The length of packet protection key and header protection key is
374
- * `ngtcp2_crypto_aead_keylen(ctx->aead) <ngtcp2_crypto_aead_keylen>`,
375
- * and the length of packet protection IV is
376
- * `ngtcp2_crypto_packet_protection_ivlen(ctx->aead)
377
- * <ngtcp2_crypto_packet_protection_ivlen>` where ctx is obtained by
378
- * `ngtcp2_crypto_ctx_tls` (or `ngtcp2_crypto_ctx_tls_early` if
379
- * |level| ==
380
- * :enum:`ngtcp2_encryption_level.NGTCP2_ENCRYPTION_LEVEL_0RTT`).
381
- *
382
- * In the first call of this function, it calls
383
- * `ngtcp2_conn_set_crypto_ctx` (or `ngtcp2_conn_set_early_crypto_ctx`
384
- * if |level| ==
385
- * :enum:`ngtcp2_encryption_level.NGTCP2_ENCRYPTION_LEVEL_0RTT`) to
386
- * set negotiated AEAD and message digest algorithm. After the
387
- * successful call of this function, application can use
388
- * `ngtcp2_conn_get_crypto_ctx` (or `ngtcp2_conn_get_0rtt_crypto_ctx`
389
- * if |level| ==
390
- * :enum:`ngtcp2_encryption_level.NGTCP2_ENCRYPTION_LEVEL_0RTT`) to
391
- * get :type:`ngtcp2_crypto_ctx`.
392
- *
393
- * If |conn| is initialized as server, and |level| is
394
- * :enum:`ngtcp2_encryption_level.NGTCP2_ENCRYPTION_LEVEL_1RTT`, this
395
- * function retrieves a remote QUIC transport parameters extension
396
- * from an object obtained by `ngtcp2_conn_get_tls_native_handle`, and
397
- * sets it to |conn| by calling
398
- * `ngtcp2_conn_decode_and_set_remote_transport_params`.
399
- *
400
- * This function returns 0 if it succeeds, or -1.
401
- */
402
- NGTCP2_EXTERN int ngtcp2_crypto_derive_and_install_tx_key(
403
- ngtcp2_conn *conn, uint8_t *key, uint8_t *iv, uint8_t *hp,
404
- ngtcp2_encryption_level level, const uint8_t *secret, size_t secretlen);
405
-
406
- /**
407
- * @function
408
- *
409
- * `ngtcp2_crypto_update_key` updates traffic keying materials.
410
- *
411
- * The new decryption traffic secret is written to the buffer pointed
412
- * by |rx_secret|. The length of secret is |secretlen| bytes, and
413
- * |rx_secret| must point to the buffer which has enough capacity.
414
- *
415
- * The new encryption traffic secret is written to the buffer pointed
416
- * by |tx_secret|. The length of secret is |secretlen| bytes, and
417
- * |tx_secret| must point to the buffer which has enough capacity.
418
- *
419
- * The derived decryption packet protection key is written to the
420
- * buffer pointed by |rx_key|. The derived decryption packet
421
- * protection IV is written to the buffer pointed by |rx_iv|.
422
- * |rx_aead_ctx| is initialized with the derived key and IV.
423
- *
424
- * The derived encryption packet protection key is written to the
425
- * buffer pointed by |tx_key|. The derived encryption packet
426
- * protection IV is written to the buffer pointed by |tx_iv|.
427
- * |tx_aead_ctx| is initialized with the derived key and IV.
428
- *
429
- * |current_rx_secret| and |current_tx_secret| are the current
430
- * decryption and encryption traffic secrets respectively. They share
431
- * the same length with |rx_secret| and |tx_secret|.
432
- *
433
- * The length of packet protection key and header protection key is
434
- * `ngtcp2_crypto_aead_keylen(ctx->aead) <ngtcp2_crypto_aead_keylen>`,
435
- * and the length of packet protection IV is
436
- * `ngtcp2_crypto_packet_protection_ivlen(ctx->aead)
437
- * <ngtcp2_crypto_packet_protection_ivlen>` where ctx is obtained by
438
- * `ngtcp2_crypto_ctx_tls`.
439
- *
440
- * This function returns 0 if it succeeds, or -1.
441
- */
442
- NGTCP2_EXTERN int ngtcp2_crypto_update_key(
443
- ngtcp2_conn *conn, uint8_t *rx_secret, uint8_t *tx_secret,
444
- ngtcp2_crypto_aead_ctx *rx_aead_ctx, uint8_t *rx_key, uint8_t *rx_iv,
445
- ngtcp2_crypto_aead_ctx *tx_aead_ctx, uint8_t *tx_key, uint8_t *tx_iv,
446
- const uint8_t *current_rx_secret, const uint8_t *current_tx_secret,
447
- size_t secretlen);
448
-
449
- /**
450
- * @function
451
- *
452
- * `ngtcp2_crypto_update_key_cb` is a wrapper function around
453
- * `ngtcp2_crypto_update_key`. It can be directly passed to
454
- * :member:`ngtcp2_callbacks.update_key` field.
455
- *
456
- * This function returns 0 if it succeeds, or
457
- * :macro:`NGTCP2_ERR_CALLBACK_FAILURE`.
458
- */
459
- NGTCP2_EXTERN int ngtcp2_crypto_update_key_cb(
460
- ngtcp2_conn *conn, uint8_t *rx_secret, uint8_t *tx_secret,
461
- ngtcp2_crypto_aead_ctx *rx_aead_ctx, uint8_t *rx_iv,
462
- ngtcp2_crypto_aead_ctx *tx_aead_ctx, uint8_t *tx_iv,
463
- const uint8_t *current_rx_secret, const uint8_t *current_tx_secret,
464
- size_t secretlen, void *user_data);
465
-
466
- /**
467
- * @function
468
- *
469
- * `ngtcp2_crypto_client_initial_cb` installs initial secrets and
470
- * encryption keys, and sets QUIC transport parameters.
471
- *
472
- * This function can be directly passed to
473
- * :member:`ngtcp2_callbacks.client_initial` field. It is only used
474
- * by client.
475
- *
476
- * This function returns 0 if it succeeds, or
477
- * :macro:`NGTCP2_ERR_CALLBACK_FAILURE`.
478
- */
479
- NGTCP2_EXTERN int ngtcp2_crypto_client_initial_cb(ngtcp2_conn *conn,
480
- void *user_data);
481
-
482
- /**
483
- * @function
484
- *
485
- * `ngtcp2_crypto_recv_retry_cb` re-installs initial secrets in
486
- * response to incoming Retry packet.
487
- *
488
- * This function can be directly passed to
489
- * :member:`ngtcp2_callbacks.recv_retry` field. It is only used by
490
- * client.
491
- *
492
- * This function returns 0 if it succeeds, or
493
- * :macro:`NGTCP2_ERR_CALLBACK_FAILURE`.
494
- */
495
- NGTCP2_EXTERN int ngtcp2_crypto_recv_retry_cb(ngtcp2_conn *conn,
496
- const ngtcp2_pkt_hd *hd,
497
- void *user_data);
498
-
499
- /**
500
- * @function
501
- *
502
- * `ngtcp2_crypto_recv_client_initial_cb` installs initial secrets in
503
- * response to an incoming Initial packet from client, and sets QUIC
504
- * transport parameters.
505
- *
506
- * This function can be directly passed to
507
- * :member:`ngtcp2_callbacks.recv_client_initial` field. It is only
508
- * used by server.
509
- *
510
- * This function returns 0 if it succeeds, or
511
- * :macro:`NGTCP2_ERR_CALLBACK_FAILURE`.
512
- */
513
- NGTCP2_EXTERN int ngtcp2_crypto_recv_client_initial_cb(ngtcp2_conn *conn,
514
- const ngtcp2_cid *dcid,
515
- void *user_data);
516
-
517
- /**
518
- * @function
519
- *
520
- * `ngtcp2_crypto_read_write_crypto_data` reads CRYPTO data |data| of
521
- * length |datalen| in an encryption level |encryption_level|, and may
522
- * feed outgoing CRYPTO data to |conn|. This function can drive
523
- * handshake. This function can be also used after handshake
524
- * completes. It is allowed to call this function with |datalen| ==
525
- * 0. In this case, no additional read operation is done.
526
- *
527
- * This function returns 0 if it succeeds, or a negative error code.
528
- * The generic error code is -1 if a specific error code is not
529
- * suitable. The error codes less than -10000 are specific to
530
- * underlying TLS implementation. For quictls, the error codes are
531
- * defined in *ngtcp2_crypto_quictls.h*.
532
- */
533
- NGTCP2_EXTERN int
534
- ngtcp2_crypto_read_write_crypto_data(ngtcp2_conn *conn,
535
- ngtcp2_encryption_level encryption_level,
536
- const uint8_t *data, size_t datalen);
537
-
538
- /**
539
- * @function
540
- *
541
- * `ngtcp2_crypto_recv_crypto_data_cb` is a wrapper function around
542
- * `ngtcp2_crypto_read_write_crypto_data`. It can be directly passed
543
- * to :member:`ngtcp2_callbacks.recv_crypto_data` field.
544
- *
545
- * If this function is used, the TLS implementation specific error
546
- * codes described in `ngtcp2_crypto_read_write_crypto_data` are
547
- * treated as if it returns -1. Do not use this function if an
548
- * application wishes to use the TLS implementation specific error
549
- * codes.
550
- */
551
- NGTCP2_EXTERN int ngtcp2_crypto_recv_crypto_data_cb(
552
- ngtcp2_conn *conn, ngtcp2_encryption_level encryption_level, uint64_t offset,
553
- const uint8_t *data, size_t datalen, void *user_data);
554
-
555
- /**
556
- * @function
557
- *
558
- * `ngtcp2_crypto_generate_stateless_reset_token` generates a
559
- * stateless reset token using HKDF extraction using the given |cid|
560
- * and |secret| as input. The token will be written to the buffer
561
- * pointed by |token|, and it must have a capacity of at least
562
- * :macro:`NGTCP2_STATELESS_RESET_TOKENLEN` bytes.
563
- *
564
- * This function returns 0 if it succeeds, or -1.
565
- */
566
- NGTCP2_EXTERN int ngtcp2_crypto_generate_stateless_reset_token(
567
- uint8_t *token, const uint8_t *secret, size_t secretlen,
568
- const ngtcp2_cid *cid);
569
-
570
- /**
571
- * @macro
572
- *
573
- * :macro:`NGTCP2_CRYPTO_TOKEN_RAND_DATALEN` is the length of random
574
- * data added to a token generated by
575
- * `ngtcp2_crypto_generate_retry_token` or
576
- * `ngtcp2_crypto_generate_regular_token`.
577
- */
578
- #define NGTCP2_CRYPTO_TOKEN_RAND_DATALEN 16
579
-
580
- /**
581
- * @macro
582
- *
583
- * :macro:`NGTCP2_CRYPTO_TOKEN_MAGIC_RETRY` is the magic byte for
584
- * Retry token generated by `ngtcp2_crypto_generate_retry_token`.
585
- */
586
- #define NGTCP2_CRYPTO_TOKEN_MAGIC_RETRY 0xb6
587
-
588
- /**
589
- * @macro
590
- *
591
- * :macro:`NGTCP2_CRYPTO_TOKEN_MAGIC_RETRY2` is the magic byte for
592
- * Retry token generated by `ngtcp2_crypto_generate_retry_token2`.
593
- */
594
- #define NGTCP2_CRYPTO_TOKEN_MAGIC_RETRY2 0xb7
595
-
596
- /**
597
- * @macro
598
- *
599
- * :macro:`NGTCP2_CRYPTO_TOKEN_MAGIC_REGULAR` is the magic byte for a
600
- * token generated by `ngtcp2_crypto_generate_regular_token`.
601
- */
602
- #define NGTCP2_CRYPTO_TOKEN_MAGIC_REGULAR 0x36
603
-
604
- /**
605
- * @macro
606
- *
607
- * :macro:`NGTCP2_CRYPTO_MAX_RETRY_TOKENLEN` is the maximum length of
608
- * a token generated by `ngtcp2_crypto_generate_retry_token`.
609
- */
610
- #define NGTCP2_CRYPTO_MAX_RETRY_TOKENLEN \
611
- (/* magic = */ 1 + /* cid len = */ 1 + NGTCP2_MAX_CIDLEN + \
612
- sizeof(ngtcp2_tstamp) + /* aead tag = */ 16 + \
613
- NGTCP2_CRYPTO_TOKEN_RAND_DATALEN)
614
-
615
- /**
616
- * @macro
617
- *
618
- * :macro:`NGTCP2_CRYPTO_MAX_RETRY_TOKENLEN2` is the maximum length of
619
- * a token generated by `ngtcp2_crypto_generate_retry_token2`.
620
- */
621
- #define NGTCP2_CRYPTO_MAX_RETRY_TOKENLEN2 \
622
- (/* magic = */ 1 + sizeof(ngtcp2_sockaddr_union) + /* cid len = */ 1 + \
623
- NGTCP2_MAX_CIDLEN + sizeof(ngtcp2_tstamp) + /* aead tag = */ 16 + \
624
- NGTCP2_CRYPTO_TOKEN_RAND_DATALEN)
625
-
626
- /**
627
- * @macro
628
- *
629
- * :macro:`NGTCP2_CRYPTO_MAX_REGULAR_TOKENLEN` is the maximum length
630
- * of a token generated by `ngtcp2_crypto_generate_regular_token`.
631
- * `ngtcp2_crypto_generate_regular_token2` generates a token of length
632
- * at most :macro:`NGTCP2_CRYPTO_MAX_REGULAR_TOKENLEN` bytes + the
633
- * length of the provided opaque data.
634
- */
635
- #define NGTCP2_CRYPTO_MAX_REGULAR_TOKENLEN \
636
- (/* magic = */ 1 + sizeof(ngtcp2_tstamp) + /* aead tag = */ 16 + \
637
- NGTCP2_CRYPTO_TOKEN_RAND_DATALEN)
638
-
639
- /**
640
- * @function
641
- *
642
- * `ngtcp2_crypto_generate_retry_token` generates a token in the
643
- * buffer pointed by |token| that is sent with Retry packet. The
644
- * buffer pointed by |token| must have at least
645
- * :macro:`NGTCP2_CRYPTO_MAX_RETRY_TOKENLEN` bytes long. The
646
- * successfully generated token starts with
647
- * :macro:`NGTCP2_CRYPTO_TOKEN_MAGIC_RETRY`. |secret| of length
648
- * |secretlen| is a keying material to generate keys to encrypt the
649
- * token. |version| is QUIC version. |remote_addr| of length
650
- * |remote_addrlen| is an address of client. |retry_scid| is a Source
651
- * Connection ID chosen by server, and set in Retry packet. |odcid|
652
- * is a Destination Connection ID in Initial packet sent by client.
653
- * |ts| is the timestamp when the token is generated.
654
- *
655
- * See also `ngtcp2_crypto_generate_retry_token2`.
656
- *
657
- * This function returns the length of generated token if it succeeds,
658
- * or -1.
659
- */
660
- NGTCP2_EXTERN ngtcp2_ssize ngtcp2_crypto_generate_retry_token(
661
- uint8_t *token, const uint8_t *secret, size_t secretlen, uint32_t version,
662
- const ngtcp2_sockaddr *remote_addr, ngtcp2_socklen remote_addrlen,
663
- const ngtcp2_cid *retry_scid, const ngtcp2_cid *odcid, ngtcp2_tstamp ts);
664
-
665
- /**
666
- * @function
667
- *
668
- * `ngtcp2_crypto_verify_retry_token` verifies Retry token stored in
669
- * the buffer pointed by |token| of length |tokenlen|. |secret| of
670
- * length |secretlen| is a keying material to generate keys to decrypt
671
- * the token. |version| is QUIC version of the Initial packet that
672
- * contains this token. |remote_addr| of length |remote_addrlen| is
673
- * an address of client. |dcid| is a Destination Connection ID in
674
- * Initial packet sent by client. |timeout| is the period during
675
- * which the token is valid. |ts| is the current timestamp. When
676
- * validation succeeds, the extracted Destination Connection ID (which
677
- * is the Destination Connection ID in Initial packet sent by client
678
- * that triggered Retry packet) is stored in the buffer pointed by
679
- * |odcid|.
680
- *
681
- * This function returns 0 if it succeeds, or -1.
682
- */
683
- NGTCP2_EXTERN int ngtcp2_crypto_verify_retry_token(
684
- ngtcp2_cid *odcid, const uint8_t *token, size_t tokenlen,
685
- const uint8_t *secret, size_t secretlen, uint32_t version,
686
- const ngtcp2_sockaddr *remote_addr, ngtcp2_socklen remote_addrlen,
687
- const ngtcp2_cid *dcid, ngtcp2_duration timeout, ngtcp2_tstamp ts);
688
-
689
- /**
690
- * @function
691
- *
692
- * `ngtcp2_crypto_generate_retry_token2` generates a token in the
693
- * buffer pointed by |token| that is sent with Retry packet. The
694
- * buffer pointed by |token| must have at least
695
- * :macro:`NGTCP2_CRYPTO_MAX_RETRY_TOKENLEN2` bytes long. The
696
- * successfully generated token starts with
697
- * :macro:`NGTCP2_CRYPTO_TOKEN_MAGIC_RETRY2`. |secret| of length
698
- * |secretlen| is a keying material to generate keys to encrypt the
699
- * token. |version| is QUIC version. |remote_addr| of length
700
- * |remote_addrlen| is an address of client. |retry_scid| is a Source
701
- * Connection ID chosen by server, and set in Retry packet. |odcid|
702
- * is a Destination Connection ID in Initial packet sent by client.
703
- * |ts| is the timestamp when the token is generated.
704
- *
705
- * Use this function instead of `ngtcp2_crypto_generate_retry_token`
706
- * if more detailed error handling is required when verifying the
707
- * token. `ngtcp2_crypto_verify_retry_token2` must be used to verify
708
- * the token.
709
- *
710
- * This function returns the length of generated token if it succeeds,
711
- * or -1.
712
- */
713
- NGTCP2_EXTERN ngtcp2_ssize ngtcp2_crypto_generate_retry_token2(
714
- uint8_t *token, const uint8_t *secret, size_t secretlen, uint32_t version,
715
- const ngtcp2_sockaddr *remote_addr, ngtcp2_socklen remote_addrlen,
716
- const ngtcp2_cid *retry_scid, const ngtcp2_cid *odcid, ngtcp2_tstamp ts);
717
-
718
- /**
719
- * @function
720
- *
721
- * `ngtcp2_crypto_verify_retry_token2` verifies Retry token stored in
722
- * the buffer pointed by |token| of length |tokenlen|. |secret| of
723
- * length |secretlen| is a keying material to generate keys to decrypt
724
- * the token. |version| is QUIC version of the Initial packet that
725
- * contains this token. |remote_addr| of length |remote_addrlen| is
726
- * an address of client. |dcid| is a Destination Connection ID in
727
- * Initial packet sent by client. |timeout| is the period during
728
- * which the token is valid. |ts| is the current timestamp. When
729
- * validation succeeds, the extracted Destination Connection ID (which
730
- * is the Destination Connection ID in Initial packet sent by client
731
- * that triggered Retry packet) is stored in the buffer pointed by
732
- * |odcid|.
733
- *
734
- * The token must be generated by
735
- * `ngtcp2_crypto_generate_retry_token2`.
736
- *
737
- * This function returns 0 if it succeeds, or one of the following
738
- * negative error codes:
739
- *
740
- * :macro:`NGTCP2_CRYPTO_ERR_UNREADABLE_TOKEN`
741
- * A token is badly formatted; or verifying the integrity
742
- * protection failed.
743
- * :macro:`NGTCP2_CRYPTO_ERR_VERIFY_TOKEN`
744
- * A token does not probe the client address; or the token
745
- * validity has expired; or it contains invalid Connection ID.
746
- * :macro:`NGTCP2_CRYPTO_ERR_INTERNAL`
747
- * Internal error occurred.
748
- */
749
- NGTCP2_EXTERN int ngtcp2_crypto_verify_retry_token2(
750
- ngtcp2_cid *odcid, const uint8_t *token, size_t tokenlen,
751
- const uint8_t *secret, size_t secretlen, uint32_t version,
752
- const ngtcp2_sockaddr *remote_addr, ngtcp2_socklen remote_addrlen,
753
- const ngtcp2_cid *dcid, ngtcp2_duration timeout, ngtcp2_tstamp ts);
754
-
755
- /**
756
- * @function
757
- *
758
- * `ngtcp2_crypto_generate_regular_token` generates a token in the
759
- * buffer pointed by |token| that is sent with NEW_TOKEN frame. The
760
- * buffer pointed by |token| must have at least
761
- * :macro:`NGTCP2_CRYPTO_MAX_REGULAR_TOKENLEN` bytes long. The
762
- * successfully generated token starts with
763
- * :macro:`NGTCP2_CRYPTO_TOKEN_MAGIC_REGULAR`. |secret| of length
764
- * |secretlen| is a keying material to generate keys to encrypt the
765
- * token. |remote_addr| of length |remote_addrlen| is an address of
766
- * client. |ts| is the timestamp when the token is generated.
767
- *
768
- * This function returns the length of generated token if it succeeds,
769
- * or -1.
770
- */
771
- NGTCP2_EXTERN ngtcp2_ssize ngtcp2_crypto_generate_regular_token(
772
- uint8_t *token, const uint8_t *secret, size_t secretlen,
773
- const ngtcp2_sockaddr *remote_addr, ngtcp2_socklen remote_addrlen,
774
- ngtcp2_tstamp ts);
775
-
776
- /**
777
- * @function
778
- *
779
- * `ngtcp2_crypto_verify_regular_token` verifies a regular token
780
- * stored in the buffer pointed by |token| of length |tokenlen|.
781
- * |secret| of length |secretlen| is a keying material to generate
782
- * keys to decrypt the token. |remote_addr| of length
783
- * |remote_addrlen| is an address of client. |timeout| is the period
784
- * during which the token is valid. |ts| is the current timestamp.
785
- *
786
- * This function returns 0 if it succeeds, or -1.
787
- */
788
- NGTCP2_EXTERN int ngtcp2_crypto_verify_regular_token(
789
- const uint8_t *token, size_t tokenlen, const uint8_t *secret,
790
- size_t secretlen, const ngtcp2_sockaddr *remote_addr,
791
- ngtcp2_socklen remote_addrlen, ngtcp2_duration timeout, ngtcp2_tstamp ts);
792
-
793
- /**
794
- * @function
795
- *
796
- * `ngtcp2_crypto_generate_regular_token2` generates a token in the
797
- * buffer pointed by |token| that is sent with NEW_TOKEN frame. The
798
- * buffer pointed by |token| must have at least
799
- * :macro:`NGTCP2_CRYPTO_MAX_REGULAR_TOKENLEN` + |datalen| bytes long.
800
- * The successfully generated token starts with
801
- * :macro:`NGTCP2_CRYPTO_TOKEN_MAGIC_REGULAR`. |secret| of length
802
- * |secretlen| is a keying material to generate keys to encrypt the
803
- * token. |remote_addr| of length |remote_addrlen| is an address of
804
- * client. |ts| is the timestamp when the token is generated. |data|
805
- * of length |datalen| is an opaque data embedded in the token.
806
- * |datalen| must be less than or equal to 256.
807
- *
808
- * Calling this function with |datalen| = 0 is equivalent to calling
809
- * `ngtcp2_crypto_generate_regular_token`.
810
- *
811
- * To get the opaque data after successful verification, use
812
- * `ngtcp2_crypto_verify_regular_token2`.
813
- * `ngtcp2_crypto_verify_regular_token` can verify the token with
814
- * |datalen| > 0, but it discards the opaque data.
815
- *
816
- * This function returns the length of generated token if it succeeds,
817
- * or -1.
818
- */
819
- NGTCP2_EXTERN ngtcp2_ssize ngtcp2_crypto_generate_regular_token2(
820
- uint8_t *token, const uint8_t *secret, size_t secretlen,
821
- const ngtcp2_sockaddr *remote_addr, ngtcp2_socklen remote_addrlen,
822
- const void *data, size_t datalen, ngtcp2_tstamp ts);
823
-
824
- /**
825
- * @function
826
- *
827
- * `ngtcp2_crypto_verify_regular_token2` verifies a regular token
828
- * stored in the buffer pointed by |token| of length |tokenlen|.
829
- * |secret| of length |secretlen| is a keying material to generate
830
- * keys to decrypt the token. |remote_addr| of length
831
- * |remote_addrlen| is an address of client. |timeout| is the period
832
- * during which the token is valid. |ts| is the current timestamp.
833
- * |data| is the pointer to the buffer of length at least
834
- * |max_datalen| bytes. If the token is verified successfully, the
835
- * opaque data embedded in the token is copied to the buffer pointed
836
- * by |data|.
837
- *
838
- * If |tokenlen| is less than
839
- * :macro:`NGTCP2_CRYPTO_MAX_REGULAR_TOKENLEN`, this function returns
840
- * :macro:`NGTCP2_CRYPTO_ERR_UNREADABLE_TOKEN`.
841
- *
842
- * If the length of opaque data is larger than |max_datalen|, the
843
- * verification still succeeds, but nothing is written to the buffer
844
- * pointed by |data|, and this function returns 0. In other words,
845
- * the opaque data is discarded.
846
- *
847
- * This function returns the number of the opaque data written to the
848
- * buffer pointed by |data| if it succeeds, or one of the following
849
- * negative error codes:
850
- *
851
- * :macro:`NGTCP2_CRYPTO_ERR_UNREADABLE_TOKEN`
852
- * A token is badly formatted; or verifying the integrity
853
- * protection failed.
854
- * :macro:`NGTCP2_CRYPTO_ERR_VERIFY_TOKEN`
855
- * A token validity has expired.
856
- * :macro:`NGTCP2_CRYPTO_ERR_INTERNAL`
857
- * Internal error occurred.
858
- */
859
- NGTCP2_EXTERN ngtcp2_ssize ngtcp2_crypto_verify_regular_token2(
860
- void *data, size_t max_datalen, const uint8_t *token, size_t tokenlen,
861
- const uint8_t *secret, size_t secretlen, const ngtcp2_sockaddr *remote_addr,
862
- ngtcp2_socklen remote_addrlen, ngtcp2_duration timeout, ngtcp2_tstamp ts);
863
-
864
- /**
865
- * @function
866
- *
867
- * `ngtcp2_crypto_write_connection_close` writes Initial packet
868
- * containing CONNECTION_CLOSE with the given |error_code| and the
869
- * optional |reason| of length |reasonlen| to the buffer pointed by
870
- * |dest| of length |destlen|. This function is designed for server
871
- * to close connection without committing the state when validating
872
- * Retry token fails. This function must not be used by client. The
873
- * |dcid| must be the Source Connection ID in Initial packet from
874
- * client. The |scid| must be the Destination Connection ID in
875
- * Initial packet from client. |scid| is used to derive initial
876
- * keying materials.
877
- *
878
- * This function wraps around `ngtcp2_pkt_write_connection_close` for
879
- * easier use.
880
- *
881
- * This function returns 0 if it succeeds, or -1.
882
- */
883
- NGTCP2_EXTERN ngtcp2_ssize ngtcp2_crypto_write_connection_close(
884
- uint8_t *dest, size_t destlen, uint32_t version, const ngtcp2_cid *dcid,
885
- const ngtcp2_cid *scid, uint64_t error_code, const uint8_t *reason,
886
- size_t reasonlen);
887
-
888
- /**
889
- * @function
890
- *
891
- * `ngtcp2_crypto_write_retry` writes Retry packet to the buffer
892
- * pointed by |dest| of length |destlen|. |dcid| is the Connection ID
893
- * which appeared in a packet as a Source Connection ID sent by
894
- * client. |scid| is a server chosen Source Connection ID. |odcid|
895
- * specifies Original Destination Connection ID which appeared in a
896
- * packet as a Destination Connection ID sent by client. |token|
897
- * specifies Retry Token, and |tokenlen| specifies its length.
898
- *
899
- * This function wraps around `ngtcp2_pkt_write_retry` for easier use.
900
- *
901
- * This function returns 0 if it succeeds, or -1.
902
- */
903
- NGTCP2_EXTERN ngtcp2_ssize ngtcp2_crypto_write_retry(
904
- uint8_t *dest, size_t destlen, uint32_t version, const ngtcp2_cid *dcid,
905
- const ngtcp2_cid *scid, const ngtcp2_cid *odcid, const uint8_t *token,
906
- size_t tokenlen);
907
-
908
- /**
909
- * @function
910
- *
911
- * `ngtcp2_crypto_aead_ctx_encrypt_init` initializes |aead_ctx| with
912
- * new AEAD cipher context object for encryption which is constructed
913
- * to use |key| as encryption key. |aead| specifies AEAD cipher to
914
- * use. |noncelen| is the length of nonce.
915
- *
916
- * This function returns 0 if it succeeds, or -1.
917
- */
918
- NGTCP2_EXTERN int
919
- ngtcp2_crypto_aead_ctx_encrypt_init(ngtcp2_crypto_aead_ctx *aead_ctx,
920
- const ngtcp2_crypto_aead *aead,
921
- const uint8_t *key, size_t noncelen);
922
-
923
- /**
924
- * @function
925
- *
926
- * `ngtcp2_crypto_aead_ctx_decrypt_init` initializes |aead_ctx| with
927
- * new AEAD cipher context object for decryption which is constructed
928
- * to use |key| as decryption key. |aead| specifies AEAD cipher to
929
- * use. |noncelen| is the length of nonce.
930
- *
931
- * This function returns 0 if it succeeds, or -1.
932
- */
933
- NGTCP2_EXTERN int
934
- ngtcp2_crypto_aead_ctx_decrypt_init(ngtcp2_crypto_aead_ctx *aead_ctx,
935
- const ngtcp2_crypto_aead *aead,
936
- const uint8_t *key, size_t noncelen);
937
-
938
- /**
939
- * @function
940
- *
941
- * `ngtcp2_crypto_aead_ctx_free` frees up resources used by
942
- * |aead_ctx|. This function does not free the memory pointed by
943
- * |aead_ctx| itself.
944
- */
945
- NGTCP2_EXTERN void
946
- ngtcp2_crypto_aead_ctx_free(ngtcp2_crypto_aead_ctx *aead_ctx);
947
-
948
- /**
949
- * @function
950
- *
951
- * `ngtcp2_crypto_delete_crypto_aead_ctx_cb` deletes the given
952
- * |aead_ctx|.
953
- *
954
- * This function can be directly passed to
955
- * :member:`ngtcp2_callbacks.delete_crypto_aead_ctx` field.
956
- */
957
- NGTCP2_EXTERN void ngtcp2_crypto_delete_crypto_aead_ctx_cb(
958
- ngtcp2_conn *conn, ngtcp2_crypto_aead_ctx *aead_ctx, void *user_data);
959
-
960
- /**
961
- * @function
962
- *
963
- * `ngtcp2_crypto_delete_crypto_cipher_ctx_cb` deletes the given
964
- * |cipher_ctx|.
965
- *
966
- * This function can be directly passed to
967
- * :member:`ngtcp2_callbacks.delete_crypto_cipher_ctx` field.
968
- */
969
- NGTCP2_EXTERN void ngtcp2_crypto_delete_crypto_cipher_ctx_cb(
970
- ngtcp2_conn *conn, ngtcp2_crypto_cipher_ctx *cipher_ctx, void *user_data);
971
-
972
- /**
973
- * @function
974
- *
975
- * `ngtcp2_crypto_get_path_challenge_data_cb` writes unpredictable
976
- * sequence of :macro:`NGTCP2_PATH_CHALLENGE_DATALEN` bytes to |data|
977
- * which is sent with PATH_CHALLENGE frame.
978
- *
979
- * This function can be directly passed to
980
- * :member:`ngtcp2_callbacks.get_path_challenge_data` field.
981
- */
982
- NGTCP2_EXTERN int ngtcp2_crypto_get_path_challenge_data_cb(ngtcp2_conn *conn,
983
- uint8_t *data,
984
- void *user_data);
985
-
986
- /**
987
- * @function
988
- *
989
- * `ngtcp2_crypto_version_negotiation_cb` installs Initial keys for
990
- * |version| which is negotiated or being negotiated. |client_dcid|
991
- * is the destination connection ID in first Initial packet from
992
- * client.
993
- *
994
- * This function can be directly passed to
995
- * :member:`ngtcp2_callbacks.version_negotiation` field.
996
- */
997
- NGTCP2_EXTERN int
998
- ngtcp2_crypto_version_negotiation_cb(ngtcp2_conn *conn, uint32_t version,
999
- const ngtcp2_cid *client_dcid,
1000
- void *user_data);
1001
-
1002
- typedef struct ngtcp2_crypto_conn_ref ngtcp2_crypto_conn_ref;
1003
-
1004
- /**
1005
- * @functypedef
1006
- *
1007
- * :type:`ngtcp2_crypto_get_conn` is a callback function to get a
1008
- * pointer to :type:`ngtcp2_conn` from |conn_ref|. The implementation
1009
- * must return non-NULL :type:`ngtcp2_conn` object.
1010
- */
1011
- typedef ngtcp2_conn *(*ngtcp2_crypto_get_conn)(
1012
- ngtcp2_crypto_conn_ref *conn_ref);
1013
-
1014
- /**
1015
- * @struct
1016
- *
1017
- * :type:`ngtcp2_crypto_conn_ref` is a structure to get a pointer to
1018
- * :type:`ngtcp2_conn`. It is meant to be set to TLS native handle as
1019
- * an application specific data (e.g. SSL_set_app_data in quictls).
1020
- */
1021
- typedef struct ngtcp2_crypto_conn_ref {
1022
- /**
1023
- * :member:`get_conn` is a callback function to get a pointer to
1024
- * :type:`ngtcp2_conn` object.
1025
- */
1026
- ngtcp2_crypto_get_conn get_conn;
1027
- /**
1028
- * :member:`user_data` is a pointer to arbitrary user data.
1029
- */
1030
- void *user_data;
1031
- } ngtcp2_crypto_conn_ref;
1032
-
1033
- #ifdef __cplusplus
1034
- }
1035
- #endif /* defined(__cplusplus) */
1036
-
1037
- #endif /* !defined(NGTCP2_CRYPTO_H) */