@annadata/capacitor-mqtt-quic 0.1.6 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AnnadataCapacitorMqttQuic.podspec +2 -1
- package/Package.swift +59 -0
- package/README.md +173 -24
- package/android/NGTCP2_BUILD_INSTRUCTIONS.md +66 -45
- package/android/app/src/main/assets/capacitor.config.json +1 -1
- package/android/build-openssl.sh +1 -1
- package/android/build.gradle +4 -1
- package/android/install/nghttp3-android/arm64-v8a/include/nghttp3/nghttp3.h +3295 -0
- package/android/install/nghttp3-android/arm64-v8a/include/nghttp3/version.h +46 -0
- package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3Config.cmake +3 -0
- package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3ConfigVersion.cmake +65 -0
- package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3Targets-release.cmake +29 -0
- package/android/install/nghttp3-android/arm64-v8a/lib/cmake/nghttp3/nghttp3Targets.cmake +114 -0
- package/android/install/nghttp3-android/arm64-v8a/lib/libnghttp3.a +0 -0
- package/android/install/nghttp3-android/arm64-v8a/lib/libnghttp3.so +0 -0
- package/android/install/nghttp3-android/arm64-v8a/lib/pkgconfig/libnghttp3.pc +34 -0
- package/android/install/nghttp3-android/arm64-v8a/share/doc/nghttp3/README.rst +75 -0
- package/android/install/nghttp3-android/armeabi-v7a/include/nghttp3/nghttp3.h +3295 -0
- package/android/install/nghttp3-android/armeabi-v7a/include/nghttp3/version.h +46 -0
- package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3Config.cmake +3 -0
- package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3ConfigVersion.cmake +65 -0
- package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3Targets-release.cmake +29 -0
- package/android/install/nghttp3-android/armeabi-v7a/lib/cmake/nghttp3/nghttp3Targets.cmake +114 -0
- package/android/install/nghttp3-android/armeabi-v7a/lib/libnghttp3.a +0 -0
- package/android/install/nghttp3-android/armeabi-v7a/lib/libnghttp3.so +0 -0
- package/android/install/nghttp3-android/armeabi-v7a/lib/pkgconfig/libnghttp3.pc +34 -0
- package/android/install/nghttp3-android/armeabi-v7a/share/doc/nghttp3/README.rst +75 -0
- package/android/install/nghttp3-android/x86_64/include/nghttp3/nghttp3.h +3295 -0
- package/android/install/nghttp3-android/x86_64/include/nghttp3/version.h +46 -0
- package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3Config.cmake +3 -0
- package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3ConfigVersion.cmake +65 -0
- package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3Targets-release.cmake +29 -0
- package/android/install/nghttp3-android/x86_64/lib/cmake/nghttp3/nghttp3Targets.cmake +114 -0
- package/android/install/nghttp3-android/x86_64/lib/libnghttp3.a +0 -0
- package/android/install/nghttp3-android/x86_64/lib/libnghttp3.so +0 -0
- package/android/install/nghttp3-android/x86_64/lib/pkgconfig/libnghttp3.pc +34 -0
- package/android/install/nghttp3-android/x86_64/share/doc/nghttp3/README.rst +75 -0
- package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/ngtcp2.h +6254 -0
- package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/ngtcp2_crypto.h +1037 -0
- package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/ngtcp2_crypto_wolfssl.h +106 -0
- package/android/install/ngtcp2-android/arm64-v8a/include/ngtcp2/version.h +51 -0
- package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2Config.cmake +6 -0
- package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2ConfigVersion.cmake +65 -0
- package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2Targets-release.cmake +29 -0
- package/android/install/ngtcp2-android/arm64-v8a/lib/cmake/ngtcp2/ngtcp2Targets.cmake +114 -0
- package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2.a +0 -0
- package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2.so +0 -0
- package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2_crypto_wolfssl.a +0 -0
- package/android/install/ngtcp2-android/arm64-v8a/lib/libngtcp2_crypto_wolfssl.so +0 -0
- package/android/install/ngtcp2-android/arm64-v8a/lib/pkgconfig/libngtcp2.pc +33 -0
- package/android/install/ngtcp2-android/arm64-v8a/lib/pkgconfig/libngtcp2_crypto_wolfssl.pc +34 -0
- package/android/install/ngtcp2-android/arm64-v8a/share/doc/ngtcp2/README.rst +385 -0
- package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/ngtcp2.h +6254 -0
- package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/ngtcp2_crypto.h +1037 -0
- package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/ngtcp2_crypto_wolfssl.h +106 -0
- package/android/install/ngtcp2-android/armeabi-v7a/include/ngtcp2/version.h +51 -0
- package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2Config.cmake +6 -0
- package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2ConfigVersion.cmake +65 -0
- package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2Targets-release.cmake +29 -0
- package/android/install/ngtcp2-android/armeabi-v7a/lib/cmake/ngtcp2/ngtcp2Targets.cmake +114 -0
- package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2.a +0 -0
- package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2.so +0 -0
- package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2_crypto_wolfssl.a +0 -0
- package/android/install/ngtcp2-android/armeabi-v7a/lib/libngtcp2_crypto_wolfssl.so +0 -0
- package/android/install/ngtcp2-android/armeabi-v7a/lib/pkgconfig/libngtcp2.pc +33 -0
- package/android/install/ngtcp2-android/armeabi-v7a/lib/pkgconfig/libngtcp2_crypto_wolfssl.pc +34 -0
- package/android/install/ngtcp2-android/armeabi-v7a/share/doc/ngtcp2/README.rst +385 -0
- package/android/install/ngtcp2-android/x86_64/include/ngtcp2/ngtcp2.h +6254 -0
- package/android/install/ngtcp2-android/x86_64/include/ngtcp2/ngtcp2_crypto.h +1037 -0
- package/android/install/ngtcp2-android/x86_64/include/ngtcp2/ngtcp2_crypto_wolfssl.h +106 -0
- package/android/install/ngtcp2-android/x86_64/include/ngtcp2/version.h +51 -0
- package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2Config.cmake +6 -0
- package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2ConfigVersion.cmake +65 -0
- package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2Targets-release.cmake +29 -0
- package/android/install/ngtcp2-android/x86_64/lib/cmake/ngtcp2/ngtcp2Targets.cmake +114 -0
- package/android/install/ngtcp2-android/x86_64/lib/libngtcp2.a +0 -0
- package/android/install/ngtcp2-android/x86_64/lib/libngtcp2.so +0 -0
- package/android/install/ngtcp2-android/x86_64/lib/libngtcp2_crypto_wolfssl.a +0 -0
- package/android/install/ngtcp2-android/x86_64/lib/libngtcp2_crypto_wolfssl.so +0 -0
- package/android/install/ngtcp2-android/x86_64/lib/pkgconfig/libngtcp2.pc +33 -0
- package/android/install/ngtcp2-android/x86_64/lib/pkgconfig/libngtcp2_crypto_wolfssl.pc +34 -0
- package/android/install/ngtcp2-android/x86_64/share/doc/ngtcp2/README.rst +385 -0
- package/android/install/wolfssl-android/arm64-v8a/bin/wolfssl-config +117 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/callbacks.h +93 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/certs_test.h +7073 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/certs_test_sm.h +2913 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/crl.h +58 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/error-ssl.h +280 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/ocsp.h +191 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/aes.h +117 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/asn1.h +315 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/asn1t.h +30 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/bio.h +237 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/bn.h +332 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/buffer.h +57 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/camellia.h +27 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/cmac.h +66 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/cms.h +26 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/compat_types.h +70 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/conf.h +117 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/crypto.h +171 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/des.h +124 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/dh.h +144 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/dsa.h +164 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ec.h +525 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ec25519.h +46 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ec448.h +46 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ecdh.h +49 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ecdsa.h +87 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ed25519.h +49 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ed448.h +49 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/engine.h +9 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/err.h +84 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/evp.h +1540 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/fips_rand.h +125 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/hmac.h +98 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/kdf.h +45 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/lhash.h +64 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/md4.h +66 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/md5.h +108 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/modes.h +45 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/obj_mac.h +92 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/objects.h +86 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ocsp.h +108 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/opensslconf.h +8 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/opensslv.h +78 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ossl_typ.h +32 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/pem.h +301 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/pkcs12.h +57 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/pkcs7.h +110 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/rand.h +38 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/rc4.h +64 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ripemd.h +58 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/rsa.h +291 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/safestack.h +40 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/sha.h +331 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/sha3.h +158 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/srp.h +33 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ssl.h +1923 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ssl23.h +1 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/stack.h +61 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/tls1.h +64 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/txt_db.h +60 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/ui.h +2 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/x509.h +227 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/x509_vfy.h +50 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/openssl/x509v3.h +237 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/options.h +273 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/quic.h +310 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/sniffer.h +359 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/sniffer_error.h +151 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/ssl.h +6300 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/test.h +4989 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/version.h +40 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/aes.h +1074 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/arc4.h +69 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ascon.h +109 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/asn.h +2855 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/asn_public.h +1009 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/blake2-impl.h +155 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/blake2-int.h +174 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/blake2.h +108 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/camellia.h +116 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/chacha.h +133 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/chacha20_poly1305.h +157 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/cmac.h +168 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/coding.h +107 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/compress.h +60 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/cpuid.h +153 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/cryptocb.h +770 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/curve25519.h +225 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/curve448.h +151 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/des3.h +167 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/dh.h +210 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/dilithium.h +1051 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/dsa.h +121 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ecc.h +1074 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/eccsi.h +176 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ed25519.h +239 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ed448.h +214 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/error-crypt.h +368 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ext_lms.h +62 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ext_mlkem.h +74 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ext_xmss.h +53 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/falcon.h +180 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/fe_448.h +122 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/fe_operations.h +189 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/fips_test.h +131 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ge_448.h +84 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ge_operations.h +134 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/hash.h +296 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/hmac.h +231 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/hpke.h +145 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/integer.h +449 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/kdf.h +199 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/lms.h +202 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/logging.h +588 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/md2.h +83 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/md4.h +77 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/md5.h +141 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mem_track.h +968 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/memory.h +545 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/misc.h +214 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mlkem.h +377 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mpi_class.h +1021 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/mpi_superclass.h +96 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/oid_sum.h +1907 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/pkcs12.h +79 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/pkcs7.h +578 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/poly1305.h +207 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/pwdbased.h +81 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/random.h +300 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/rc2.h +68 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/ripemd.h +67 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/rsa.h +494 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sakke.h +228 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/settings.h +4762 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha.h +237 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha256.h +360 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha3.h +274 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sha512.h +372 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/signature.h +87 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/siphash.h +101 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sm2.h +27 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sm3.h +27 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sm4.h +27 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sp_int.h +1396 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/sphincs.h +167 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/srp.h +313 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/tfm.h +941 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/types.h +2383 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/visibility.h +97 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_encrypt.h +126 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_lms.h +506 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_mlkem.h +370 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_port.h +1764 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wc_xmss.h +285 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wolfevent.h +120 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/wolfmath.h +175 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfcrypt/xmss.h +203 -0
- package/android/install/wolfssl-android/arm64-v8a/include/wolfssl/wolfio.h +1035 -0
- package/android/install/wolfssl-android/arm64-v8a/lib/libwolfssl.a +0 -0
- package/android/install/wolfssl-android/arm64-v8a/lib/libwolfssl.la +41 -0
- package/android/install/wolfssl-android/arm64-v8a/lib/pkgconfig/wolfssl.pc +11 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/QUIC.md +117 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/README.txt +8 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/async_client.c +245 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/async_server.c +331 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/client.c +4885 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/echoclient.c +341 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/echoserver.c +498 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-client-dtls.c +135 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-client.c +78 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-server-dtls.c +134 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/sctp-server.c +83 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/server.c +4124 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/example/tls_bench.c +2357 -0
- package/android/install/wolfssl-android/arm64-v8a/share/doc/wolfssl/taoCert.txt +176 -0
- package/android/install/wolfssl-android/armeabi-v7a/bin/wolfssl-config +117 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/callbacks.h +93 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/certs_test.h +7073 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/certs_test_sm.h +2913 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/crl.h +58 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/error-ssl.h +280 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/ocsp.h +191 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/aes.h +117 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/asn1.h +315 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/asn1t.h +30 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/bio.h +237 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/bn.h +332 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/buffer.h +57 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/camellia.h +27 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/cmac.h +66 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/cms.h +26 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/compat_types.h +70 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/conf.h +117 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/crypto.h +171 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/des.h +124 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/dh.h +144 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/dsa.h +164 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ec.h +525 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ec25519.h +46 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ec448.h +46 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ecdh.h +49 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ecdsa.h +87 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ed25519.h +49 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ed448.h +49 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/engine.h +9 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/err.h +84 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/evp.h +1540 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/fips_rand.h +125 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/hmac.h +98 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/kdf.h +45 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/lhash.h +64 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/md4.h +66 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/md5.h +108 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/modes.h +45 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/obj_mac.h +92 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/objects.h +86 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ocsp.h +108 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/opensslconf.h +8 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/opensslv.h +78 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ossl_typ.h +32 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/pem.h +301 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/pkcs12.h +57 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/pkcs7.h +110 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/rand.h +38 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/rc4.h +64 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ripemd.h +58 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/rsa.h +291 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/safestack.h +40 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/sha.h +331 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/sha3.h +158 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/srp.h +33 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ssl.h +1923 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ssl23.h +1 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/stack.h +61 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/tls1.h +64 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/txt_db.h +60 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/ui.h +2 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/x509.h +227 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/x509_vfy.h +50 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/openssl/x509v3.h +237 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/options.h +261 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/quic.h +310 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/sniffer.h +359 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/sniffer_error.h +151 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/ssl.h +6300 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/test.h +4989 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/version.h +40 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/aes.h +1074 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/arc4.h +69 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ascon.h +109 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/asn.h +2855 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/asn_public.h +1009 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/blake2-impl.h +155 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/blake2-int.h +174 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/blake2.h +108 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/camellia.h +116 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/chacha.h +133 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/chacha20_poly1305.h +157 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/cmac.h +168 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/coding.h +107 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/compress.h +60 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/cpuid.h +153 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/cryptocb.h +770 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/curve25519.h +225 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/curve448.h +151 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/des3.h +167 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/dh.h +210 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/dilithium.h +1051 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/dsa.h +121 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ecc.h +1074 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/eccsi.h +176 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ed25519.h +239 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ed448.h +214 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/error-crypt.h +368 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ext_lms.h +62 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ext_mlkem.h +74 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ext_xmss.h +53 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/falcon.h +180 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/fe_448.h +122 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/fe_operations.h +189 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/fips_test.h +131 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ge_448.h +84 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ge_operations.h +134 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/hash.h +296 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/hmac.h +231 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/hpke.h +145 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/integer.h +449 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/kdf.h +199 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/lms.h +202 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/logging.h +588 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/md2.h +83 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/md4.h +77 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/md5.h +141 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mem_track.h +968 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/memory.h +545 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/misc.h +214 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mlkem.h +377 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mpi_class.h +1021 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/mpi_superclass.h +96 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/oid_sum.h +1907 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/pkcs12.h +79 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/pkcs7.h +578 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/poly1305.h +207 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/pwdbased.h +81 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/random.h +300 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/rc2.h +68 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/ripemd.h +67 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/rsa.h +494 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sakke.h +228 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/settings.h +4762 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha.h +237 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha256.h +360 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha3.h +274 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sha512.h +372 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/signature.h +87 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/siphash.h +101 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sm2.h +27 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sm3.h +27 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sm4.h +27 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sp_int.h +1396 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/sphincs.h +167 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/srp.h +313 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/tfm.h +941 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/types.h +2383 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/visibility.h +97 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_encrypt.h +126 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_lms.h +506 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_mlkem.h +370 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_port.h +1764 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wc_xmss.h +285 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wolfevent.h +120 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/wolfmath.h +175 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfcrypt/xmss.h +203 -0
- package/android/install/wolfssl-android/armeabi-v7a/include/wolfssl/wolfio.h +1035 -0
- package/android/install/wolfssl-android/armeabi-v7a/lib/libwolfssl.a +0 -0
- package/android/install/wolfssl-android/armeabi-v7a/lib/libwolfssl.la +41 -0
- package/android/install/wolfssl-android/armeabi-v7a/lib/pkgconfig/wolfssl.pc +11 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/QUIC.md +117 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/README.txt +8 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/async_client.c +245 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/async_server.c +331 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/client.c +4885 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/echoclient.c +341 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/echoserver.c +498 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-client-dtls.c +135 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-client.c +78 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-server-dtls.c +134 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/sctp-server.c +83 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/server.c +4124 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/example/tls_bench.c +2357 -0
- package/android/install/wolfssl-android/armeabi-v7a/share/doc/wolfssl/taoCert.txt +176 -0
- package/android/install/wolfssl-android/x86_64/bin/wolfssl-config +117 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/callbacks.h +93 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/certs_test.h +7073 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/certs_test_sm.h +2913 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/crl.h +58 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/error-ssl.h +280 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/ocsp.h +191 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/aes.h +117 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/asn1.h +315 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/asn1t.h +30 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/bio.h +237 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/bn.h +332 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/buffer.h +57 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/camellia.h +27 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/cmac.h +66 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/cms.h +26 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/compat_types.h +70 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/conf.h +117 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/crypto.h +171 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/des.h +124 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/dh.h +144 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/dsa.h +164 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ec.h +525 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ec25519.h +46 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ec448.h +46 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ecdh.h +49 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ecdsa.h +87 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ed25519.h +49 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ed448.h +49 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/engine.h +9 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/err.h +84 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/evp.h +1540 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/fips_rand.h +125 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/hmac.h +98 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/kdf.h +45 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/lhash.h +64 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/md4.h +66 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/md5.h +108 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/modes.h +45 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/obj_mac.h +92 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/objects.h +86 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ocsp.h +108 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/opensslconf.h +8 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/opensslv.h +78 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ossl_typ.h +32 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/pem.h +301 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/pkcs12.h +57 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/pkcs7.h +110 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/rand.h +38 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/rc4.h +64 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ripemd.h +58 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/rsa.h +291 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/safestack.h +40 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/sha.h +331 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/sha3.h +158 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/srp.h +33 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ssl.h +1923 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ssl23.h +1 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/stack.h +61 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/tls1.h +64 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/txt_db.h +60 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/ui.h +2 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/x509.h +227 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/x509_vfy.h +50 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/openssl/x509v3.h +237 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/options.h +273 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/quic.h +310 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/sniffer.h +359 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/sniffer_error.h +151 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/ssl.h +6300 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/test.h +4989 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/version.h +40 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/aes.h +1074 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/arc4.h +69 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ascon.h +109 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/asn.h +2855 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/asn_public.h +1009 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/blake2-impl.h +155 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/blake2-int.h +174 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/blake2.h +108 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/camellia.h +116 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/chacha.h +133 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/chacha20_poly1305.h +157 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/cmac.h +168 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/coding.h +107 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/compress.h +60 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/cpuid.h +153 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/cryptocb.h +770 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/curve25519.h +225 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/curve448.h +151 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/des3.h +167 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/dh.h +210 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/dilithium.h +1051 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/dsa.h +121 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ecc.h +1074 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/eccsi.h +176 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ed25519.h +239 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ed448.h +214 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/error-crypt.h +368 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ext_lms.h +62 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ext_mlkem.h +74 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ext_xmss.h +53 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/falcon.h +180 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/fe_448.h +122 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/fe_operations.h +189 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/fips_test.h +131 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ge_448.h +84 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ge_operations.h +134 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/hash.h +296 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/hmac.h +231 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/hpke.h +145 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/integer.h +449 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/kdf.h +199 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/lms.h +202 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/logging.h +588 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/md2.h +83 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/md4.h +77 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/md5.h +141 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mem_track.h +968 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/memory.h +545 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/misc.h +214 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mlkem.h +377 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mpi_class.h +1021 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/mpi_superclass.h +96 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/oid_sum.h +1907 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/pkcs12.h +79 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/pkcs7.h +578 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/poly1305.h +207 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/pwdbased.h +81 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/random.h +300 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/rc2.h +68 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/ripemd.h +67 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/rsa.h +494 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sakke.h +228 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/settings.h +4762 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha.h +237 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha256.h +360 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha3.h +274 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sha512.h +372 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/signature.h +87 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/siphash.h +101 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sm2.h +27 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sm3.h +27 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sm4.h +27 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sp_int.h +1396 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/sphincs.h +167 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/srp.h +313 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/tfm.h +941 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/types.h +2383 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/visibility.h +97 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_encrypt.h +126 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_lms.h +506 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_mlkem.h +370 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_port.h +1764 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wc_xmss.h +285 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wolfevent.h +120 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/wolfmath.h +175 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfcrypt/xmss.h +203 -0
- package/android/install/wolfssl-android/x86_64/include/wolfssl/wolfio.h +1035 -0
- package/android/install/wolfssl-android/x86_64/lib/libwolfssl.a +0 -0
- package/android/install/wolfssl-android/x86_64/lib/libwolfssl.la +41 -0
- package/android/install/wolfssl-android/x86_64/lib/pkgconfig/wolfssl.pc +11 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/QUIC.md +117 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/README.txt +8 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/async_client.c +245 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/async_server.c +331 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/client.c +4885 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/echoclient.c +341 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/echoserver.c +498 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-client-dtls.c +135 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-client.c +78 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-server-dtls.c +134 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/sctp-server.c +83 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/server.c +4124 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/example/tls_bench.c +2357 -0
- package/android/install/wolfssl-android/x86_64/share/doc/wolfssl/taoCert.txt +176 -0
- package/android/src/main/cpp/CMakeLists.txt +35 -29
- package/android/src/main/cpp/ngtcp2_jni.cpp +56 -50
- package/android/src/main/kotlin/ai/annadata/mqttquic/MqttQuicPlugin.kt +18 -3
- package/android/src/main/kotlin/ai/annadata/mqttquic/client/MQTTClient.kt +9 -6
- package/android/src/main/kotlin/ai/annadata/mqttquic/mqtt/MQTTProtocol.kt +3 -3
- package/android/src/main/kotlin/ai/annadata/mqttquic/mqtt/MQTTTypes.kt +15 -15
- package/android/src/main/kotlin/ai/annadata/mqttquic/quic/NGTCP2Client.kt +1 -0
- package/build-native.sh +397 -0
- package/deps-versions.sh +25 -0
- package/dist/esm/definitions.d.ts +20 -0
- package/dist/esm/definitions.d.ts.map +1 -1
- package/dist/esm/web.d.ts +26 -3
- package/dist/esm/web.d.ts.map +1 -1
- package/dist/esm/web.js +230 -10
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.cjs.js +11363 -13
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +11364 -14
- package/dist/plugin.js.map +1 -1
- package/docs/ARCHITECTURAL_ANALYSIS.md +710 -0
- package/docs/CAPACITOR_MQTT_QUIC_PRODUCTION_PLUGIN.md +190 -0
- package/docs/CAPACITOR_VERSION_SUPPORT.md +65 -0
- package/docs/IMPLEMENTATION_SUMMARY.md +246 -0
- package/docs/MQTT5_CLIENT_COMPLIANCE.md +48 -0
- package/docs/MQTT5_IMPLEMENTATION_COMPLETE.md +178 -0
- package/docs/MQTT_VERSION_ANALYSIS.md +233 -0
- package/docs/NGTCP2_IMPLEMENTATION_STATUS.md +214 -0
- package/docs/NGTCP2_INTEGRATION_PLAN.md +597 -0
- package/docs/P0_P1_CHANGELOG.md +79 -0
- package/docs/PRODUCTION_PUBLISH_STEPS.md +167 -0
- package/docs/PROJECT_OVERVIEW.md +193 -0
- package/ios/.swiftpm/xcode/xcuserdata/annadata.xcuserdatad/xcschemes/xcschememanagement.plist +1 -1
- package/ios/{MqttQuicPlugin.podspec → AnnadataCapacitorMqttQuic.podspec} +4 -4
- package/ios/App/App/capacitor.config.json +1 -1
- package/ios/NGTCP2_BUILD_INSTRUCTIONS.md +15 -3
- package/ios/Package.swift +7 -8
- package/ios/Sources/MqttQuicPlugin/MqttQuicPlugin.swift +6 -0
- package/ios/Sources/MqttQuicPlugin/QUIC/NGTCP2Bridge.mm +6 -0
- package/ios/Tests/MQTTProtocolTests.swift +1 -1
- package/ios/build-openssl.sh +1 -1
- package/ios/libs/MqttQuicLibs.xcframework/Info.plist +44 -0
- package/ios/libs/MqttQuicLibs.xcframework/ios-arm64/libmqttquic_native_device.a +0 -0
- package/ios/libs/MqttQuicLibs.xcframework/ios-arm64_x86_64-simulator/libmqttquic_native_simulator.a +0 -0
- package/ios/libs/libnghttp3.a +0 -0
- package/ios/libs/libngtcp2.a +0 -0
- package/ios/libs/libngtcp2_crypto_wolfssl.a +0 -0
- package/ios/libs/libwolfssl.a +0 -0
- package/ios/libs-simulator/libnghttp3.a +0 -0
- package/ios/libs-simulator/libngtcp2.a +0 -0
- package/ios/libs-simulator/libngtcp2_crypto_wolfssl.a +0 -0
- package/ios/libs-simulator/libwolfssl.a +0 -0
- package/ios/libs-simulator-x86_64/libnghttp3.a +0 -0
- package/ios/libs-simulator-x86_64/libngtcp2.a +0 -0
- package/ios/libs-simulator-x86_64/libngtcp2_crypto_wolfssl.a +0 -0
- package/ios/libs-simulator-x86_64/libwolfssl.a +0 -0
- package/package.json +26 -10
|
@@ -0,0 +1,770 @@
|
|
|
1
|
+
/* cryptocb.h
|
|
2
|
+
*
|
|
3
|
+
* Copyright (C) 2006-2025 wolfSSL Inc.
|
|
4
|
+
*
|
|
5
|
+
* This file is part of wolfSSL.
|
|
6
|
+
*
|
|
7
|
+
* wolfSSL is free software; you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU General Public License as published by
|
|
9
|
+
* the Free Software Foundation; either version 3 of the License, or
|
|
10
|
+
* (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* wolfSSL is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU General Public License
|
|
18
|
+
* along with this program; if not, write to the Free Software
|
|
19
|
+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
#ifndef _WOLF_CRYPTO_CB_H_
|
|
23
|
+
#define _WOLF_CRYPTO_CB_H_
|
|
24
|
+
|
|
25
|
+
#include <wolfssl/wolfcrypt/types.h>
|
|
26
|
+
|
|
27
|
+
#ifdef __cplusplus
|
|
28
|
+
extern "C" {
|
|
29
|
+
#endif
|
|
30
|
+
|
|
31
|
+
/* Defines the Crypto Callback interface version, for compatibility */
|
|
32
|
+
/* Increment this when Crypto Callback interface changes are made */
|
|
33
|
+
#define CRYPTO_CB_VER 2
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
#ifdef WOLF_CRYPTO_CB
|
|
37
|
+
|
|
38
|
+
#ifndef NO_RSA
|
|
39
|
+
#include <wolfssl/wolfcrypt/rsa.h>
|
|
40
|
+
#endif
|
|
41
|
+
#ifdef HAVE_ECC
|
|
42
|
+
#include <wolfssl/wolfcrypt/ecc.h>
|
|
43
|
+
#endif
|
|
44
|
+
#ifndef NO_AES
|
|
45
|
+
#include <wolfssl/wolfcrypt/aes.h>
|
|
46
|
+
#endif
|
|
47
|
+
#ifndef NO_SHA
|
|
48
|
+
#include <wolfssl/wolfcrypt/sha.h>
|
|
49
|
+
#endif
|
|
50
|
+
#ifndef NO_SHA256
|
|
51
|
+
#include <wolfssl/wolfcrypt/sha256.h>
|
|
52
|
+
#endif
|
|
53
|
+
#ifdef WOLFSSL_SHA3
|
|
54
|
+
#include <wolfssl/wolfcrypt/sha3.h>
|
|
55
|
+
#endif
|
|
56
|
+
#ifndef NO_HMAC
|
|
57
|
+
#include <wolfssl/wolfcrypt/hmac.h>
|
|
58
|
+
#endif
|
|
59
|
+
#ifndef WC_NO_RNG
|
|
60
|
+
#include <wolfssl/wolfcrypt/random.h>
|
|
61
|
+
#endif
|
|
62
|
+
#ifndef NO_DES3
|
|
63
|
+
#include <wolfssl/wolfcrypt/des3.h>
|
|
64
|
+
#endif
|
|
65
|
+
#ifdef WOLFSSL_CMAC
|
|
66
|
+
#include <wolfssl/wolfcrypt/cmac.h>
|
|
67
|
+
#endif
|
|
68
|
+
#ifdef HAVE_ED25519
|
|
69
|
+
#include <wolfssl/wolfcrypt/ed25519.h>
|
|
70
|
+
#endif
|
|
71
|
+
#ifdef HAVE_CURVE25519
|
|
72
|
+
#include <wolfssl/wolfcrypt/curve25519.h>
|
|
73
|
+
#endif
|
|
74
|
+
#if defined(WOLFSSL_SHA512) || defined(WOLFSSL_SHA384)
|
|
75
|
+
#include <wolfssl/wolfcrypt/sha512.h>
|
|
76
|
+
#endif
|
|
77
|
+
#ifdef WOLFSSL_HAVE_MLKEM
|
|
78
|
+
#include <wolfssl/wolfcrypt/mlkem.h>
|
|
79
|
+
#ifdef WOLFSSL_WC_MLKEM
|
|
80
|
+
#include <wolfssl/wolfcrypt/wc_mlkem.h>
|
|
81
|
+
#elif defined(HAVE_LIBOQS)
|
|
82
|
+
#include <wolfssl/wolfcrypt/ext_mlkem.h>
|
|
83
|
+
#endif
|
|
84
|
+
#endif
|
|
85
|
+
#if defined(HAVE_DILITHIUM)
|
|
86
|
+
#include <wolfssl/wolfcrypt/dilithium.h>
|
|
87
|
+
#endif
|
|
88
|
+
#if defined(HAVE_FALCON)
|
|
89
|
+
#include <wolfssl/wolfcrypt/falcon.h>
|
|
90
|
+
#endif
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
#ifdef WOLF_CRYPTO_CB_CMD
|
|
94
|
+
/* CryptoCb Commands */
|
|
95
|
+
enum wc_CryptoCbCmdType {
|
|
96
|
+
WC_CRYPTOCB_CMD_TYPE_NONE = 0,
|
|
97
|
+
WC_CRYPTOCB_CMD_TYPE_REGISTER,
|
|
98
|
+
WC_CRYPTOCB_CMD_TYPE_UNREGISTER,
|
|
99
|
+
|
|
100
|
+
WC_CRYPTOCB_CMD_TYPE_MAX = WC_CRYPTOCB_CMD_TYPE_UNREGISTER
|
|
101
|
+
};
|
|
102
|
+
#endif
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
#if defined(HAVE_AESGCM) || defined(HAVE_AESCCM)
|
|
107
|
+
typedef struct {
|
|
108
|
+
Aes* aes;
|
|
109
|
+
byte* out;
|
|
110
|
+
const byte* in;
|
|
111
|
+
word32 sz;
|
|
112
|
+
const byte* nonce;
|
|
113
|
+
word32 nonceSz;
|
|
114
|
+
const byte* iv;
|
|
115
|
+
word32 ivSz;
|
|
116
|
+
byte* authTag;
|
|
117
|
+
word32 authTagSz;
|
|
118
|
+
const byte* authIn;
|
|
119
|
+
word32 authInSz;
|
|
120
|
+
} wc_CryptoCb_AesAuthEnc;
|
|
121
|
+
typedef struct {
|
|
122
|
+
Aes* aes;
|
|
123
|
+
byte* out;
|
|
124
|
+
const byte* in;
|
|
125
|
+
word32 sz;
|
|
126
|
+
const byte* nonce;
|
|
127
|
+
word32 nonceSz;
|
|
128
|
+
const byte* iv;
|
|
129
|
+
word32 ivSz;
|
|
130
|
+
const byte* authTag;
|
|
131
|
+
word32 authTagSz;
|
|
132
|
+
const byte* authIn;
|
|
133
|
+
word32 authInSz;
|
|
134
|
+
} wc_CryptoCb_AesAuthDec;
|
|
135
|
+
#endif
|
|
136
|
+
|
|
137
|
+
/* Crypto Information Structure for callbacks */
|
|
138
|
+
typedef struct wc_CryptoInfo {
|
|
139
|
+
int algo_type; /* enum wc_AlgoType */
|
|
140
|
+
#ifdef HAVE_ANONYMOUS_INLINE_AGGREGATES
|
|
141
|
+
union {
|
|
142
|
+
#endif
|
|
143
|
+
struct {
|
|
144
|
+
int type; /* enum wc_PkType */
|
|
145
|
+
#ifdef HAVE_ANONYMOUS_INLINE_AGGREGATES
|
|
146
|
+
union {
|
|
147
|
+
#endif
|
|
148
|
+
#ifndef NO_RSA
|
|
149
|
+
struct {
|
|
150
|
+
const byte* in;
|
|
151
|
+
word32 inLen;
|
|
152
|
+
byte* out;
|
|
153
|
+
word32* outLen;
|
|
154
|
+
int type;
|
|
155
|
+
RsaKey* key;
|
|
156
|
+
WC_RNG* rng;
|
|
157
|
+
#ifdef WOLF_CRYPTO_CB_RSA_PAD
|
|
158
|
+
RsaPadding *padding;
|
|
159
|
+
#endif
|
|
160
|
+
} rsa;
|
|
161
|
+
#ifdef WOLFSSL_KEY_GEN
|
|
162
|
+
struct {
|
|
163
|
+
RsaKey* key;
|
|
164
|
+
int size;
|
|
165
|
+
long e;
|
|
166
|
+
WC_RNG* rng;
|
|
167
|
+
} rsakg;
|
|
168
|
+
#endif
|
|
169
|
+
struct {
|
|
170
|
+
RsaKey* key;
|
|
171
|
+
const byte* pubKey;
|
|
172
|
+
word32 pubKeySz;
|
|
173
|
+
} rsa_check;
|
|
174
|
+
struct {
|
|
175
|
+
const RsaKey* key;
|
|
176
|
+
int* keySize;
|
|
177
|
+
} rsa_get_size;
|
|
178
|
+
#endif
|
|
179
|
+
#ifdef HAVE_ECC
|
|
180
|
+
#ifdef HAVE_ECC_DHE
|
|
181
|
+
struct {
|
|
182
|
+
WC_RNG* rng;
|
|
183
|
+
int size;
|
|
184
|
+
ecc_key* key;
|
|
185
|
+
int curveId;
|
|
186
|
+
} eckg;
|
|
187
|
+
struct {
|
|
188
|
+
ecc_key* private_key;
|
|
189
|
+
ecc_key* public_key;
|
|
190
|
+
byte* out;
|
|
191
|
+
word32* outlen;
|
|
192
|
+
} ecdh;
|
|
193
|
+
#endif
|
|
194
|
+
#ifdef HAVE_ECC_SIGN
|
|
195
|
+
struct {
|
|
196
|
+
const byte* in;
|
|
197
|
+
word32 inlen;
|
|
198
|
+
byte* out;
|
|
199
|
+
word32* outlen;
|
|
200
|
+
WC_RNG* rng;
|
|
201
|
+
ecc_key* key;
|
|
202
|
+
} eccsign;
|
|
203
|
+
#endif
|
|
204
|
+
#ifdef HAVE_ECC_VERIFY
|
|
205
|
+
struct {
|
|
206
|
+
const byte* sig;
|
|
207
|
+
word32 siglen;
|
|
208
|
+
const byte* hash;
|
|
209
|
+
word32 hashlen;
|
|
210
|
+
int* res;
|
|
211
|
+
ecc_key* key;
|
|
212
|
+
} eccverify;
|
|
213
|
+
#endif
|
|
214
|
+
#ifdef HAVE_ECC_CHECK_KEY
|
|
215
|
+
struct {
|
|
216
|
+
ecc_key* key;
|
|
217
|
+
const byte* pubKey;
|
|
218
|
+
word32 pubKeySz;
|
|
219
|
+
} ecc_check;
|
|
220
|
+
#endif
|
|
221
|
+
#endif /* HAVE_ECC */
|
|
222
|
+
#ifdef HAVE_CURVE25519
|
|
223
|
+
struct {
|
|
224
|
+
WC_RNG* rng;
|
|
225
|
+
int size;
|
|
226
|
+
curve25519_key* key;
|
|
227
|
+
int curveId;
|
|
228
|
+
} curve25519kg;
|
|
229
|
+
struct {
|
|
230
|
+
curve25519_key* private_key;
|
|
231
|
+
curve25519_key* public_key;
|
|
232
|
+
byte* out;
|
|
233
|
+
word32* outlen;
|
|
234
|
+
int endian;
|
|
235
|
+
} curve25519;
|
|
236
|
+
#endif
|
|
237
|
+
#ifdef HAVE_ED25519
|
|
238
|
+
struct {
|
|
239
|
+
WC_RNG* rng;
|
|
240
|
+
int size;
|
|
241
|
+
ed25519_key* key;
|
|
242
|
+
int curveId;
|
|
243
|
+
} ed25519kg;
|
|
244
|
+
struct {
|
|
245
|
+
const byte* in;
|
|
246
|
+
word32 inLen;
|
|
247
|
+
byte* out;
|
|
248
|
+
word32* outLen;
|
|
249
|
+
ed25519_key* key;
|
|
250
|
+
byte type;
|
|
251
|
+
const byte* context;
|
|
252
|
+
byte contextLen;
|
|
253
|
+
} ed25519sign;
|
|
254
|
+
struct {
|
|
255
|
+
const byte* sig;
|
|
256
|
+
word32 sigLen;
|
|
257
|
+
const byte* msg;
|
|
258
|
+
word32 msgLen;
|
|
259
|
+
int* res;
|
|
260
|
+
ed25519_key* key;
|
|
261
|
+
byte type;
|
|
262
|
+
const byte* context;
|
|
263
|
+
byte contextLen;
|
|
264
|
+
} ed25519verify;
|
|
265
|
+
#endif
|
|
266
|
+
#if defined(WOLFSSL_HAVE_MLKEM)
|
|
267
|
+
struct {
|
|
268
|
+
WC_RNG* rng;
|
|
269
|
+
int size;
|
|
270
|
+
void* key;
|
|
271
|
+
int type; /* enum wc_PqcKemType */
|
|
272
|
+
} pqc_kem_kg;
|
|
273
|
+
struct {
|
|
274
|
+
byte* ciphertext;
|
|
275
|
+
word32 ciphertextLen;
|
|
276
|
+
byte* sharedSecret;
|
|
277
|
+
word32 sharedSecretLen;
|
|
278
|
+
WC_RNG* rng;
|
|
279
|
+
void* key;
|
|
280
|
+
int type; /* enum wc_PqcKemType */
|
|
281
|
+
} pqc_encaps;
|
|
282
|
+
struct {
|
|
283
|
+
const byte* ciphertext;
|
|
284
|
+
word32 ciphertextLen;
|
|
285
|
+
byte* sharedSecret;
|
|
286
|
+
word32 sharedSecretLen;
|
|
287
|
+
void* key;
|
|
288
|
+
int type; /* enum wc_PqcKemType */
|
|
289
|
+
} pqc_decaps;
|
|
290
|
+
#endif
|
|
291
|
+
#if defined(HAVE_FALCON) || defined(HAVE_DILITHIUM)
|
|
292
|
+
struct {
|
|
293
|
+
WC_RNG* rng;
|
|
294
|
+
int size;
|
|
295
|
+
void* key;
|
|
296
|
+
int type; /* enum wc_PqcSignatureType */
|
|
297
|
+
} pqc_sig_kg;
|
|
298
|
+
struct {
|
|
299
|
+
const byte* in;
|
|
300
|
+
word32 inlen;
|
|
301
|
+
byte* out;
|
|
302
|
+
word32* outlen;
|
|
303
|
+
WC_RNG* rng;
|
|
304
|
+
void* key;
|
|
305
|
+
int type; /* enum wc_PqcSignatureType */
|
|
306
|
+
const byte* context;
|
|
307
|
+
byte contextLen;
|
|
308
|
+
word32 preHashType; /* enum wc_HashType */
|
|
309
|
+
} pqc_sign;
|
|
310
|
+
struct {
|
|
311
|
+
const byte* sig;
|
|
312
|
+
word32 siglen;
|
|
313
|
+
const byte* msg;
|
|
314
|
+
word32 msglen;
|
|
315
|
+
int* res;
|
|
316
|
+
void* key;
|
|
317
|
+
int type; /* enum wc_PqcSignatureType */
|
|
318
|
+
const byte* context;
|
|
319
|
+
byte contextLen;
|
|
320
|
+
word32 preHashType; /* enum wc_HashType */
|
|
321
|
+
} pqc_verify;
|
|
322
|
+
struct {
|
|
323
|
+
void* key;
|
|
324
|
+
const byte* pubKey;
|
|
325
|
+
word32 pubKeySz;
|
|
326
|
+
int type; /* enum wc_PqcSignatureType */
|
|
327
|
+
} pqc_sig_check;
|
|
328
|
+
#endif
|
|
329
|
+
#ifdef HAVE_ANONYMOUS_INLINE_AGGREGATES
|
|
330
|
+
};
|
|
331
|
+
#endif
|
|
332
|
+
} pk;
|
|
333
|
+
#if !defined(NO_AES) || !defined(NO_DES3)
|
|
334
|
+
struct {
|
|
335
|
+
int type; /* enum wc_CipherType */
|
|
336
|
+
int enc;
|
|
337
|
+
#ifdef HAVE_ANONYMOUS_INLINE_AGGREGATES
|
|
338
|
+
union {
|
|
339
|
+
#endif
|
|
340
|
+
#ifdef HAVE_AESGCM
|
|
341
|
+
wc_CryptoCb_AesAuthEnc aesgcm_enc;
|
|
342
|
+
wc_CryptoCb_AesAuthDec aesgcm_dec;
|
|
343
|
+
#endif /* HAVE_AESGCM */
|
|
344
|
+
#ifdef HAVE_AESCCM
|
|
345
|
+
wc_CryptoCb_AesAuthEnc aesccm_enc;
|
|
346
|
+
wc_CryptoCb_AesAuthDec aesccm_dec;
|
|
347
|
+
#endif /* HAVE_AESCCM */
|
|
348
|
+
#if defined(HAVE_AES_CBC)
|
|
349
|
+
struct {
|
|
350
|
+
Aes* aes;
|
|
351
|
+
byte* out;
|
|
352
|
+
const byte* in;
|
|
353
|
+
word32 sz;
|
|
354
|
+
} aescbc;
|
|
355
|
+
#endif /* HAVE_AES_CBC */
|
|
356
|
+
#if defined(WOLFSSL_AES_COUNTER)
|
|
357
|
+
struct {
|
|
358
|
+
Aes* aes;
|
|
359
|
+
byte* out;
|
|
360
|
+
const byte* in;
|
|
361
|
+
word32 sz;
|
|
362
|
+
} aesctr;
|
|
363
|
+
#endif /* WOLFSSL_AES_COUNTER */
|
|
364
|
+
#if defined(HAVE_AES_ECB)
|
|
365
|
+
struct {
|
|
366
|
+
Aes* aes;
|
|
367
|
+
byte* out;
|
|
368
|
+
const byte* in;
|
|
369
|
+
word32 sz;
|
|
370
|
+
} aesecb;
|
|
371
|
+
#endif /* HAVE_AES_ECB */
|
|
372
|
+
#ifndef NO_DES3
|
|
373
|
+
struct {
|
|
374
|
+
Des3* des;
|
|
375
|
+
byte* out;
|
|
376
|
+
const byte* in;
|
|
377
|
+
word32 sz;
|
|
378
|
+
} des3;
|
|
379
|
+
#endif
|
|
380
|
+
void* ctx;
|
|
381
|
+
#ifdef HAVE_ANONYMOUS_INLINE_AGGREGATES
|
|
382
|
+
};
|
|
383
|
+
#endif
|
|
384
|
+
} cipher;
|
|
385
|
+
#endif /* !NO_AES || !NO_DES3 */
|
|
386
|
+
#if !defined(NO_SHA) || !defined(NO_SHA256) || \
|
|
387
|
+
defined(WOLFSSL_SHA384) || defined(WOLFSSL_SHA512) || defined(WOLFSSL_SHA3)
|
|
388
|
+
struct {
|
|
389
|
+
int type; /* enum wc_HashType */
|
|
390
|
+
const byte* in;
|
|
391
|
+
word32 inSz;
|
|
392
|
+
byte* digest;
|
|
393
|
+
#ifdef HAVE_ANONYMOUS_INLINE_AGGREGATES
|
|
394
|
+
union {
|
|
395
|
+
#endif
|
|
396
|
+
#ifndef NO_SHA
|
|
397
|
+
wc_Sha* sha1;
|
|
398
|
+
#endif
|
|
399
|
+
#ifdef WOLFSSL_SHA224
|
|
400
|
+
wc_Sha224* sha224;
|
|
401
|
+
#endif
|
|
402
|
+
#ifndef NO_SHA256
|
|
403
|
+
wc_Sha256* sha256;
|
|
404
|
+
#endif
|
|
405
|
+
#ifdef WOLFSSL_SHA384
|
|
406
|
+
wc_Sha384* sha384;
|
|
407
|
+
#endif
|
|
408
|
+
#ifdef WOLFSSL_SHA512
|
|
409
|
+
wc_Sha512* sha512;
|
|
410
|
+
#endif
|
|
411
|
+
#ifdef WOLFSSL_SHA3
|
|
412
|
+
wc_Sha3* sha3;
|
|
413
|
+
#endif
|
|
414
|
+
void* ctx;
|
|
415
|
+
#ifdef HAVE_ANONYMOUS_INLINE_AGGREGATES
|
|
416
|
+
};
|
|
417
|
+
#endif
|
|
418
|
+
} hash;
|
|
419
|
+
#endif /* !NO_SHA || !NO_SHA256 */
|
|
420
|
+
#ifndef NO_HMAC
|
|
421
|
+
struct {
|
|
422
|
+
int macType; /* enum wc_HashType */
|
|
423
|
+
const byte* in;
|
|
424
|
+
word32 inSz;
|
|
425
|
+
byte* digest;
|
|
426
|
+
Hmac* hmac;
|
|
427
|
+
} hmac;
|
|
428
|
+
#endif
|
|
429
|
+
#ifndef WC_NO_RNG
|
|
430
|
+
struct {
|
|
431
|
+
WC_RNG* rng;
|
|
432
|
+
byte* out;
|
|
433
|
+
word32 sz;
|
|
434
|
+
} rng;
|
|
435
|
+
struct {
|
|
436
|
+
OS_Seed* os;
|
|
437
|
+
byte* seed;
|
|
438
|
+
word32 sz;
|
|
439
|
+
} seed;
|
|
440
|
+
#endif
|
|
441
|
+
#ifdef WOLFSSL_CMAC
|
|
442
|
+
struct {
|
|
443
|
+
Cmac* cmac;
|
|
444
|
+
void* ctx;
|
|
445
|
+
const byte* key;
|
|
446
|
+
const byte* in;
|
|
447
|
+
byte* out;
|
|
448
|
+
word32* outSz;
|
|
449
|
+
word32 keySz;
|
|
450
|
+
word32 inSz;
|
|
451
|
+
int type;
|
|
452
|
+
} cmac;
|
|
453
|
+
#endif
|
|
454
|
+
#ifndef NO_CERTS
|
|
455
|
+
struct {
|
|
456
|
+
const byte *id;
|
|
457
|
+
word32 idLen;
|
|
458
|
+
const char *label;
|
|
459
|
+
word32 labelLen;
|
|
460
|
+
byte **certDataOut;
|
|
461
|
+
word32 *certSz;
|
|
462
|
+
int *certFormatOut;
|
|
463
|
+
void *heap;
|
|
464
|
+
} cert;
|
|
465
|
+
#endif
|
|
466
|
+
#ifdef WOLF_CRYPTO_CB_CMD
|
|
467
|
+
struct { /* uses wc_AlgoType=ALGO_NONE */
|
|
468
|
+
int type; /* enum wc_CryptoCbCmdType */
|
|
469
|
+
void *ctx;
|
|
470
|
+
} cmd;
|
|
471
|
+
#endif
|
|
472
|
+
#ifdef WOLF_CRYPTO_CB_COPY
|
|
473
|
+
struct { /* uses wc_AlgoType=WC_ALGO_TYPE_COPY */
|
|
474
|
+
int algo; /* enum wc_AlgoType - HASH, CIPHER, etc */
|
|
475
|
+
int type; /* For HASH: wc_HashType, CIPHER: wc_CipherType */
|
|
476
|
+
void *src; /* Source structure to copy from */
|
|
477
|
+
void *dst; /* Destination structure to copy to */
|
|
478
|
+
} copy;
|
|
479
|
+
#endif /* WOLF_CRYPTO_CB_COPY */
|
|
480
|
+
#ifdef WOLF_CRYPTO_CB_FREE
|
|
481
|
+
struct { /* uses wc_AlgoType=WC_ALGO_TYPE_FREE */
|
|
482
|
+
int algo; /* enum wc_AlgoType - HASH, CIPHER, etc */
|
|
483
|
+
int type; /* For HASH: wc_HashType, CIPHER: wc_CipherType */
|
|
484
|
+
void *obj; /* Object structure to free */
|
|
485
|
+
} free;
|
|
486
|
+
#endif /* WOLF_CRYPTO_CB_FREE */
|
|
487
|
+
#if defined(HAVE_HKDF) || defined(HAVE_CMAC_KDF)
|
|
488
|
+
struct {
|
|
489
|
+
int type; /* enum wc_KdfType */
|
|
490
|
+
#ifdef HAVE_ANONYMOUS_INLINE_AGGREGATES
|
|
491
|
+
union {
|
|
492
|
+
#endif
|
|
493
|
+
#ifdef HAVE_HKDF
|
|
494
|
+
struct { /* HKDF one-shot */
|
|
495
|
+
int hashType; /* WC_SHA256, etc. */
|
|
496
|
+
const byte* inKey; /* Input keying material */
|
|
497
|
+
word32 inKeySz;
|
|
498
|
+
const byte* salt; /* Optional salt */
|
|
499
|
+
word32 saltSz;
|
|
500
|
+
const byte* info; /* Optional info */
|
|
501
|
+
word32 infoSz;
|
|
502
|
+
byte* out; /* Output key material */
|
|
503
|
+
word32 outSz;
|
|
504
|
+
} hkdf;
|
|
505
|
+
#endif
|
|
506
|
+
#if defined(HAVE_CMAC_KDF)
|
|
507
|
+
struct { /* NIST.SP.800-56Cr2 two-step cmac KDF */
|
|
508
|
+
const byte* salt; /* Input keying material for cmac. */
|
|
509
|
+
word32 saltSz;
|
|
510
|
+
const byte* z; /* The input shared secret to cmac. */
|
|
511
|
+
word32 zSz;
|
|
512
|
+
const byte* fixedInfo; /* The fixed information for kdf.*/
|
|
513
|
+
word32 fixedInfoSz;
|
|
514
|
+
byte* out; /* Output key material */
|
|
515
|
+
word32 outSz; /* Desired size of out key material. */
|
|
516
|
+
} twostep_cmac;
|
|
517
|
+
#endif /* HAVE_CMAC_KDf */
|
|
518
|
+
/* Future KDF type structures here */
|
|
519
|
+
#ifdef HAVE_ANONYMOUS_INLINE_AGGREGATES
|
|
520
|
+
};
|
|
521
|
+
#endif
|
|
522
|
+
} kdf;
|
|
523
|
+
#endif /* HAVE_HKDF || HAVE_CMAC_KDF */
|
|
524
|
+
#ifdef HAVE_ANONYMOUS_INLINE_AGGREGATES
|
|
525
|
+
};
|
|
526
|
+
#endif
|
|
527
|
+
} wc_CryptoInfo;
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
typedef int (*CryptoDevCallbackFunc)(int devId, struct wc_CryptoInfo* info, void* ctx);
|
|
531
|
+
|
|
532
|
+
WOLFSSL_LOCAL void wc_CryptoCb_Init(void);
|
|
533
|
+
WOLFSSL_LOCAL void wc_CryptoCb_Cleanup(void);
|
|
534
|
+
WOLFSSL_LOCAL int wc_CryptoCb_GetDevIdAtIndex(int startIdx);
|
|
535
|
+
WOLFSSL_API int wc_CryptoCb_RegisterDevice(int devId, CryptoDevCallbackFunc cb, void* ctx);
|
|
536
|
+
WOLFSSL_API void wc_CryptoCb_UnRegisterDevice(int devId);
|
|
537
|
+
WOLFSSL_API int wc_CryptoCb_DefaultDevID(void);
|
|
538
|
+
|
|
539
|
+
#ifdef WOLF_CRYPTO_CB_FIND
|
|
540
|
+
typedef int (*CryptoDevCallbackFind)(int devId, int algoType);
|
|
541
|
+
WOLFSSL_API void wc_CryptoCb_SetDeviceFindCb(CryptoDevCallbackFind cb);
|
|
542
|
+
#endif
|
|
543
|
+
|
|
544
|
+
#ifdef DEBUG_CRYPTOCB
|
|
545
|
+
WOLFSSL_API void wc_CryptoCb_InfoString(wc_CryptoInfo* info);
|
|
546
|
+
#endif
|
|
547
|
+
|
|
548
|
+
/* old function names */
|
|
549
|
+
#define wc_CryptoDev_RegisterDevice wc_CryptoCb_RegisterDevice
|
|
550
|
+
#define wc_CryptoDev_UnRegisterDevice wc_CryptoCb_UnRegisterDevice
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
#ifndef NO_RSA
|
|
554
|
+
WOLFSSL_LOCAL int wc_CryptoCb_Rsa(const byte* in, word32 inLen, byte* out,
|
|
555
|
+
word32* outLen, int type, RsaKey* key, WC_RNG* rng);
|
|
556
|
+
|
|
557
|
+
#ifdef WOLF_CRYPTO_CB_RSA_PAD
|
|
558
|
+
WOLFSSL_LOCAL int wc_CryptoCb_RsaPad(const byte* in, word32 inLen, byte* out,
|
|
559
|
+
word32* outLen, int type, RsaKey* key, WC_RNG* rng, RsaPadding *padding);
|
|
560
|
+
#endif
|
|
561
|
+
|
|
562
|
+
#ifdef WOLFSSL_KEY_GEN
|
|
563
|
+
WOLFSSL_LOCAL int wc_CryptoCb_MakeRsaKey(RsaKey* key, int size, long e,
|
|
564
|
+
WC_RNG* rng);
|
|
565
|
+
#endif /* WOLFSSL_KEY_GEN */
|
|
566
|
+
|
|
567
|
+
WOLFSSL_LOCAL int wc_CryptoCb_RsaCheckPrivKey(RsaKey* key, const byte* pubKey,
|
|
568
|
+
word32 pubKeySz);
|
|
569
|
+
WOLFSSL_LOCAL int wc_CryptoCb_RsaGetSize(const RsaKey* key, int* keySize);
|
|
570
|
+
#endif /* !NO_RSA */
|
|
571
|
+
|
|
572
|
+
#ifdef HAVE_ECC
|
|
573
|
+
WOLFSSL_LOCAL int wc_CryptoCb_MakeEccKey(WC_RNG* rng, int keySize,
|
|
574
|
+
ecc_key* key, int curveId);
|
|
575
|
+
|
|
576
|
+
WOLFSSL_LOCAL int wc_CryptoCb_Ecdh(ecc_key* private_key, ecc_key* public_key,
|
|
577
|
+
byte* out, word32* outlen);
|
|
578
|
+
|
|
579
|
+
WOLFSSL_LOCAL int wc_CryptoCb_EccSign(const byte* in, word32 inlen, byte* out,
|
|
580
|
+
word32 *outlen, WC_RNG* rng, ecc_key* key);
|
|
581
|
+
|
|
582
|
+
WOLFSSL_LOCAL int wc_CryptoCb_EccVerify(const byte* sig, word32 siglen,
|
|
583
|
+
const byte* hash, word32 hashlen, int* res, ecc_key* key);
|
|
584
|
+
|
|
585
|
+
WOLFSSL_LOCAL int wc_CryptoCb_EccCheckPrivKey(ecc_key* key, const byte* pubKey,
|
|
586
|
+
word32 pubKeySz);
|
|
587
|
+
#endif /* HAVE_ECC */
|
|
588
|
+
|
|
589
|
+
#ifdef HAVE_CURVE25519
|
|
590
|
+
WOLFSSL_LOCAL int wc_CryptoCb_Curve25519Gen(WC_RNG* rng, int keySize,
|
|
591
|
+
curve25519_key* key);
|
|
592
|
+
|
|
593
|
+
WOLFSSL_LOCAL int wc_CryptoCb_Curve25519(curve25519_key* private_key,
|
|
594
|
+
curve25519_key* public_key, byte* out, word32* outlen, int endian);
|
|
595
|
+
#endif /* HAVE_CURVE25519 */
|
|
596
|
+
|
|
597
|
+
#ifdef HAVE_ED25519
|
|
598
|
+
WOLFSSL_LOCAL int wc_CryptoCb_Ed25519Gen(WC_RNG* rng, int keySize,
|
|
599
|
+
ed25519_key* key);
|
|
600
|
+
WOLFSSL_LOCAL int wc_CryptoCb_Ed25519Sign(const byte* in, word32 inLen,
|
|
601
|
+
byte* out, word32 *outLen, ed25519_key* key, byte type, const byte* context,
|
|
602
|
+
byte contextLen);
|
|
603
|
+
WOLFSSL_LOCAL int wc_CryptoCb_Ed25519Verify(const byte* sig, word32 sigLen,
|
|
604
|
+
const byte* msg, word32 msgLen, int* res, ed25519_key* key, byte type,
|
|
605
|
+
const byte* context, byte contextLen);
|
|
606
|
+
#endif /* HAVE_ED25519 */
|
|
607
|
+
|
|
608
|
+
#if defined(WOLFSSL_HAVE_MLKEM)
|
|
609
|
+
WOLFSSL_LOCAL int wc_CryptoCb_PqcKemGetDevId(int type, void* key);
|
|
610
|
+
|
|
611
|
+
WOLFSSL_LOCAL int wc_CryptoCb_MakePqcKemKey(WC_RNG* rng, int type,
|
|
612
|
+
int keySize, void* key);
|
|
613
|
+
|
|
614
|
+
WOLFSSL_LOCAL int wc_CryptoCb_PqcEncapsulate(byte* ciphertext,
|
|
615
|
+
word32 ciphertextLen, byte* sharedSecret, word32 sharedSecretLen,
|
|
616
|
+
WC_RNG* rng, int type, void* key);
|
|
617
|
+
|
|
618
|
+
WOLFSSL_LOCAL int wc_CryptoCb_PqcDecapsulate(const byte* ciphertext,
|
|
619
|
+
word32 ciphertextLen, byte* sharedSecret, word32 sharedSecretLen,
|
|
620
|
+
int type, void* key);
|
|
621
|
+
#endif /* WOLFSSL_HAVE_MLKEM */
|
|
622
|
+
|
|
623
|
+
#if defined(HAVE_FALCON) || defined(HAVE_DILITHIUM)
|
|
624
|
+
WOLFSSL_LOCAL int wc_CryptoCb_PqcSigGetDevId(int type, void* key);
|
|
625
|
+
|
|
626
|
+
WOLFSSL_LOCAL int wc_CryptoCb_MakePqcSignatureKey(WC_RNG* rng, int type,
|
|
627
|
+
int keySize, void* key);
|
|
628
|
+
|
|
629
|
+
WOLFSSL_LOCAL int wc_CryptoCb_PqcSign(const byte* in, word32 inlen, byte* out,
|
|
630
|
+
word32 *outlen, const byte* context, byte contextLen, word32 preHashType,
|
|
631
|
+
WC_RNG* rng, int type, void* key);
|
|
632
|
+
|
|
633
|
+
WOLFSSL_LOCAL int wc_CryptoCb_PqcVerify(const byte* sig, word32 siglen,
|
|
634
|
+
const byte* msg, word32 msglen, const byte* context, byte contextLen,
|
|
635
|
+
word32 preHashType, int* res, int type, void* key);
|
|
636
|
+
|
|
637
|
+
WOLFSSL_LOCAL int wc_CryptoCb_PqcSignatureCheckPrivKey(void* key, int type,
|
|
638
|
+
const byte* pubKey, word32 pubKeySz);
|
|
639
|
+
#endif /* HAVE_FALCON || HAVE_DILITHIUM */
|
|
640
|
+
|
|
641
|
+
#ifndef NO_AES
|
|
642
|
+
#ifdef HAVE_AESGCM
|
|
643
|
+
WOLFSSL_LOCAL int wc_CryptoCb_AesGcmEncrypt(Aes* aes, byte* out,
|
|
644
|
+
const byte* in, word32 sz, const byte* iv, word32 ivSz,
|
|
645
|
+
byte* authTag, word32 authTagSz, const byte* authIn, word32 authInSz);
|
|
646
|
+
|
|
647
|
+
WOLFSSL_LOCAL int wc_CryptoCb_AesGcmDecrypt(Aes* aes, byte* out,
|
|
648
|
+
const byte* in, word32 sz, const byte* iv, word32 ivSz,
|
|
649
|
+
const byte* authTag, word32 authTagSz,
|
|
650
|
+
const byte* authIn, word32 authInSz);
|
|
651
|
+
#endif /* HAVE_AESGCM */
|
|
652
|
+
#ifdef HAVE_AESCCM
|
|
653
|
+
WOLFSSL_LOCAL int wc_CryptoCb_AesCcmEncrypt(Aes* aes, byte* out,
|
|
654
|
+
const byte* in, word32 sz,
|
|
655
|
+
const byte* nonce, word32 nonceSz,
|
|
656
|
+
byte* authTag, word32 authTagSz,
|
|
657
|
+
const byte* authIn, word32 authInSz);
|
|
658
|
+
|
|
659
|
+
WOLFSSL_LOCAL int wc_CryptoCb_AesCcmDecrypt(Aes* aes, byte* out,
|
|
660
|
+
const byte* in, word32 sz,
|
|
661
|
+
const byte* nonce, word32 nonceSz,
|
|
662
|
+
const byte* authTag, word32 authTagSz,
|
|
663
|
+
const byte* authIn, word32 authInSz);
|
|
664
|
+
#endif /* HAVE_AESCCM */
|
|
665
|
+
#ifdef HAVE_AES_CBC
|
|
666
|
+
WOLFSSL_LOCAL int wc_CryptoCb_AesCbcEncrypt(Aes* aes, byte* out,
|
|
667
|
+
const byte* in, word32 sz);
|
|
668
|
+
WOLFSSL_LOCAL int wc_CryptoCb_AesCbcDecrypt(Aes* aes, byte* out,
|
|
669
|
+
const byte* in, word32 sz);
|
|
670
|
+
#endif /* HAVE_AES_CBC */
|
|
671
|
+
#ifdef WOLFSSL_AES_COUNTER
|
|
672
|
+
WOLFSSL_LOCAL int wc_CryptoCb_AesCtrEncrypt(Aes* aes, byte* out,
|
|
673
|
+
const byte* in, word32 sz);
|
|
674
|
+
#endif /* WOLFSSL_AES_COUNTER */
|
|
675
|
+
#ifdef HAVE_AES_ECB
|
|
676
|
+
WOLFSSL_LOCAL int wc_CryptoCb_AesEcbEncrypt(Aes* aes, byte* out,
|
|
677
|
+
const byte* in, word32 sz);
|
|
678
|
+
WOLFSSL_LOCAL int wc_CryptoCb_AesEcbDecrypt(Aes* aes, byte* out,
|
|
679
|
+
const byte* in, word32 sz);
|
|
680
|
+
#endif /* HAVE_AES_ECB */
|
|
681
|
+
#endif /* !NO_AES */
|
|
682
|
+
|
|
683
|
+
#ifndef NO_DES3
|
|
684
|
+
WOLFSSL_LOCAL int wc_CryptoCb_Des3Encrypt(Des3* des3, byte* out,
|
|
685
|
+
const byte* in, word32 sz);
|
|
686
|
+
WOLFSSL_LOCAL int wc_CryptoCb_Des3Decrypt(Des3* des3, byte* out,
|
|
687
|
+
const byte* in, word32 sz);
|
|
688
|
+
#endif /* !NO_DES3 */
|
|
689
|
+
|
|
690
|
+
#ifndef NO_SHA
|
|
691
|
+
WOLFSSL_LOCAL int wc_CryptoCb_ShaHash(wc_Sha* sha, const byte* in,
|
|
692
|
+
word32 inSz, byte* digest);
|
|
693
|
+
#endif /* !NO_SHA */
|
|
694
|
+
|
|
695
|
+
#ifdef WOLFSSL_SHA224
|
|
696
|
+
WOLFSSL_LOCAL int wc_CryptoCb_Sha224Hash(wc_Sha224* sha224, const byte* in,
|
|
697
|
+
word32 inSz, byte* digest);
|
|
698
|
+
#endif /* WOLFSSL_SHA224 */
|
|
699
|
+
#ifndef NO_SHA256
|
|
700
|
+
WOLFSSL_LOCAL int wc_CryptoCb_Sha256Hash(wc_Sha256* sha256, const byte* in,
|
|
701
|
+
word32 inSz, byte* digest);
|
|
702
|
+
#endif /* !NO_SHA256 */
|
|
703
|
+
#ifdef WOLFSSL_SHA384
|
|
704
|
+
WOLFSSL_LOCAL int wc_CryptoCb_Sha384Hash(wc_Sha384* sha384, const byte* in,
|
|
705
|
+
word32 inSz, byte* digest);
|
|
706
|
+
#endif
|
|
707
|
+
#ifdef WOLFSSL_SHA512
|
|
708
|
+
WOLFSSL_LOCAL int wc_CryptoCb_Sha512Hash(wc_Sha512* sha512, const byte* in,
|
|
709
|
+
word32 inSz, byte* digest, size_t digestSz);
|
|
710
|
+
#endif
|
|
711
|
+
|
|
712
|
+
#ifdef WOLFSSL_SHA3
|
|
713
|
+
WOLFSSL_LOCAL int wc_CryptoCb_Sha3Hash(wc_Sha3* sha3, int type, const byte* in,
|
|
714
|
+
word32 inSz, byte* digest);
|
|
715
|
+
#endif
|
|
716
|
+
|
|
717
|
+
#ifndef NO_HMAC
|
|
718
|
+
WOLFSSL_LOCAL int wc_CryptoCb_Hmac(Hmac* hmac, int macType, const byte* in,
|
|
719
|
+
word32 inSz, byte* digest);
|
|
720
|
+
#endif /* !NO_HMAC */
|
|
721
|
+
|
|
722
|
+
#ifdef HAVE_HKDF
|
|
723
|
+
WOLFSSL_LOCAL int wc_CryptoCb_Hkdf(int hashType, const byte* inKey,
|
|
724
|
+
word32 inKeySz, const byte* salt,
|
|
725
|
+
word32 saltSz, const byte* info,
|
|
726
|
+
word32 infoSz, byte* out, word32 outSz,
|
|
727
|
+
int devId);
|
|
728
|
+
#endif
|
|
729
|
+
|
|
730
|
+
#if defined(HAVE_CMAC_KDF)
|
|
731
|
+
WOLFSSL_LOCAL int wc_CryptoCb_Kdf_TwostepCmac(const byte * salt, word32 saltSz,
|
|
732
|
+
const byte* z, word32 zSz,
|
|
733
|
+
const byte* fixedInfo,
|
|
734
|
+
word32 fixedInfoSz,
|
|
735
|
+
byte* output, word32 outputSz,
|
|
736
|
+
int devId);
|
|
737
|
+
#endif /* HAVE_CMAC_KDF */
|
|
738
|
+
|
|
739
|
+
#ifndef WC_NO_RNG
|
|
740
|
+
WOLFSSL_LOCAL int wc_CryptoCb_RandomBlock(WC_RNG* rng, byte* out, word32 sz);
|
|
741
|
+
WOLFSSL_LOCAL int wc_CryptoCb_RandomSeed(OS_Seed* os, byte* seed, word32 sz);
|
|
742
|
+
#endif
|
|
743
|
+
|
|
744
|
+
#ifdef WOLFSSL_CMAC
|
|
745
|
+
WOLFSSL_LOCAL int wc_CryptoCb_Cmac(Cmac* cmac, const byte* key, word32 keySz,
|
|
746
|
+
const byte* in, word32 inSz, byte* out, word32* outSz, int type,
|
|
747
|
+
void* ctx);
|
|
748
|
+
#endif
|
|
749
|
+
|
|
750
|
+
#ifndef NO_CERTS
|
|
751
|
+
WOLFSSL_LOCAL int wc_CryptoCb_GetCert(int devId, const char *label,
|
|
752
|
+
word32 labelLen, const byte *id, word32 idLen, byte** out,
|
|
753
|
+
word32* outSz, int *format, void *heap);
|
|
754
|
+
#endif
|
|
755
|
+
|
|
756
|
+
#ifdef WOLF_CRYPTO_CB_COPY
|
|
757
|
+
WOLFSSL_LOCAL int wc_CryptoCb_Copy(int devId, int algo, int type, void* src,
|
|
758
|
+
void* dst);
|
|
759
|
+
#endif /* WOLF_CRYPTO_CB_COPY */
|
|
760
|
+
#ifdef WOLF_CRYPTO_CB_FREE
|
|
761
|
+
WOLFSSL_LOCAL int wc_CryptoCb_Free(int devId, int algo, int type, void* obj);
|
|
762
|
+
#endif /* WOLF_CRYPTO_CB_FREE */
|
|
763
|
+
|
|
764
|
+
#endif /* WOLF_CRYPTO_CB */
|
|
765
|
+
|
|
766
|
+
#ifdef __cplusplus
|
|
767
|
+
} /* extern "C" */
|
|
768
|
+
#endif
|
|
769
|
+
|
|
770
|
+
#endif /* _WOLF_CRYPTO_CB_H_ */
|