@annadata/capacitor-mqtt-quic 0.1.5 → 0.1.7
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 +36 -0
- package/README.md +121 -12
- package/android/NGTCP2_BUILD_INSTRUCTIONS.md +65 -44
- package/android/build-openssl.sh +1 -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 +19 -27
- package/android/src/main/cpp/ngtcp2_jni.cpp +30 -36
- package/android/src/main/kotlin/ai/annadata/mqttquic/MqttQuicPlugin.kt +15 -0
- package/android/src/main/kotlin/ai/annadata/mqttquic/client/MQTTClient.kt +6 -2
- 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 +161 -0
- package/docs/PROJECT_OVERVIEW.md +193 -0
- package/ios/.swiftpm/xcode/xcuserdata/annadata.xcuserdatad/xcschemes/xcschememanagement.plist +1 -1
- package/ios/NGTCP2_BUILD_INSTRUCTIONS.md +12 -0
- package/ios/Sources/MqttQuicPlugin/MqttQuicPlugin.swift +6 -0
- package/ios/Sources/MqttQuicPlugin/QUIC/NGTCP2Bridge.mm +6 -0
- package/ios/build-openssl.sh +1 -1
- 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 +22 -8
- package/ios/include/ngtcp2/ngtcp2_crypto_quictls.h +0 -147
- package/ios/include/openssl/aes.h +0 -111
- package/ios/include/openssl/asn1.h +0 -1131
- package/ios/include/openssl/asn1_mac.h +0 -10
- package/ios/include/openssl/asn1err.h +0 -140
- package/ios/include/openssl/asn1t.h +0 -946
- package/ios/include/openssl/async.h +0 -96
- package/ios/include/openssl/asyncerr.h +0 -29
- package/ios/include/openssl/bio.h +0 -887
- package/ios/include/openssl/bioerr.h +0 -65
- package/ios/include/openssl/blowfish.h +0 -78
- package/ios/include/openssl/bn.h +0 -584
- package/ios/include/openssl/bnerr.h +0 -47
- package/ios/include/openssl/buffer.h +0 -62
- package/ios/include/openssl/buffererr.h +0 -25
- package/ios/include/openssl/camellia.h +0 -117
- package/ios/include/openssl/cast.h +0 -71
- package/ios/include/openssl/cmac.h +0 -52
- package/ios/include/openssl/cmp.h +0 -597
- package/ios/include/openssl/cmp_util.h +0 -56
- package/ios/include/openssl/cmperr.h +0 -116
- package/ios/include/openssl/cms.h +0 -493
- package/ios/include/openssl/cmserr.h +0 -124
- package/ios/include/openssl/comp.h +0 -59
- package/ios/include/openssl/comperr.h +0 -31
- package/ios/include/openssl/conf.h +0 -214
- package/ios/include/openssl/conf_api.h +0 -46
- package/ios/include/openssl/conferr.h +0 -52
- package/ios/include/openssl/configuration.h +0 -149
- package/ios/include/openssl/conftypes.h +0 -44
- package/ios/include/openssl/core.h +0 -233
- package/ios/include/openssl/core_dispatch.h +0 -960
- package/ios/include/openssl/core_names.h +0 -561
- package/ios/include/openssl/core_object.h +0 -41
- package/ios/include/openssl/crmf.h +0 -227
- package/ios/include/openssl/crmferr.h +0 -50
- package/ios/include/openssl/crypto.h +0 -558
- package/ios/include/openssl/cryptoerr.h +0 -55
- package/ios/include/openssl/cryptoerr_legacy.h +0 -1466
- package/ios/include/openssl/ct.h +0 -573
- package/ios/include/openssl/cterr.h +0 -45
- package/ios/include/openssl/decoder.h +0 -133
- package/ios/include/openssl/decodererr.h +0 -28
- package/ios/include/openssl/des.h +0 -211
- package/ios/include/openssl/dh.h +0 -335
- package/ios/include/openssl/dherr.h +0 -58
- package/ios/include/openssl/dsa.h +0 -280
- package/ios/include/openssl/dsaerr.h +0 -44
- package/ios/include/openssl/dtls1.h +0 -57
- package/ios/include/openssl/e_os2.h +0 -308
- package/ios/include/openssl/ebcdic.h +0 -39
- package/ios/include/openssl/ec.h +0 -1572
- package/ios/include/openssl/ecdh.h +0 -10
- package/ios/include/openssl/ecdsa.h +0 -10
- package/ios/include/openssl/ecerr.h +0 -104
- package/ios/include/openssl/encoder.h +0 -124
- package/ios/include/openssl/encodererr.h +0 -28
- package/ios/include/openssl/engine.h +0 -833
- package/ios/include/openssl/engineerr.h +0 -63
- package/ios/include/openssl/err.h +0 -504
- package/ios/include/openssl/ess.h +0 -128
- package/ios/include/openssl/esserr.h +0 -32
- package/ios/include/openssl/evp.h +0 -2175
- package/ios/include/openssl/evperr.h +0 -134
- package/ios/include/openssl/fips_names.h +0 -77
- package/ios/include/openssl/fipskey.h +0 -36
- package/ios/include/openssl/hmac.h +0 -62
- package/ios/include/openssl/http.h +0 -109
- package/ios/include/openssl/httperr.h +0 -55
- package/ios/include/openssl/idea.h +0 -82
- package/ios/include/openssl/kdf.h +0 -138
- package/ios/include/openssl/kdferr.h +0 -16
- package/ios/include/openssl/lhash.h +0 -331
- package/ios/include/openssl/macros.h +0 -325
- package/ios/include/openssl/md2.h +0 -56
- package/ios/include/openssl/md4.h +0 -63
- package/ios/include/openssl/md5.h +0 -62
- package/ios/include/openssl/mdc2.h +0 -55
- package/ios/include/openssl/modes.h +0 -219
- package/ios/include/openssl/obj_mac.h +0 -5481
- package/ios/include/openssl/objects.h +0 -183
- package/ios/include/openssl/objectserr.h +0 -28
- package/ios/include/openssl/ocsp.h +0 -483
- package/ios/include/openssl/ocsperr.h +0 -53
- package/ios/include/openssl/opensslconf.h +0 -17
- package/ios/include/openssl/opensslv.h +0 -114
- package/ios/include/openssl/ossl_typ.h +0 -16
- package/ios/include/openssl/param_build.h +0 -63
- package/ios/include/openssl/params.h +0 -160
- package/ios/include/openssl/pem.h +0 -541
- package/ios/include/openssl/pem2.h +0 -19
- package/ios/include/openssl/pemerr.h +0 -58
- package/ios/include/openssl/pkcs12.h +0 -353
- package/ios/include/openssl/pkcs12err.h +0 -45
- package/ios/include/openssl/pkcs7.h +0 -430
- package/ios/include/openssl/pkcs7err.h +0 -63
- package/ios/include/openssl/prov_ssl.h +0 -34
- package/ios/include/openssl/proverr.h +0 -149
- package/ios/include/openssl/provider.h +0 -60
- package/ios/include/openssl/quic.h +0 -19
- package/ios/include/openssl/rand.h +0 -125
- package/ios/include/openssl/randerr.h +0 -69
- package/ios/include/openssl/rc2.h +0 -68
- package/ios/include/openssl/rc4.h +0 -47
- package/ios/include/openssl/rc5.h +0 -79
- package/ios/include/openssl/ripemd.h +0 -59
- package/ios/include/openssl/rsa.h +0 -610
- package/ios/include/openssl/rsaerr.h +0 -107
- package/ios/include/openssl/safestack.h +0 -297
- package/ios/include/openssl/seed.h +0 -113
- package/ios/include/openssl/self_test.h +0 -94
- package/ios/include/openssl/sha.h +0 -138
- package/ios/include/openssl/srp.h +0 -285
- package/ios/include/openssl/srtp.h +0 -56
- package/ios/include/openssl/ssl.h +0 -2671
- package/ios/include/openssl/ssl2.h +0 -30
- package/ios/include/openssl/ssl3.h +0 -347
- package/ios/include/openssl/sslerr.h +0 -348
- package/ios/include/openssl/sslerr_legacy.h +0 -468
- package/ios/include/openssl/stack.h +0 -90
- package/ios/include/openssl/store.h +0 -369
- package/ios/include/openssl/storeerr.h +0 -49
- package/ios/include/openssl/symhacks.h +0 -39
- package/ios/include/openssl/tls1.h +0 -1186
- package/ios/include/openssl/trace.h +0 -312
- package/ios/include/openssl/ts.h +0 -505
- package/ios/include/openssl/tserr.h +0 -67
- package/ios/include/openssl/txt_db.h +0 -63
- package/ios/include/openssl/types.h +0 -239
- package/ios/include/openssl/ui.h +0 -407
- package/ios/include/openssl/uierr.h +0 -38
- package/ios/include/openssl/whrlpool.h +0 -62
- package/ios/include/openssl/x509.h +0 -1279
- package/ios/include/openssl/x509_vfy.h +0 -894
- package/ios/include/openssl/x509err.h +0 -69
- package/ios/include/openssl/x509v3.h +0 -1453
- package/ios/include/openssl/x509v3err.h +0 -93
- package/ios/libs/libcrypto.a +0 -0
- package/ios/libs/libngtcp2_crypto_quictls.a +0 -0
- package/ios/libs/libssl.a +0 -0
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
/* sha3.h
|
|
2
|
+
*
|
|
3
|
+
* Copyright (C) 2006-2025 wolfSSL Inc.
|
|
4
|
+
*
|
|
5
|
+
* This file is part of wolfSSL.
|
|
6
|
+
*
|
|
7
|
+
* wolfSSL is free software; you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU General Public License as published by
|
|
9
|
+
* the Free Software Foundation; either version 3 of the License, or
|
|
10
|
+
* (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* wolfSSL is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU General Public License
|
|
18
|
+
* along with this program; if not, write to the Free Software
|
|
19
|
+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
#ifndef WOLF_CRYPT_SHA3_H
|
|
24
|
+
#define WOLF_CRYPT_SHA3_H
|
|
25
|
+
|
|
26
|
+
#include <wolfssl/wolfcrypt/types.h>
|
|
27
|
+
|
|
28
|
+
#ifdef WOLFSSL_SHA3
|
|
29
|
+
|
|
30
|
+
#ifdef HAVE_FIPS
|
|
31
|
+
/* for fips @wc_fips */
|
|
32
|
+
#include <wolfssl/wolfcrypt/fips.h>
|
|
33
|
+
#endif
|
|
34
|
+
|
|
35
|
+
#ifdef __cplusplus
|
|
36
|
+
extern "C" {
|
|
37
|
+
#endif
|
|
38
|
+
|
|
39
|
+
#if FIPS_VERSION3_GE(6,0,0)
|
|
40
|
+
extern const unsigned int wolfCrypt_FIPS_sha3_ro_sanity[2];
|
|
41
|
+
WOLFSSL_LOCAL int wolfCrypt_FIPS_SHA3_sanity(void);
|
|
42
|
+
#endif
|
|
43
|
+
|
|
44
|
+
#ifdef WOLFSSL_ASYNC_CRYPT
|
|
45
|
+
#include <wolfssl/wolfcrypt/async.h>
|
|
46
|
+
#endif
|
|
47
|
+
|
|
48
|
+
#ifdef STM32_HASH
|
|
49
|
+
#include <wolfssl/wolfcrypt/port/st/stm32.h>
|
|
50
|
+
#endif
|
|
51
|
+
|
|
52
|
+
/* in bytes */
|
|
53
|
+
enum {
|
|
54
|
+
/* SHAKE-128 */
|
|
55
|
+
WC_SHA3_128_COUNT = 21,
|
|
56
|
+
|
|
57
|
+
WC_SHA3_224 = WC_HASH_TYPE_SHA3_224,
|
|
58
|
+
WC_SHA3_224_DIGEST_SIZE = 28,
|
|
59
|
+
WC_SHA3_224_COUNT = 18,
|
|
60
|
+
|
|
61
|
+
WC_SHA3_256 = WC_HASH_TYPE_SHA3_256,
|
|
62
|
+
WC_SHA3_256_DIGEST_SIZE = 32,
|
|
63
|
+
WC_SHA3_256_COUNT = 17,
|
|
64
|
+
|
|
65
|
+
WC_SHA3_384 = WC_HASH_TYPE_SHA3_384,
|
|
66
|
+
WC_SHA3_384_DIGEST_SIZE = 48,
|
|
67
|
+
WC_SHA3_384_COUNT = 13,
|
|
68
|
+
|
|
69
|
+
WC_SHA3_512 = WC_HASH_TYPE_SHA3_512,
|
|
70
|
+
WC_SHA3_512_DIGEST_SIZE = 64,
|
|
71
|
+
WC_SHA3_512_COUNT = 9,
|
|
72
|
+
|
|
73
|
+
#ifdef WOLFSSL_SHAKE128
|
|
74
|
+
WC_SHAKE128 = WC_HASH_TYPE_SHAKE128,
|
|
75
|
+
#endif
|
|
76
|
+
#ifdef WOLFSSL_SHAKE256
|
|
77
|
+
WC_SHAKE256 = WC_HASH_TYPE_SHAKE256,
|
|
78
|
+
#endif
|
|
79
|
+
|
|
80
|
+
#if !defined(HAVE_SELFTEST) || \
|
|
81
|
+
defined(HAVE_SELFTEST_VERSION) && (HAVE_SELFTEST_VERSION >= 2)
|
|
82
|
+
/* These values are used for HMAC, not SHA-3 directly.
|
|
83
|
+
* They come from from FIPS PUB 202. */
|
|
84
|
+
WC_SHA3_128_BLOCK_SIZE = 168,
|
|
85
|
+
WC_SHA3_224_BLOCK_SIZE = 144,
|
|
86
|
+
WC_SHA3_256_BLOCK_SIZE = 136,
|
|
87
|
+
WC_SHA3_384_BLOCK_SIZE = 104,
|
|
88
|
+
WC_SHA3_512_BLOCK_SIZE = 72,
|
|
89
|
+
#endif
|
|
90
|
+
|
|
91
|
+
WOLF_ENUM_DUMMY_LAST_ELEMENT(WC_SHA3)
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
#ifndef NO_OLD_WC_NAMES
|
|
95
|
+
#define SHA3_224 WC_SHA3_224
|
|
96
|
+
#define SHA3_224_DIGEST_SIZE WC_SHA3_224_DIGEST_SIZE
|
|
97
|
+
#define SHA3_256 WC_SHA3_256
|
|
98
|
+
#define SHA3_256_DIGEST_SIZE WC_SHA3_256_DIGEST_SIZE
|
|
99
|
+
#define SHA3_384 WC_SHA3_384
|
|
100
|
+
#define SHA3_384_DIGEST_SIZE WC_SHA3_384_DIGEST_SIZE
|
|
101
|
+
#define SHA3_512 WC_SHA3_512
|
|
102
|
+
#define SHA3_512_DIGEST_SIZE WC_SHA3_512_DIGEST_SIZE
|
|
103
|
+
#define Sha3 wc_Sha3
|
|
104
|
+
#ifdef WOLFSSL_SHAKE128
|
|
105
|
+
#define SHAKE128 WC_SHAKE128
|
|
106
|
+
#endif
|
|
107
|
+
#ifdef WOLFSSL_SHAKE256
|
|
108
|
+
#define SHAKE256 WC_SHAKE256
|
|
109
|
+
#endif
|
|
110
|
+
#endif
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
#ifdef WOLFSSL_XILINX_CRYPT
|
|
115
|
+
#include "wolfssl/wolfcrypt/port/xilinx/xil-sha3.h"
|
|
116
|
+
#elif defined(WOLFSSL_AFALG_XILINX_SHA3)
|
|
117
|
+
#include <wolfssl/wolfcrypt/port/af_alg/afalg_hash.h>
|
|
118
|
+
#else
|
|
119
|
+
|
|
120
|
+
#if defined(WOLFSSL_PSOC6_CRYPTO)
|
|
121
|
+
#include <wolfssl/wolfcrypt/port/cypress/psoc6_crypto.h>
|
|
122
|
+
|
|
123
|
+
#include "cy_crypto_core_sha.h"
|
|
124
|
+
#include "cy_device_headers.h"
|
|
125
|
+
#include "cy_crypto_common.h"
|
|
126
|
+
#include "cy_crypto_core.h"
|
|
127
|
+
#endif
|
|
128
|
+
|
|
129
|
+
/* Sha3 digest */
|
|
130
|
+
struct wc_Sha3 {
|
|
131
|
+
#if defined(PSOC6_HASH_SHA3)
|
|
132
|
+
cy_stc_crypto_sha_state_t hash_state;
|
|
133
|
+
cy_stc_crypto_v2_sha3_buffers_t sha_buffers;
|
|
134
|
+
bool init_done;
|
|
135
|
+
#else
|
|
136
|
+
/* State data that is processed for each block. */
|
|
137
|
+
word64 s[25];
|
|
138
|
+
/* Unprocessed message data. */
|
|
139
|
+
byte t[200];
|
|
140
|
+
/* Index into unprocessed data to place next message byte. */
|
|
141
|
+
byte i;
|
|
142
|
+
|
|
143
|
+
void* heap;
|
|
144
|
+
|
|
145
|
+
#ifdef WOLF_CRYPTO_CB
|
|
146
|
+
int devId;
|
|
147
|
+
void* devCtx;
|
|
148
|
+
int hashType;
|
|
149
|
+
#endif
|
|
150
|
+
|
|
151
|
+
#ifdef WC_C_DYNAMIC_FALLBACK
|
|
152
|
+
void (*sha3_block)(word64 *s);
|
|
153
|
+
void (*sha3_block_n)(word64 *s, const byte* data, word32 n,
|
|
154
|
+
word64 c);
|
|
155
|
+
#endif
|
|
156
|
+
|
|
157
|
+
#ifdef WOLFSSL_ASYNC_CRYPT
|
|
158
|
+
WC_ASYNC_DEV asyncDev;
|
|
159
|
+
#endif /* WOLFSSL_ASYNC_CRYPT */
|
|
160
|
+
#ifdef WOLFSSL_HASH_FLAGS
|
|
161
|
+
word32 flags; /* enum wc_HashFlags in hash.h */
|
|
162
|
+
#endif
|
|
163
|
+
#if defined(STM32_HASH_SHA3)
|
|
164
|
+
STM32_HASH_Context stmCtx;
|
|
165
|
+
#endif
|
|
166
|
+
#endif
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
#ifndef WC_SHA3_TYPE_DEFINED
|
|
170
|
+
typedef struct wc_Sha3 wc_Sha3;
|
|
171
|
+
#define WC_SHA3_TYPE_DEFINED
|
|
172
|
+
#endif
|
|
173
|
+
|
|
174
|
+
#endif
|
|
175
|
+
|
|
176
|
+
#if defined(WOLFSSL_SHAKE128) || defined(WOLFSSL_SHAKE256)
|
|
177
|
+
#ifndef WC_SHAKE_TYPE_DEFINED
|
|
178
|
+
typedef wc_Sha3 wc_Shake;
|
|
179
|
+
#define WC_SHAKE_TYPE_DEFINED
|
|
180
|
+
#endif
|
|
181
|
+
#endif
|
|
182
|
+
|
|
183
|
+
WOLFSSL_API int wc_InitSha3_224(wc_Sha3* sha3, void* heap, int devId);
|
|
184
|
+
WOLFSSL_API int wc_Sha3_224_Update(wc_Sha3* sha3, const byte* data, word32 len);
|
|
185
|
+
WOLFSSL_API int wc_Sha3_224_Final(wc_Sha3* sha3, byte* hash);
|
|
186
|
+
WOLFSSL_API void wc_Sha3_224_Free(wc_Sha3* sha3);
|
|
187
|
+
WOLFSSL_API int wc_Sha3_224_GetHash(wc_Sha3* sha3, byte* hash);
|
|
188
|
+
WOLFSSL_API int wc_Sha3_224_Copy(wc_Sha3* src, wc_Sha3* dst);
|
|
189
|
+
|
|
190
|
+
WOLFSSL_API int wc_InitSha3_256(wc_Sha3* sha3, void* heap, int devId);
|
|
191
|
+
WOLFSSL_API int wc_Sha3_256_Update(wc_Sha3* sha3, const byte* data, word32 len);
|
|
192
|
+
WOLFSSL_API int wc_Sha3_256_Final(wc_Sha3* sha3, byte* hash);
|
|
193
|
+
WOLFSSL_API void wc_Sha3_256_Free(wc_Sha3* sha3);
|
|
194
|
+
WOLFSSL_API int wc_Sha3_256_GetHash(wc_Sha3* sha3, byte* hash);
|
|
195
|
+
WOLFSSL_API int wc_Sha3_256_Copy(wc_Sha3* src, wc_Sha3* dst);
|
|
196
|
+
|
|
197
|
+
WOLFSSL_API int wc_InitSha3_384(wc_Sha3* sha3, void* heap, int devId);
|
|
198
|
+
WOLFSSL_API int wc_Sha3_384_Update(wc_Sha3* sha3, const byte* data, word32 len);
|
|
199
|
+
WOLFSSL_API int wc_Sha3_384_Final(wc_Sha3* sha3, byte* hash);
|
|
200
|
+
WOLFSSL_API void wc_Sha3_384_Free(wc_Sha3* sha3);
|
|
201
|
+
WOLFSSL_API int wc_Sha3_384_GetHash(wc_Sha3* sha3, byte* hash);
|
|
202
|
+
WOLFSSL_API int wc_Sha3_384_Copy(wc_Sha3* src, wc_Sha3* dst);
|
|
203
|
+
|
|
204
|
+
WOLFSSL_API int wc_InitSha3_512(wc_Sha3* sha3, void* heap, int devId);
|
|
205
|
+
WOLFSSL_API int wc_Sha3_512_Update(wc_Sha3* sha3, const byte* data, word32 len);
|
|
206
|
+
WOLFSSL_API int wc_Sha3_512_Final(wc_Sha3* sha3, byte* hash);
|
|
207
|
+
WOLFSSL_API void wc_Sha3_512_Free(wc_Sha3* sha3);
|
|
208
|
+
WOLFSSL_API int wc_Sha3_512_GetHash(wc_Sha3* sha3, byte* hash);
|
|
209
|
+
WOLFSSL_API int wc_Sha3_512_Copy(wc_Sha3* src, wc_Sha3* dst);
|
|
210
|
+
|
|
211
|
+
#ifdef WOLFSSL_SHAKE128
|
|
212
|
+
WOLFSSL_API int wc_InitShake128(wc_Shake* shake, void* heap, int devId);
|
|
213
|
+
WOLFSSL_API int wc_Shake128_Update(wc_Shake* shake, const byte* data, word32 len);
|
|
214
|
+
WOLFSSL_API int wc_Shake128_Final(wc_Shake* shake, byte* hash, word32 hashLen);
|
|
215
|
+
WOLFSSL_API int wc_Shake128_Absorb(wc_Shake* shake, const byte* data,
|
|
216
|
+
word32 len);
|
|
217
|
+
WOLFSSL_API int wc_Shake128_SqueezeBlocks(wc_Shake* shake, byte* out,
|
|
218
|
+
word32 blockCnt);
|
|
219
|
+
WOLFSSL_API void wc_Shake128_Free(wc_Shake* shake);
|
|
220
|
+
WOLFSSL_API int wc_Shake128_Copy(wc_Shake* src, wc_Sha3* dst);
|
|
221
|
+
#endif
|
|
222
|
+
|
|
223
|
+
#ifdef WOLFSSL_SHAKE256
|
|
224
|
+
WOLFSSL_API int wc_InitShake256(wc_Shake* shake, void* heap, int devId);
|
|
225
|
+
WOLFSSL_API int wc_Shake256_Update(wc_Shake* shake, const byte* data, word32 len);
|
|
226
|
+
WOLFSSL_API int wc_Shake256_Final(wc_Shake* shake, byte* hash, word32 hashLen);
|
|
227
|
+
WOLFSSL_API int wc_Shake256_Absorb(wc_Shake* shake, const byte* data,
|
|
228
|
+
word32 len);
|
|
229
|
+
WOLFSSL_API int wc_Shake256_SqueezeBlocks(wc_Shake* shake, byte* out,
|
|
230
|
+
word32 blockCnt);
|
|
231
|
+
WOLFSSL_API void wc_Shake256_Free(wc_Shake* shake);
|
|
232
|
+
WOLFSSL_API int wc_Shake256_Copy(wc_Shake* src, wc_Sha3* dst);
|
|
233
|
+
#endif
|
|
234
|
+
|
|
235
|
+
#ifdef WOLFSSL_HASH_FLAGS
|
|
236
|
+
WOLFSSL_API int wc_Sha3_SetFlags(wc_Sha3* sha3, word32 flags);
|
|
237
|
+
WOLFSSL_API int wc_Sha3_GetFlags(wc_Sha3* sha3, word32* flags);
|
|
238
|
+
#endif
|
|
239
|
+
|
|
240
|
+
WOLFSSL_LOCAL void BlockSha3(word64 *s);
|
|
241
|
+
|
|
242
|
+
#ifdef WC_SHA3_NO_ASM
|
|
243
|
+
/* asm speedups disabled */
|
|
244
|
+
#if defined(USE_INTEL_SPEEDUP) && !defined(WC_MLKEM_NO_ASM)
|
|
245
|
+
/* native ML-KEM uses this directly. */
|
|
246
|
+
WOLFSSL_LOCAL void sha3_blocksx4_avx2(word64* s);
|
|
247
|
+
#endif
|
|
248
|
+
#elif defined(USE_INTEL_SPEEDUP)
|
|
249
|
+
WOLFSSL_LOCAL void sha3_block_n_bmi2(word64* s, const byte* data, word32 n,
|
|
250
|
+
word64 c);
|
|
251
|
+
WOLFSSL_LOCAL void sha3_block_bmi2(word64* s);
|
|
252
|
+
WOLFSSL_LOCAL void sha3_block_n_avx2(word64* s, const byte* data, word32 n,
|
|
253
|
+
word64 c);
|
|
254
|
+
WOLFSSL_LOCAL void sha3_block_avx2(word64* s);
|
|
255
|
+
WOLFSSL_LOCAL void sha3_blocksx4_avx2(word64* s);
|
|
256
|
+
|
|
257
|
+
WOLFSSL_LOCAL void sha3_128_blocksx4_seed_avx2(word64* s, byte* seed);
|
|
258
|
+
WOLFSSL_LOCAL void sha3_256_blocksx4_seed_avx2(word64* s, byte* seed);
|
|
259
|
+
|
|
260
|
+
WOLFSSL_LOCAL void sha3_256_blocksx4_seed_64_avx2(word64* s, byte* seed);
|
|
261
|
+
#elif defined(__aarch64__) && defined(WOLFSSL_ARMASM)
|
|
262
|
+
#ifdef WOLFSSL_ARMASM_CRYPTO_SHA3
|
|
263
|
+
WOLFSSL_LOCAL void BlockSha3_crypto(word64 *s);
|
|
264
|
+
#endif
|
|
265
|
+
WOLFSSL_LOCAL void BlockSha3_base(word64 *s);
|
|
266
|
+
#endif
|
|
267
|
+
|
|
268
|
+
#ifdef __cplusplus
|
|
269
|
+
} /* extern "C" */
|
|
270
|
+
#endif
|
|
271
|
+
|
|
272
|
+
#endif /* WOLFSSL_SHA3 */
|
|
273
|
+
#endif /* WOLF_CRYPT_SHA3_H */
|
|
274
|
+
|
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
/* sha512.h
|
|
2
|
+
*
|
|
3
|
+
* Copyright (C) 2006-2025 wolfSSL Inc.
|
|
4
|
+
*
|
|
5
|
+
* This file is part of wolfSSL.
|
|
6
|
+
*
|
|
7
|
+
* wolfSSL is free software; you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU General Public License as published by
|
|
9
|
+
* the Free Software Foundation; either version 3 of the License, or
|
|
10
|
+
* (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* wolfSSL is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU General Public License
|
|
18
|
+
* along with this program; if not, write to the Free Software
|
|
19
|
+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
/*!
|
|
23
|
+
\file wolfssl/wolfcrypt/sha512.h
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
#ifndef WOLF_CRYPT_SHA512_H
|
|
28
|
+
#define WOLF_CRYPT_SHA512_H
|
|
29
|
+
|
|
30
|
+
#include <wolfssl/wolfcrypt/types.h>
|
|
31
|
+
|
|
32
|
+
#if defined(WOLFSSL_SHA512) || defined(WOLFSSL_SHA384)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
#if FIPS_VERSION3_GE(2,0,0)
|
|
36
|
+
#include <wolfssl/wolfcrypt/fips.h>
|
|
37
|
+
#endif /* HAVE_FIPS_VERSION >= 2 */
|
|
38
|
+
|
|
39
|
+
#ifdef __cplusplus
|
|
40
|
+
extern "C" {
|
|
41
|
+
#endif
|
|
42
|
+
|
|
43
|
+
#if FIPS_VERSION3_GE(6,0,0)
|
|
44
|
+
extern const unsigned int wolfCrypt_FIPS_sha512_ro_sanity[2];
|
|
45
|
+
WOLFSSL_LOCAL int wolfCrypt_FIPS_SHA512_sanity(void);
|
|
46
|
+
#endif
|
|
47
|
+
|
|
48
|
+
/* avoid redefinition of structs */
|
|
49
|
+
#if !defined(HAVE_FIPS) || \
|
|
50
|
+
(defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2))
|
|
51
|
+
|
|
52
|
+
#ifdef WOLFSSL_ASYNC_CRYPT
|
|
53
|
+
#include <wolfssl/wolfcrypt/async.h>
|
|
54
|
+
#endif
|
|
55
|
+
#ifdef WOLFSSL_ESP32_CRYPT
|
|
56
|
+
#include <wolfssl/wolfcrypt/port/Espressif/esp32-crypt.h>
|
|
57
|
+
#endif
|
|
58
|
+
#if defined(WOLFSSL_SILABS_SE_ACCEL)
|
|
59
|
+
#include <wolfssl/wolfcrypt/port/silabs/silabs_hash.h>
|
|
60
|
+
#endif
|
|
61
|
+
#if defined(WOLFSSL_PSOC6_CRYPTO)
|
|
62
|
+
#include <wolfssl/wolfcrypt/port/cypress/psoc6_crypto.h>
|
|
63
|
+
|
|
64
|
+
#include "cy_crypto_core_sha.h"
|
|
65
|
+
#include "cy_device_headers.h"
|
|
66
|
+
#include "cy_crypto_common.h"
|
|
67
|
+
#include "cy_crypto_core.h"
|
|
68
|
+
#endif
|
|
69
|
+
|
|
70
|
+
#if defined(WOLFSSL_KCAPI_HASH)
|
|
71
|
+
#include <wolfssl/wolfcrypt/port/kcapi/kcapi_hash.h>
|
|
72
|
+
#endif
|
|
73
|
+
|
|
74
|
+
#if defined(WOLFSSL_IMXRT1170_CAAM)
|
|
75
|
+
#include "fsl_device_registers.h"
|
|
76
|
+
#include "fsl_caam.h"
|
|
77
|
+
#endif
|
|
78
|
+
|
|
79
|
+
#ifdef STM32_HASH
|
|
80
|
+
#include <wolfssl/wolfcrypt/port/st/stm32.h>
|
|
81
|
+
#endif
|
|
82
|
+
|
|
83
|
+
#if defined(_MSC_VER)
|
|
84
|
+
#define SHA512_NOINLINE __declspec(noinline)
|
|
85
|
+
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__GNUC__)
|
|
86
|
+
#define SHA512_NOINLINE __attribute__((noinline))
|
|
87
|
+
#else
|
|
88
|
+
#define SHA512_NOINLINE
|
|
89
|
+
#endif
|
|
90
|
+
|
|
91
|
+
#ifdef WOLFSSL_SHA512
|
|
92
|
+
|
|
93
|
+
#if !defined(NO_OLD_SHA_NAMES)
|
|
94
|
+
#define SHA512 WC_SHA512
|
|
95
|
+
#endif
|
|
96
|
+
|
|
97
|
+
#if !defined(NO_OLD_WC_NAMES)
|
|
98
|
+
#define Sha512 wc_Sha512
|
|
99
|
+
#define SHA512_BLOCK_SIZE WC_SHA512_BLOCK_SIZE
|
|
100
|
+
#define SHA512_DIGEST_SIZE WC_SHA512_DIGEST_SIZE
|
|
101
|
+
#define SHA512_PAD_SIZE WC_SHA512_PAD_SIZE
|
|
102
|
+
#endif
|
|
103
|
+
|
|
104
|
+
#endif /* WOLFSSL_SHA512 */
|
|
105
|
+
|
|
106
|
+
/* in bytes */
|
|
107
|
+
enum {
|
|
108
|
+
#ifdef WOLFSSL_SHA512
|
|
109
|
+
WC_SHA512 = WC_HASH_TYPE_SHA512,
|
|
110
|
+
#ifndef WOLFSSL_NOSHA512_224
|
|
111
|
+
WC_SHA512_224 = WC_HASH_TYPE_SHA512_224,
|
|
112
|
+
#endif
|
|
113
|
+
#ifndef WOLFSSL_NOSHA512_256
|
|
114
|
+
WC_SHA512_256 = WC_HASH_TYPE_SHA512_256,
|
|
115
|
+
#endif
|
|
116
|
+
#endif
|
|
117
|
+
WC_SHA512_BLOCK_SIZE = 128,
|
|
118
|
+
WC_SHA512_DIGEST_SIZE = 64,
|
|
119
|
+
WC_SHA512_PAD_SIZE = 112,
|
|
120
|
+
|
|
121
|
+
WC_SHA512_224_BLOCK_SIZE = WC_SHA512_BLOCK_SIZE,
|
|
122
|
+
WC_SHA512_224_DIGEST_SIZE = 28,
|
|
123
|
+
WC_SHA512_224_PAD_SIZE = WC_SHA512_PAD_SIZE,
|
|
124
|
+
|
|
125
|
+
WC_SHA512_256_BLOCK_SIZE = WC_SHA512_BLOCK_SIZE,
|
|
126
|
+
WC_SHA512_256_DIGEST_SIZE = 32,
|
|
127
|
+
WC_SHA512_256_PAD_SIZE = WC_SHA512_PAD_SIZE
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
#if defined(WOLFSSL_IMX6_CAAM) && !defined(WOLFSSL_QNX_CAAM)
|
|
132
|
+
#include "wolfssl/wolfcrypt/port/caam/wolfcaam_sha.h"
|
|
133
|
+
#elif defined(WOLFSSL_RENESAS_RSIP) && \
|
|
134
|
+
!defined(NO_WOLFSSL_RENESAS_FSPSM_HASH)
|
|
135
|
+
#include "wolfssl/wolfcrypt/port/Renesas/renesas_fspsm_internal.h"
|
|
136
|
+
|
|
137
|
+
#else
|
|
138
|
+
#if defined(WOLFSSL_SE050) && defined(WOLFSSL_SE050_HASH)
|
|
139
|
+
#include "wolfssl/wolfcrypt/port/nxp/se050_port.h"
|
|
140
|
+
#endif
|
|
141
|
+
#ifdef HAVE_ARIA
|
|
142
|
+
#include "mcapi.h"
|
|
143
|
+
#include "mcapi_error.h"
|
|
144
|
+
#endif
|
|
145
|
+
#if defined(WOLFSSL_MAX3266X) || defined(WOLFSSL_MAX3266X_OLD)
|
|
146
|
+
#include "wolfssl/wolfcrypt/port/maxim/max3266x.h"
|
|
147
|
+
#endif
|
|
148
|
+
/* wc_Sha512 digest */
|
|
149
|
+
struct wc_Sha512 {
|
|
150
|
+
#if defined(PSOC6_HASH_SHA2)
|
|
151
|
+
cy_stc_crypto_sha_state_t hash_state;
|
|
152
|
+
cy_stc_crypto_v2_sha512_buffers_t sha_buffers;
|
|
153
|
+
void* heap;
|
|
154
|
+
#else
|
|
155
|
+
word64 digest[WC_SHA512_DIGEST_SIZE / sizeof(word64)];
|
|
156
|
+
word64 buffer[WC_SHA512_BLOCK_SIZE / sizeof(word64)];
|
|
157
|
+
word32 buffLen; /* in bytes */
|
|
158
|
+
word64 loLen; /* length in bytes */
|
|
159
|
+
word64 hiLen; /* length in bytes */
|
|
160
|
+
void* heap;
|
|
161
|
+
#ifdef USE_INTEL_SPEEDUP
|
|
162
|
+
const byte* data;
|
|
163
|
+
#endif
|
|
164
|
+
#ifdef WC_C_DYNAMIC_FALLBACK
|
|
165
|
+
int sha_method;
|
|
166
|
+
#endif
|
|
167
|
+
#ifdef WOLFSSL_ASYNC_CRYPT
|
|
168
|
+
WC_ASYNC_DEV asyncDev;
|
|
169
|
+
#endif /* WOLFSSL_ASYNC_CRYPT */
|
|
170
|
+
#ifdef WOLFSSL_SMALL_STACK_CACHE
|
|
171
|
+
word64* W;
|
|
172
|
+
#endif
|
|
173
|
+
|
|
174
|
+
#if defined(WOLFSSL_ESP32_CRYPT) && \
|
|
175
|
+
!defined(NO_WOLFSSL_ESP32_CRYPT_HASH) && \
|
|
176
|
+
(!defined(NO_WOLFSSL_ESP32_CRYPT_HASH_SHA512) || \
|
|
177
|
+
!defined(NO_WOLFSSL_ESP32_CRYPT_HASH_SHA384))
|
|
178
|
+
WC_ESP32SHA ctx;
|
|
179
|
+
#endif
|
|
180
|
+
#if defined(WOLFSSL_SILABS_SE_ACCEL)
|
|
181
|
+
wc_silabs_sha_t silabsCtx;
|
|
182
|
+
#endif
|
|
183
|
+
#ifdef WOLFSSL_KCAPI_HASH
|
|
184
|
+
wolfssl_KCAPI_Hash kcapi;
|
|
185
|
+
#endif
|
|
186
|
+
#if defined(WOLFSSL_SE050) && defined(WOLFSSL_SE050_HASH)
|
|
187
|
+
SE050_HASH_Context se050Ctx;
|
|
188
|
+
#endif
|
|
189
|
+
#if defined(WOLFSSL_HASH_KEEP)
|
|
190
|
+
byte* msg;
|
|
191
|
+
word32 used;
|
|
192
|
+
word32 len;
|
|
193
|
+
#endif
|
|
194
|
+
#ifdef WOLF_CRYPTO_CB
|
|
195
|
+
int devId;
|
|
196
|
+
void* devCtx; /* generic crypto callback context */
|
|
197
|
+
#endif
|
|
198
|
+
#if defined(MAX3266X_SHA_CB) || defined(MAX3266X_SHA)
|
|
199
|
+
wc_MXC_Sha mxcCtx;
|
|
200
|
+
#endif
|
|
201
|
+
#ifdef WOLFSSL_HASH_FLAGS
|
|
202
|
+
word32 flags; /* enum wc_HashFlags in hash.h */
|
|
203
|
+
#endif
|
|
204
|
+
#ifdef WOLFSSL_IMXRT1170_CAAM
|
|
205
|
+
caam_hash_ctx_t ctx;
|
|
206
|
+
caam_handle_t hndl;
|
|
207
|
+
#endif
|
|
208
|
+
#ifdef HAVE_ARIA
|
|
209
|
+
MC_HSESSION hSession;
|
|
210
|
+
#endif
|
|
211
|
+
#if defined(STM32_HASH_SHA512)
|
|
212
|
+
STM32_HASH_Context stmCtx;
|
|
213
|
+
#endif
|
|
214
|
+
#if defined(WOLFSSL_SHA512_HASHTYPE)
|
|
215
|
+
int hashType; /* used to determine which SHA512 is used */
|
|
216
|
+
#endif /* WOLFSSL_SHA512_HASHTYPE */
|
|
217
|
+
#endif /* WOLFSSL_PSOC6_CRYPTO */
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
#ifndef WC_SHA512_TYPE_DEFINED
|
|
222
|
+
typedef struct wc_Sha512 wc_Sha512;
|
|
223
|
+
typedef struct wc_Sha512 wc_Sha512_224;
|
|
224
|
+
typedef struct wc_Sha512 wc_Sha512_256;
|
|
225
|
+
|
|
226
|
+
#define WC_SHA512_TYPE_DEFINED
|
|
227
|
+
#endif
|
|
228
|
+
#endif /* WOLFSSL_IMX6_CAAM && !WOLFSSL_QNX_CAAM */
|
|
229
|
+
|
|
230
|
+
#endif /* HAVE_FIPS */
|
|
231
|
+
|
|
232
|
+
#if defined(WOLFSSL_SHA512) || defined(WOLFSSL_SHA384)
|
|
233
|
+
|
|
234
|
+
#ifdef WOLFSSL_ARMASM
|
|
235
|
+
#if !defined(WOLFSSL_ARMASM_NO_NEON)
|
|
236
|
+
WOLFSSL_LOCAL void Transform_Sha512_Len_neon(wc_Sha512* sha512,
|
|
237
|
+
const byte* data, word32 len);
|
|
238
|
+
#ifdef WOLFSSL_ARMASM_CRYPTO_SHA512
|
|
239
|
+
WOLFSSL_LOCAL void Transform_Sha512_Len_crypto(wc_Sha512* sha512,
|
|
240
|
+
const byte* data, word32 len);
|
|
241
|
+
#endif
|
|
242
|
+
#endif
|
|
243
|
+
#ifndef __aarch64__
|
|
244
|
+
WOLFSSL_LOCAL void Transform_Sha512_Len_base(wc_Sha512* sha512,
|
|
245
|
+
const byte* data, word32 len);
|
|
246
|
+
#endif
|
|
247
|
+
#endif
|
|
248
|
+
|
|
249
|
+
WOLFSSL_API int wc_InitSha512(wc_Sha512* sha);
|
|
250
|
+
WOLFSSL_API int wc_InitSha512_ex(wc_Sha512* sha, void* heap, int devId);
|
|
251
|
+
WOLFSSL_API int wc_Sha512Update(wc_Sha512* sha, const byte* data, word32 len);
|
|
252
|
+
WOLFSSL_API int wc_Sha512FinalRaw(wc_Sha512* sha512, byte* hash);
|
|
253
|
+
WOLFSSL_API int wc_Sha512Final(wc_Sha512* sha512, byte* hash);
|
|
254
|
+
WOLFSSL_API void wc_Sha512Free(wc_Sha512* sha);
|
|
255
|
+
|
|
256
|
+
WOLFSSL_API int wc_Sha512GetHash(wc_Sha512* sha512, byte* hash);
|
|
257
|
+
WOLFSSL_API int wc_Sha512Copy(wc_Sha512* src, wc_Sha512* dst);
|
|
258
|
+
|
|
259
|
+
#if defined(WOLFSSL_HASH_KEEP)
|
|
260
|
+
WOLFSSL_API int wc_Sha512_Grow(wc_Sha512* sha512, const byte* in, int inSz);
|
|
261
|
+
#endif
|
|
262
|
+
#ifdef WOLFSSL_HASH_FLAGS
|
|
263
|
+
WOLFSSL_API int wc_Sha512SetFlags(wc_Sha512* sha512, word32 flags);
|
|
264
|
+
WOLFSSL_API int wc_Sha512GetFlags(wc_Sha512* sha512, word32* flags);
|
|
265
|
+
#endif
|
|
266
|
+
|
|
267
|
+
#if defined(OPENSSL_EXTRA) || defined(HAVE_CURL)
|
|
268
|
+
WOLFSSL_API int wc_Sha512Transform(wc_Sha512* sha, const unsigned char* data);
|
|
269
|
+
#endif
|
|
270
|
+
|
|
271
|
+
#if !defined(WOLFSSL_NOSHA512_224) && \
|
|
272
|
+
(!defined(HAVE_FIPS) || FIPS_VERSION_GE(5, 3)) && !defined(HAVE_SELFTEST)
|
|
273
|
+
WOLFSSL_API int wc_InitSha512_224(wc_Sha512* sha);
|
|
274
|
+
WOLFSSL_API int wc_InitSha512_224_ex(wc_Sha512* sha, void* heap, int devId);
|
|
275
|
+
WOLFSSL_API int wc_Sha512_224Update(wc_Sha512* sha, const byte* data, word32 len);
|
|
276
|
+
WOLFSSL_API int wc_Sha512_224FinalRaw(wc_Sha512* sha512, byte* hash);
|
|
277
|
+
WOLFSSL_API int wc_Sha512_224Final(wc_Sha512* sha512, byte* hash);
|
|
278
|
+
WOLFSSL_API void wc_Sha512_224Free(wc_Sha512* sha);
|
|
279
|
+
WOLFSSL_API int wc_Sha512_224GetHash(wc_Sha512* sha512, byte* hash);
|
|
280
|
+
WOLFSSL_API int wc_Sha512_224Copy(wc_Sha512* src, wc_Sha512* dst);
|
|
281
|
+
#ifdef WOLFSSL_HASH_FLAGS
|
|
282
|
+
WOLFSSL_API int wc_Sha512_224SetFlags(wc_Sha512* sha512, word32 flags);
|
|
283
|
+
WOLFSSL_API int wc_Sha512_224GetFlags(wc_Sha512* sha512, word32* flags);
|
|
284
|
+
#endif
|
|
285
|
+
|
|
286
|
+
#if defined(OPENSSL_EXTRA) || defined(HAVE_CURL)
|
|
287
|
+
WOLFSSL_API int wc_Sha512_224Transform(wc_Sha512* sha,
|
|
288
|
+
const unsigned char* data);
|
|
289
|
+
#endif /* OPENSSL_EXTRA */
|
|
290
|
+
#endif /* !WOLFSSL_NOSHA512_224 && !FIPS ... */
|
|
291
|
+
|
|
292
|
+
#if !defined(WOLFSSL_NOSHA512_256) && \
|
|
293
|
+
(!defined(HAVE_FIPS) || FIPS_VERSION_GE(5, 3)) && !defined(HAVE_SELFTEST)
|
|
294
|
+
WOLFSSL_API int wc_InitSha512_256(wc_Sha512* sha);
|
|
295
|
+
WOLFSSL_API int wc_InitSha512_256_ex(wc_Sha512* sha, void* heap, int devId);
|
|
296
|
+
WOLFSSL_API int wc_Sha512_256Update(wc_Sha512* sha, const byte* data, word32 len);
|
|
297
|
+
WOLFSSL_API int wc_Sha512_256FinalRaw(wc_Sha512* sha512, byte* hash);
|
|
298
|
+
WOLFSSL_API int wc_Sha512_256Final(wc_Sha512* sha512, byte* hash);
|
|
299
|
+
WOLFSSL_API void wc_Sha512_256Free(wc_Sha512* sha);
|
|
300
|
+
WOLFSSL_API int wc_Sha512_256GetHash(wc_Sha512* sha512, byte* hash);
|
|
301
|
+
WOLFSSL_API int wc_Sha512_256Copy(wc_Sha512* src, wc_Sha512* dst);
|
|
302
|
+
#ifdef WOLFSSL_HASH_FLAGS
|
|
303
|
+
WOLFSSL_API int wc_Sha512_256SetFlags(wc_Sha512* sha512, word32 flags);
|
|
304
|
+
WOLFSSL_API int wc_Sha512_256GetFlags(wc_Sha512* sha512, word32* flags);
|
|
305
|
+
#endif
|
|
306
|
+
|
|
307
|
+
#if defined(OPENSSL_EXTRA) || defined(HAVE_CURL)
|
|
308
|
+
WOLFSSL_API int wc_Sha512_256Transform(wc_Sha512* sha,
|
|
309
|
+
const unsigned char* data);
|
|
310
|
+
#endif /* OPENSSL_EXTRA */
|
|
311
|
+
#endif /* !WOLFSSL_NOSHA512_256 && !FIPS ... */
|
|
312
|
+
|
|
313
|
+
#endif /* WOLFSSL_SHA512 */
|
|
314
|
+
|
|
315
|
+
#if defined(WOLFSSL_SHA384)
|
|
316
|
+
|
|
317
|
+
/* avoid redefinition of structs */
|
|
318
|
+
#if !defined(HAVE_FIPS) || \
|
|
319
|
+
(defined(HAVE_FIPS_VERSION) && (HAVE_FIPS_VERSION >= 2))
|
|
320
|
+
|
|
321
|
+
#if !defined(NO_OLD_SHA_NAMES)
|
|
322
|
+
#define SHA384 WC_SHA384
|
|
323
|
+
#endif
|
|
324
|
+
|
|
325
|
+
#if !defined(NO_OLD_WC_NAMES)
|
|
326
|
+
#define Sha384 wc_Sha384
|
|
327
|
+
#define SHA384_BLOCK_SIZE WC_SHA384_BLOCK_SIZE
|
|
328
|
+
#define SHA384_DIGEST_SIZE WC_SHA384_DIGEST_SIZE
|
|
329
|
+
#define SHA384_PAD_SIZE WC_SHA384_PAD_SIZE
|
|
330
|
+
#endif
|
|
331
|
+
|
|
332
|
+
/* in bytes */
|
|
333
|
+
enum {
|
|
334
|
+
WC_SHA384 = WC_HASH_TYPE_SHA384,
|
|
335
|
+
WC_SHA384_BLOCK_SIZE = WC_SHA512_BLOCK_SIZE,
|
|
336
|
+
WC_SHA384_DIGEST_SIZE = 48,
|
|
337
|
+
WC_SHA384_PAD_SIZE = WC_SHA512_PAD_SIZE
|
|
338
|
+
};
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
#ifndef WC_SHA384_TYPE_DEFINED
|
|
342
|
+
typedef struct wc_Sha512 wc_Sha384;
|
|
343
|
+
#define WC_SHA384_TYPE_DEFINED
|
|
344
|
+
#endif
|
|
345
|
+
#endif /* HAVE_FIPS */
|
|
346
|
+
|
|
347
|
+
WOLFSSL_API int wc_InitSha384(wc_Sha384* sha);
|
|
348
|
+
WOLFSSL_API int wc_InitSha384_ex(wc_Sha384* sha, void* heap, int devId);
|
|
349
|
+
WOLFSSL_API int wc_Sha384Update(wc_Sha384* sha, const byte* data, word32 len);
|
|
350
|
+
WOLFSSL_API int wc_Sha384FinalRaw(wc_Sha384* sha384, byte* hash);
|
|
351
|
+
WOLFSSL_API int wc_Sha384Final(wc_Sha384* sha384, byte* hash);
|
|
352
|
+
WOLFSSL_API void wc_Sha384Free(wc_Sha384* sha);
|
|
353
|
+
|
|
354
|
+
WOLFSSL_API int wc_Sha384GetHash(wc_Sha384* sha384, byte* hash);
|
|
355
|
+
WOLFSSL_API int wc_Sha384Copy(wc_Sha384* src, wc_Sha384* dst);
|
|
356
|
+
|
|
357
|
+
#if defined(WOLFSSL_HASH_KEEP)
|
|
358
|
+
WOLFSSL_API int wc_Sha384_Grow(wc_Sha384* sha384, const byte* in, int inSz);
|
|
359
|
+
#endif
|
|
360
|
+
#ifdef WOLFSSL_HASH_FLAGS
|
|
361
|
+
WOLFSSL_API int wc_Sha384SetFlags(wc_Sha384* sha384, word32 flags);
|
|
362
|
+
WOLFSSL_API int wc_Sha384GetFlags(wc_Sha384* sha384, word32* flags);
|
|
363
|
+
#endif
|
|
364
|
+
|
|
365
|
+
#endif /* WOLFSSL_SHA384 */
|
|
366
|
+
|
|
367
|
+
#ifdef __cplusplus
|
|
368
|
+
} /* extern "C" */
|
|
369
|
+
#endif
|
|
370
|
+
|
|
371
|
+
#endif /* WOLFSSL_SHA512 || WOLFSSL_SHA384 */
|
|
372
|
+
#endif /* WOLF_CRYPT_SHA512_H */
|