diff options
author | vnugent <public@vaughnnugent.com> | 2024-11-13 22:25:32 -0500 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2024-11-13 22:25:32 -0500 |
commit | 5cf1addc4a7b70aafda5ad8953f114a206df93cc (patch) | |
tree | d478524ea1ed7676f530f2eb26af644024d6aeca | |
parent | 0baa4afd4716ad4d6d2f37b9d4af4fc839d16d7c (diff) |
integrate mbedtls testing and remove mbedtls fetch
-rw-r--r-- | CHANGELOG.md | 6 | ||||
-rw-r--r-- | CMakeLists.txt | 111 | ||||
-rw-r--r-- | Module.Taskfile.yaml | 7 | ||||
-rw-r--r-- | Taskfile.yaml | 405 | ||||
-rw-r--r-- | src/noscrypt.c | 2 | ||||
-rw-r--r-- | src/providers/mbedtls.c | 52 | ||||
-rw-r--r-- | src/providers/monocypher.c | 2 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/aes.h (renamed from vendor/mbedtls/include/mbedtls/aes.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/aria.h (renamed from vendor/mbedtls/include/mbedtls/aria.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/asn1.h (renamed from vendor/mbedtls/include/mbedtls/asn1.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/asn1write.h (renamed from vendor/mbedtls/include/mbedtls/asn1write.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/base64.h (renamed from vendor/mbedtls/include/mbedtls/base64.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/bignum.h (renamed from vendor/mbedtls/include/mbedtls/bignum.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/block_cipher.h (renamed from vendor/mbedtls/include/mbedtls/block_cipher.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/build_info.h (renamed from vendor/mbedtls/include/mbedtls/build_info.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/camellia.h (renamed from vendor/mbedtls/include/mbedtls/camellia.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/ccm.h (renamed from vendor/mbedtls/include/mbedtls/ccm.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/chacha20.h (renamed from vendor/mbedtls/include/mbedtls/chacha20.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/chachapoly.h (renamed from vendor/mbedtls/include/mbedtls/chachapoly.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/check_config.h (renamed from vendor/mbedtls/include/mbedtls/check_config.h) | 32 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/cipher.h (renamed from vendor/mbedtls/include/mbedtls/cipher.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/cmac.h (renamed from vendor/mbedtls/include/mbedtls/cmac.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/compat-2.x.h (renamed from vendor/mbedtls/include/mbedtls/compat-2.x.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/config_adjust_legacy_crypto.h (renamed from vendor/mbedtls/include/mbedtls/config_adjust_legacy_crypto.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/config_adjust_legacy_from_psa.h (renamed from vendor/mbedtls/include/mbedtls/config_adjust_legacy_from_psa.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/config_adjust_psa_from_legacy.h (renamed from vendor/mbedtls/include/mbedtls/config_adjust_psa_from_legacy.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/config_adjust_psa_superset_legacy.h (renamed from vendor/mbedtls/include/mbedtls/config_adjust_psa_superset_legacy.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/config_adjust_ssl.h (renamed from vendor/mbedtls/include/mbedtls/config_adjust_ssl.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/config_adjust_x509.h (renamed from vendor/mbedtls/include/mbedtls/config_adjust_x509.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/config_psa.h (renamed from vendor/mbedtls/include/mbedtls/config_psa.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/constant_time.h (renamed from vendor/mbedtls/include/mbedtls/constant_time.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/ctr_drbg.h (renamed from vendor/mbedtls/include/mbedtls/ctr_drbg.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/debug.h (renamed from vendor/mbedtls/include/mbedtls/debug.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/des.h (renamed from vendor/mbedtls/include/mbedtls/des.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/dhm.h (renamed from vendor/mbedtls/include/mbedtls/dhm.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/ecdh.h (renamed from vendor/mbedtls/include/mbedtls/ecdh.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/ecdsa.h (renamed from vendor/mbedtls/include/mbedtls/ecdsa.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/ecjpake.h (renamed from vendor/mbedtls/include/mbedtls/ecjpake.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/ecp.h (renamed from vendor/mbedtls/include/mbedtls/ecp.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/entropy.h (renamed from vendor/mbedtls/include/mbedtls/entropy.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/error.h (renamed from vendor/mbedtls/include/mbedtls/error.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/gcm.h (renamed from vendor/mbedtls/include/mbedtls/gcm.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/hkdf.h (renamed from vendor/mbedtls/include/mbedtls/hkdf.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/hmac_drbg.h (renamed from vendor/mbedtls/include/mbedtls/hmac_drbg.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/lms.h (renamed from vendor/mbedtls/include/mbedtls/lms.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/mbedtls_config.h (renamed from vendor/mbedtls/include/mbedtls/mbedtls_config.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/md.h (renamed from vendor/mbedtls/include/mbedtls/md.h) | 2 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/md5.h (renamed from vendor/mbedtls/include/mbedtls/md5.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/memory_buffer_alloc.h (renamed from vendor/mbedtls/include/mbedtls/memory_buffer_alloc.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/net_sockets.h (renamed from vendor/mbedtls/include/mbedtls/net_sockets.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/nist_kw.h (renamed from vendor/mbedtls/include/mbedtls/nist_kw.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/oid.h (renamed from vendor/mbedtls/include/mbedtls/oid.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/pem.h (renamed from vendor/mbedtls/include/mbedtls/pem.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/pk.h (renamed from vendor/mbedtls/include/mbedtls/pk.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/pkcs12.h (renamed from vendor/mbedtls/include/mbedtls/pkcs12.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/pkcs5.h (renamed from vendor/mbedtls/include/mbedtls/pkcs5.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/pkcs7.h (renamed from vendor/mbedtls/include/mbedtls/pkcs7.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/platform.h (renamed from vendor/mbedtls/include/mbedtls/platform.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/platform_time.h (renamed from vendor/mbedtls/include/mbedtls/platform_time.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/platform_util.h (renamed from vendor/mbedtls/include/mbedtls/platform_util.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/poly1305.h (renamed from vendor/mbedtls/include/mbedtls/poly1305.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/private_access.h (renamed from vendor/mbedtls/include/mbedtls/private_access.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/psa_util.h (renamed from vendor/mbedtls/include/mbedtls/psa_util.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/ripemd160.h (renamed from vendor/mbedtls/include/mbedtls/ripemd160.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/rsa.h (renamed from vendor/mbedtls/include/mbedtls/rsa.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/sha1.h (renamed from vendor/mbedtls/include/mbedtls/sha1.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/sha256.h (renamed from vendor/mbedtls/include/mbedtls/sha256.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/sha3.h (renamed from vendor/mbedtls/include/mbedtls/sha3.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/sha512.h (renamed from vendor/mbedtls/include/mbedtls/sha512.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/ssl.h (renamed from vendor/mbedtls/include/mbedtls/ssl.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/ssl_cache.h (renamed from vendor/mbedtls/include/mbedtls/ssl_cache.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/ssl_ciphersuites.h (renamed from vendor/mbedtls/include/mbedtls/ssl_ciphersuites.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/ssl_cookie.h (renamed from vendor/mbedtls/include/mbedtls/ssl_cookie.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/ssl_ticket.h (renamed from vendor/mbedtls/include/mbedtls/ssl_ticket.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/threading.h (renamed from vendor/mbedtls/include/mbedtls/threading.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/timing.h (renamed from vendor/mbedtls/include/mbedtls/timing.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/version.h (renamed from vendor/mbedtls/include/mbedtls/version.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/x509.h (renamed from vendor/mbedtls/include/mbedtls/x509.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/x509_crl.h (renamed from vendor/mbedtls/include/mbedtls/x509_crl.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/x509_crt.h (renamed from vendor/mbedtls/include/mbedtls/x509_crt.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls/x509_csr.h (renamed from vendor/mbedtls/include/mbedtls/x509_csr.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/mbedtls_noscrypt_config.h | 69 | ||||
-rw-r--r-- | vendor/mbedtls/psa/build_info.h (renamed from vendor/mbedtls/include/psa/build_info.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto.h (renamed from vendor/mbedtls/include/psa/crypto.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_adjust_auto_enabled.h (renamed from vendor/mbedtls/include/psa/crypto_adjust_auto_enabled.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_adjust_config_dependencies.h (renamed from vendor/mbedtls/include/psa/crypto_adjust_config_dependencies.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_adjust_config_key_pair_types.h (renamed from vendor/mbedtls/include/psa/crypto_adjust_config_key_pair_types.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_adjust_config_synonyms.h (renamed from vendor/mbedtls/include/psa/crypto_adjust_config_synonyms.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_builtin_composites.h (renamed from vendor/mbedtls/include/psa/crypto_builtin_composites.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_builtin_key_derivation.h (renamed from vendor/mbedtls/include/psa/crypto_builtin_key_derivation.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_builtin_primitives.h (renamed from vendor/mbedtls/include/psa/crypto_builtin_primitives.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_compat.h (renamed from vendor/mbedtls/include/psa/crypto_compat.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_config.h (renamed from vendor/mbedtls/include/psa/crypto_config.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_driver_common.h (renamed from vendor/mbedtls/include/psa/crypto_driver_common.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_driver_contexts_composites.h (renamed from vendor/mbedtls/include/psa/crypto_driver_contexts_composites.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_driver_contexts_key_derivation.h (renamed from vendor/mbedtls/include/psa/crypto_driver_contexts_key_derivation.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_driver_contexts_primitives.h (renamed from vendor/mbedtls/include/psa/crypto_driver_contexts_primitives.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_extra.h (renamed from vendor/mbedtls/include/psa/crypto_extra.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_legacy.h (renamed from vendor/mbedtls/include/psa/crypto_legacy.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_platform.h (renamed from vendor/mbedtls/include/psa/crypto_platform.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_se_driver.h (renamed from vendor/mbedtls/include/psa/crypto_se_driver.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_sizes.h (renamed from vendor/mbedtls/include/psa/crypto_sizes.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_struct.h (renamed from vendor/mbedtls/include/psa/crypto_struct.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_types.h (renamed from vendor/mbedtls/include/psa/crypto_types.h) | 0 | ||||
-rw-r--r-- | vendor/mbedtls/psa/crypto_values.h (renamed from vendor/mbedtls/include/psa/crypto_values.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/__DECC_INCLUDE_EPILOGUE.H (renamed from vendor/openssl/include/openssl/__DECC_INCLUDE_EPILOGUE.H) | 0 | ||||
-rw-r--r-- | vendor/openssl/__DECC_INCLUDE_PROLOGUE.H (renamed from vendor/openssl/include/openssl/__DECC_INCLUDE_PROLOGUE.H) | 0 | ||||
-rw-r--r-- | vendor/openssl/aes.h (renamed from vendor/openssl/include/openssl/aes.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/asn1.h.in (renamed from vendor/openssl/include/openssl/asn1.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/asn1_mac.h (renamed from vendor/openssl/include/openssl/asn1_mac.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/asn1err.h (renamed from vendor/openssl/include/openssl/asn1err.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/asn1t.h.in (renamed from vendor/openssl/include/openssl/asn1t.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/async.h (renamed from vendor/openssl/include/openssl/async.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/asyncerr.h (renamed from vendor/openssl/include/openssl/asyncerr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/bio.h.in (renamed from vendor/openssl/include/openssl/bio.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/bioerr.h (renamed from vendor/openssl/include/openssl/bioerr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/blowfish.h (renamed from vendor/openssl/include/openssl/blowfish.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/bn.h (renamed from vendor/openssl/include/openssl/bn.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/bnerr.h (renamed from vendor/openssl/include/openssl/bnerr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/buffer.h (renamed from vendor/openssl/include/openssl/buffer.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/buffererr.h (renamed from vendor/openssl/include/openssl/buffererr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/camellia.h (renamed from vendor/openssl/include/openssl/camellia.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/cast.h (renamed from vendor/openssl/include/openssl/cast.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/cmac.h (renamed from vendor/openssl/include/openssl/cmac.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/cmp.h.in (renamed from vendor/openssl/include/openssl/cmp.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/cmp_util.h (renamed from vendor/openssl/include/openssl/cmp_util.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/cmperr.h (renamed from vendor/openssl/include/openssl/cmperr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/cms.h.in (renamed from vendor/openssl/include/openssl/cms.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/cmserr.h (renamed from vendor/openssl/include/openssl/cmserr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/comp.h (renamed from vendor/openssl/include/openssl/comp.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/comp.h.in (renamed from vendor/openssl/include/openssl/comp.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/comperr.h (renamed from vendor/openssl/include/openssl/comperr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/conf.h.in (renamed from vendor/openssl/include/openssl/conf.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/conf_api.h (renamed from vendor/openssl/include/openssl/conf_api.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/conferr.h (renamed from vendor/openssl/include/openssl/conferr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/configuration.h.in (renamed from vendor/openssl/include/openssl/configuration.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/conftypes.h (renamed from vendor/openssl/include/openssl/conftypes.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/core.h (renamed from vendor/openssl/include/openssl/core.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/core_dispatch.h (renamed from vendor/openssl/include/openssl/core_dispatch.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/core_names.h.in (renamed from vendor/openssl/include/openssl/core_names.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/core_object.h (renamed from vendor/openssl/include/openssl/core_object.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/crmf.h.in (renamed from vendor/openssl/include/openssl/crmf.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/crmferr.h (renamed from vendor/openssl/include/openssl/crmferr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/crypto.h.in (renamed from vendor/openssl/include/openssl/crypto.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/cryptoerr.h (renamed from vendor/openssl/include/openssl/cryptoerr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/cryptoerr_legacy.h (renamed from vendor/openssl/include/openssl/cryptoerr_legacy.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/ct.h.in (renamed from vendor/openssl/include/openssl/ct.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/cterr.h (renamed from vendor/openssl/include/openssl/cterr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/decoder.h (renamed from vendor/openssl/include/openssl/decoder.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/decodererr.h (renamed from vendor/openssl/include/openssl/decodererr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/des.h (renamed from vendor/openssl/include/openssl/des.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/dh.h (renamed from vendor/openssl/include/openssl/dh.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/dherr.h (renamed from vendor/openssl/include/openssl/dherr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/dsa.h (renamed from vendor/openssl/include/openssl/dsa.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/dsaerr.h (renamed from vendor/openssl/include/openssl/dsaerr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/dtls1.h (renamed from vendor/openssl/include/openssl/dtls1.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/e_os2.h (renamed from vendor/openssl/include/openssl/e_os2.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/e_ostime.h (renamed from vendor/openssl/include/openssl/e_ostime.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/ebcdic.h (renamed from vendor/openssl/include/openssl/ebcdic.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/ec.h (renamed from vendor/openssl/include/openssl/ec.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/ecdh.h (renamed from vendor/openssl/include/openssl/ecdh.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/ecdsa.h (renamed from vendor/openssl/include/openssl/ecdsa.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/ecerr.h (renamed from vendor/openssl/include/openssl/ecerr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/encoder.h (renamed from vendor/openssl/include/openssl/encoder.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/encodererr.h (renamed from vendor/openssl/include/openssl/encodererr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/engine.h (renamed from vendor/openssl/include/openssl/engine.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/engineerr.h (renamed from vendor/openssl/include/openssl/engineerr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/err.h.in (renamed from vendor/openssl/include/openssl/err.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/ess.h.in (renamed from vendor/openssl/include/openssl/ess.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/esserr.h (renamed from vendor/openssl/include/openssl/esserr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/evp.h (renamed from vendor/openssl/include/openssl/evp.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/evperr.h (renamed from vendor/openssl/include/openssl/evperr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/fips_names.h (renamed from vendor/openssl/include/openssl/fips_names.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/fipskey.h.in (renamed from vendor/openssl/include/openssl/fipskey.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/hmac.h (renamed from vendor/openssl/include/openssl/hmac.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/hpke.h (renamed from vendor/openssl/include/openssl/hpke.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/http.h (renamed from vendor/openssl/include/openssl/http.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/httperr.h (renamed from vendor/openssl/include/openssl/httperr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/idea.h (renamed from vendor/openssl/include/openssl/idea.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/indicator.h (renamed from vendor/openssl/include/openssl/indicator.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/kdf.h (renamed from vendor/openssl/include/openssl/kdf.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/kdferr.h (renamed from vendor/openssl/include/openssl/kdferr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/lhash.h.in (renamed from vendor/openssl/include/openssl/lhash.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/macros.h (renamed from vendor/openssl/include/openssl/macros.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/md2.h (renamed from vendor/openssl/include/openssl/md2.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/md4.h (renamed from vendor/openssl/include/openssl/md4.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/md5.h (renamed from vendor/openssl/include/openssl/md5.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/mdc2.h (renamed from vendor/openssl/include/openssl/mdc2.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/modes.h (renamed from vendor/openssl/include/openssl/modes.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/obj_mac.h (renamed from vendor/openssl/include/openssl/obj_mac.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/objects.h (renamed from vendor/openssl/include/openssl/objects.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/objectserr.h (renamed from vendor/openssl/include/openssl/objectserr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/ocsp.h.in (renamed from vendor/openssl/include/openssl/ocsp.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/ocsperr.h (renamed from vendor/openssl/include/openssl/ocsperr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/opensslconf.h (renamed from vendor/openssl/include/openssl/opensslconf.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/opensslv.h.in (renamed from vendor/openssl/include/openssl/opensslv.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/ossl_typ.h (renamed from vendor/openssl/include/openssl/ossl_typ.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/param_build.h (renamed from vendor/openssl/include/openssl/param_build.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/params.h (renamed from vendor/openssl/include/openssl/params.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/pem.h (renamed from vendor/openssl/include/openssl/pem.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/pem2.h (renamed from vendor/openssl/include/openssl/pem2.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/pemerr.h (renamed from vendor/openssl/include/openssl/pemerr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/pkcs12.h.in (renamed from vendor/openssl/include/openssl/pkcs12.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/pkcs12err.h (renamed from vendor/openssl/include/openssl/pkcs12err.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/pkcs7.h.in (renamed from vendor/openssl/include/openssl/pkcs7.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/pkcs7err.h (renamed from vendor/openssl/include/openssl/pkcs7err.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/prov_ssl.h (renamed from vendor/openssl/include/openssl/prov_ssl.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/proverr.h (renamed from vendor/openssl/include/openssl/proverr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/provider.h (renamed from vendor/openssl/include/openssl/provider.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/quic.h (renamed from vendor/openssl/include/openssl/quic.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/rand.h (renamed from vendor/openssl/include/openssl/rand.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/randerr.h (renamed from vendor/openssl/include/openssl/randerr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/rc2.h (renamed from vendor/openssl/include/openssl/rc2.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/rc4.h (renamed from vendor/openssl/include/openssl/rc4.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/rc5.h (renamed from vendor/openssl/include/openssl/rc5.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/ripemd.h (renamed from vendor/openssl/include/openssl/ripemd.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/rsa.h (renamed from vendor/openssl/include/openssl/rsa.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/rsaerr.h (renamed from vendor/openssl/include/openssl/rsaerr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/safestack.h.in (renamed from vendor/openssl/include/openssl/safestack.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/seed.h (renamed from vendor/openssl/include/openssl/seed.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/self_test.h (renamed from vendor/openssl/include/openssl/self_test.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/sha.h (renamed from vendor/openssl/include/openssl/sha.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/srp.h.in (renamed from vendor/openssl/include/openssl/srp.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/srtp.h (renamed from vendor/openssl/include/openssl/srtp.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/ssl.h.in (renamed from vendor/openssl/include/openssl/ssl.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/ssl2.h (renamed from vendor/openssl/include/openssl/ssl2.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/ssl3.h (renamed from vendor/openssl/include/openssl/ssl3.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/sslerr.h (renamed from vendor/openssl/include/openssl/sslerr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/sslerr_legacy.h (renamed from vendor/openssl/include/openssl/sslerr_legacy.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/stack.h (renamed from vendor/openssl/include/openssl/stack.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/store.h (renamed from vendor/openssl/include/openssl/store.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/storeerr.h (renamed from vendor/openssl/include/openssl/storeerr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/symhacks.h (renamed from vendor/openssl/include/openssl/symhacks.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/thread.h (renamed from vendor/openssl/include/openssl/thread.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/tls1.h (renamed from vendor/openssl/include/openssl/tls1.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/trace.h (renamed from vendor/openssl/include/openssl/trace.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/ts.h (renamed from vendor/openssl/include/openssl/ts.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/tserr.h (renamed from vendor/openssl/include/openssl/tserr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/txt_db.h (renamed from vendor/openssl/include/openssl/txt_db.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/types.h (renamed from vendor/openssl/include/openssl/types.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/ui.h.in (renamed from vendor/openssl/include/openssl/ui.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/uierr.h (renamed from vendor/openssl/include/openssl/uierr.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/whrlpool.h (renamed from vendor/openssl/include/openssl/whrlpool.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/x509.h.in (renamed from vendor/openssl/include/openssl/x509.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/x509_acert.h.in (renamed from vendor/openssl/include/openssl/x509_acert.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/x509_vfy.h.in (renamed from vendor/openssl/include/openssl/x509_vfy.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/x509err.h (renamed from vendor/openssl/include/openssl/x509err.h) | 0 | ||||
-rw-r--r-- | vendor/openssl/x509v3.h.in (renamed from vendor/openssl/include/openssl/x509v3.h.in) | 0 | ||||
-rw-r--r-- | vendor/openssl/x509v3err.h (renamed from vendor/openssl/include/openssl/x509v3err.h) | 0 | ||||
-rw-r--r-- | vendor/secp256k1/secp256k1.h (renamed from vendor/secp256k1/include/secp256k1/secp256k1.h) | 0 | ||||
-rw-r--r-- | vendor/secp256k1/secp256k1_ecdh.h (renamed from vendor/secp256k1/include/secp256k1/secp256k1_ecdh.h) | 0 | ||||
-rw-r--r-- | vendor/secp256k1/secp256k1_ellswift.h (renamed from vendor/secp256k1/include/secp256k1/secp256k1_ellswift.h) | 0 | ||||
-rw-r--r-- | vendor/secp256k1/secp256k1_extrakeys.h (renamed from vendor/secp256k1/include/secp256k1/secp256k1_extrakeys.h) | 0 | ||||
-rw-r--r-- | vendor/secp256k1/secp256k1_musig.h (renamed from vendor/secp256k1/include/secp256k1/secp256k1_musig.h) | 0 | ||||
-rw-r--r-- | vendor/secp256k1/secp256k1_preallocated.h (renamed from vendor/secp256k1/include/secp256k1/secp256k1_preallocated.h) | 0 | ||||
-rw-r--r-- | vendor/secp256k1/secp256k1_recovery.h (renamed from vendor/secp256k1/include/secp256k1/secp256k1_recovery.h) | 0 | ||||
-rw-r--r-- | vendor/secp256k1/secp256k1_schnorrsig.h (renamed from vendor/secp256k1/include/secp256k1/secp256k1_schnorrsig.h) | 0 |
257 files changed, 412 insertions, 276 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 64ed2ec..4edba85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Security policy for the module - Valgrind memory checking during unit testing - Added fully automated integration testing for Windows and Linux deployments - +- Automated tests for all crypto backends (MbedTLS, OpenSSL, BCrypt) + ### Fixed - [#9](https://www.vaughnnugent.com/resources/software/modules/noscrypt-issues?id=53) - Convert all OpenSSL apis to use the EVP api and unify it's usage. Also fixes some detected memory leaks that were undocumented. @@ -26,6 +27,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated MbedTLS to v3.6.2 - Updated libsecp256k1 to v0.6.0 +### Removed +- The NC_FETCH_MBEDTLS directive for fetching MbedTLS during build. MbedTLS must be manually installed for the build to succeed. The Taskfile has been updated to handle the installation for users. + ## [0.1.5] ### Added diff --git a/CMakeLists.txt b/CMakeLists.txt index c6a2c05..e0f1b20 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,7 +19,6 @@ set(_NC_PROJ_NAME "noscrypt") option(NC_BUILD_TESTS "Build tests" OFF) option(NC_ENABLE_UTILS "Enables the sidecar utility library" OFF) option(NC_DISABLE_INPUT_VALIDATION "Disables public function input validation" OFF) -option(NC_FETCH_MBEDTLS "Fetch Mbed-TLS from it's source repository locally" OFF) option(NC_FETCH_SECP256K1 "Fetch and locally build secp256k1 source code" ON) option(NC_INCLUDE_MONOCYPHER "Statically link to vendored monocypher library" ON) set(CRYPTO_LIB "" CACHE STRING "The crypto library to link to (mbedtls, openssl, bcrypt)") @@ -131,9 +130,9 @@ target_include_directories(${_NC_PROJ_NAME}_static PRIVATE include) target_link_libraries(${_NC_PROJ_NAME} PRIVATE secp256k1) target_link_libraries(${_NC_PROJ_NAME}_static PRIVATE secp256k1) -#include secp256k1 headers -target_include_directories(${_NC_PROJ_NAME} SYSTEM PUBLIC vendor/secp256k1/include) -target_include_directories(${_NC_PROJ_NAME}_static SYSTEM PUBLIC vendor/secp256k1/include) +#make vendored headers available to the project +target_include_directories(${_NC_PROJ_NAME} SYSTEM PRIVATE ${CMAKE_SOURCE_DIR}/vendor) +target_include_directories(${_NC_PROJ_NAME}_static SYSTEM PRIVATE ${CMAKE_SOURCE_DIR}/vendor) ############################################# # @@ -141,42 +140,6 @@ target_include_directories(${_NC_PROJ_NAME}_static SYSTEM PUBLIC vendor/secp256k # ############################################# -#Include mbedtls if enabled -if(NC_FETCH_MBEDTLS) - - set(MBEDTLS_CONFIG_FILE "${CMAKE_CURRENT_SOURCE_DIR}/vendor/mbedtls/mbedtls_noscrypt_config.h" CACHE STRING "" FORCE) - - FetchContent_Declare( - libmbedtls - GIT_REPOSITORY https://github.com/Mbed-TLS/mbedtls.git - GIT_TAG v3.6.2 - GIT_PROGRESS TRUE - ) - - FetchContent_MakeAvailable(libmbedtls) - - ############### - # NOTE: Must disable shared libraries to avoid linking errors when using mbedtls - ############### - - set_target_properties( - mbedcrypto - mbedtls - - PROPERTIES - ENABLE_PROGRAMS OFF - ENABLE_TESTING OFF - BUILD_SHARED_LIBS OFF - POSITION_INDEPENDENT_CODE ON - USE_SHARED_MBEDTLS_LIBRARY OFF - USE_STATIC_MBEDTLS_LIBRARY ON - DISABLE_PACKAGE_CONFIG_AND_INSTALL OFF - ) - - set(CRYPTO_LIB "mbedtls") #enable linking to mbedtls - -endif() - #try to load openssl quietly in order to check for its availability find_package(OpenSSL QUIET) @@ -196,36 +159,48 @@ endif() #if mbedtls linking is enabled target the library if(CRYPTO_LIB STREQUAL "mbedtls") - message(STATUS "Linking to MbedTLS crypto library") + #make vendored mbedtls headers available to the project + target_include_directories(${_NC_PROJ_NAME} SYSTEM PRIVATE ${CMAKE_SOURCE_DIR}/vendor/mbedtls) + target_include_directories(${_NC_PROJ_NAME}_static SYSTEM PRIVATE ${CMAKE_SOURCE_DIR}/vendor/mbedtls) - #include mbedtls headers - target_include_directories(${_NC_PROJ_NAME} SYSTEM PUBLIC vendor/mbedtls/include) - target_include_directories(${_NC_PROJ_NAME}_static SYSTEM PUBLIC vendor/mbedtls/include) + message(STATUS "Linking to MbedTLS crypto library") - if(NC_FETCH_MBEDTLS) - #link to included mbedtls - target_link_libraries(${_NC_PROJ_NAME} PRIVATE mbedcrypto PRIVATE mbedtls) - target_link_libraries(${_NC_PROJ_NAME}_static PRIVATE mbedcrypto PRIVATE mbedtls) - else() - #find the library - find_library(MBEDTLS_LIB_CRYPTO - NAMES mbedcrypto libmbedcrypto - PATHS ${CRYPTO_LIB_DIR} - ) + #find the library + find_library(MBEDTLS_LIB_CRYPTO + NAMES mbedcrypto libmbedcrypto libmbedcrypto.a mbedcrypto.lib + + HINTS + ${CRYPTO_LIB_DIR} + ${CRYPTO_LIB_DIR}/debug + ${CRYPTO_LIB_DIR}/release + ${CRYPTO_LIB_DIR}/library + ${CRYPTO_LIB_DIR}/library/debug + ${CRYPTO_LIB_DIR}/library/release + + REQUIRED + ) - find_library(MBEDTLS_LIB_TLS - NAMES mbedtls libmbedtls - PATHS ${CRYPTO_LIB_DIR} - ) + find_library(MBEDTLS_LIB_TLS + NAMES mbedtls libmbedtls libmbedtls.a mbedtls.lib - message(STATUS "Found mbedtls crypto library at ${MBEDTLS_LIB_CRYPTO}") - message(STATUS "Found mbedtls tls library at ${MBEDTLS_LIB_TLS}") + HINTS + ${CRYPTO_LIB_DIR} + ${CRYPTO_LIB_DIR}/debug + ${CRYPTO_LIB_DIR}/release + ${CRYPTO_LIB_DIR}/library + ${CRYPTO_LIB_DIR}/library/debug + ${CRYPTO_LIB_DIR}/library/release - #link to the library - target_link_libraries(${_NC_PROJ_NAME} PRIVATE ${MBEDTLS_LIB_CRYPTO} PRIVATE ${MBEDTLS_LIB_TLS}) - target_link_libraries(${_NC_PROJ_NAME}_static PRIVATE ${MBEDTLS_LIB_CRYPTO} PRIVATE ${MBEDTLS_LIB_TLS}) - endif() + REQUIRED + ) + + message(STATUS "Found mbedtls crypto library at ${MBEDTLS_LIB_CRYPTO}") + message(STATUS "Found mbedtls tls library at ${MBEDTLS_LIB_TLS}") + #link to the library + target_link_libraries(${_NC_PROJ_NAME} PRIVATE ${MBEDTLS_LIB_CRYPTO} PRIVATE ${MBEDTLS_LIB_TLS}) + target_link_libraries(${_NC_PROJ_NAME}_static PRIVATE ${MBEDTLS_LIB_CRYPTO} PRIVATE ${MBEDTLS_LIB_TLS}) + #enable mbedtls crypto library bindings list(APPEND NC_PROJ_DEFINTIONS MBEDTLS_CRYPTO_LIB) @@ -234,10 +209,6 @@ elseif(CRYPTO_LIB STREQUAL "openssl") set(OPENSSL_USE_STATIC_LIBS ON) find_package(OpenSSL REQUIRED) - #include openssl headers - target_include_directories(${_NC_PROJ_NAME} SYSTEM PUBLIC vendor/openssl/include) - target_include_directories(${_NC_PROJ_NAME}_static SYSTEM PUBLIC vendor/openssl/include) - #link to openssl message(STATUS "Linking to OpenSSL crypto library") target_link_libraries(${_NC_PROJ_NAME} PRIVATE OpenSSL::Crypto) @@ -344,9 +315,6 @@ if(NC_INCLUDE_MONOCYPHER) target_link_libraries(${_NC_PROJ_NAME} PRIVATE monocypher) target_link_libraries(${_NC_PROJ_NAME}_static PRIVATE monocypher) - - #share mc header with project - target_include_directories(monocypher SYSTEM PUBLIC vendor/monocypher) target_compile_features(monocypher PRIVATE c_std_99) #targets c99 @@ -411,7 +379,6 @@ message(" Crypto library: ........ ${CRYPTO_LIB}") message(" Input validation: ...... ${NC_DISABLE_INPUT_VALIDATION}") message(" Monocypher: ............ ${NC_INCLUDE_MONOCYPHER}") message(" Fetched seckp256k1: .... ${NC_FETCH_SECP256K1}") -message(" Fetched MbedTLS: ....... ${NC_FETCH_MBEDTLS}") message(" Utilities enabled: ..... ${NC_ENABLE_UTILS}") message(" Defintions: ${NC_PROJ_DEFINTIONS}") message(" Compiler flags: ${_NC_COMPILE_OPTS}") diff --git a/Module.Taskfile.yaml b/Module.Taskfile.yaml index 3a73704..4de7c2f 100644 --- a/Module.Taskfile.yaml +++ b/Module.Taskfile.yaml @@ -26,11 +26,8 @@ tasks: desc: 'Builds and runs noscrypt unit tests for vnbuild CI systems' cmds: #run CI tests with utils enabled - - cmd: task test -- -DNC_ENABLE_UTILS=ON - - cmd: wsl task test -- -DNC_ENABLE_UTILS=ON - - cmd: wsl task memcheck - - cmd: task test-mbedtls -- -DNC_ENABLE_UTILS=ON - + - cmd: task ci-test + - cmd: wsl ci-test #called by build pipeline to build module build: diff --git a/Taskfile.yaml b/Taskfile.yaml index be5ea48..98eb1db 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -27,8 +27,11 @@ tasks: build-debug: desc: "Build libraries and test executable in debug mode" + summary: | + Runs the CMake configure and compile steps to build the library + and test executable in debug mode. cmds: - - task: build-internal + - task: cmake-build vars: { CMAKE_TEST_STATUS: 'ON', BUILD_CONFIG: 'Debug' } #available to users and vnbuild runner @@ -36,71 +39,25 @@ tasks: desc: "Builds a local copy of the library in a debug configuration, then runs the test executable" cmds: - task: build-debug - - cmd: cd {{ .CMAKE_BUILD_DIR }} && ctest -C Debug --verbose - - dev: - watch: true - sources: - - include/* - - src/* - - src/*/* - - tests/* - - CMakelists.txt - - vendor/* - cmds: - - task: test-dev - - test-mbedtls: - desc: "Builds and runs tests for noscrypt using the mbedtls crypto library for the current platform" - cmds: - - task: build-internal - vars: - CMAKE_TEST_STATUS: 'ON' - BUILD_CONFIG: 'Debug' - CLI_ARGS: '-DNC_FETCH_MBEDTLS=ON {{ .CLI_ARGS }}' #fetches and enabled medtls - - - cmd: cd {{ .CMAKE_BUILD_DIR }} && ctest -C Debug --verbose - - test-dev: - desc: "Re-runs compilation phase and test execution" - cmds: - - task: compile - vars: { BUILD_CONFIG: 'Debug' } - - cmd: cd {{ .CMAKE_BUILD_DIR }} && ctest -C Debug --verbose --output-on-failure - - task: memcheck - - build-internal: - internal: true - cmds: - - cmd: cmake {{ .CLI_ARGS }} - -S . - -B{{ .CMAKE_BUILD_DIR }} - -DCMAKE_BUILD_TYPE={{ .BUILD_CONFIG }} - -DNC_BUILD_TESTS={{ .CMAKE_TEST_STATUS }} - - - task: compile - vars: { BUILD_CONFIG: '{{ .BUILD_CONFIG }}' } - - - cmd: echo "Build complete. Your files can be found in the {{ .CMAKE_BUILD_DIR }} directory" - silent: true - - compile: - internal: true - cmds: - - cmd: cmake - --build {{ .CMAKE_BUILD_DIR }} - --config {{ .BUILD_CONFIG }} + + - task: cmake-test + vars: { CMAKE_BUILD_DIR: '{{ .CMAKE_BUILD_DIR }}' } install: desc: "Uses cmake to install the library on your system" cmds: - cmd: echo "Installing noscrypt globally" silent: true - - cmd: cmake --install {{ .CMAKE_BUILD_DIR }} {{ .CLI_ARGS }} + - task: cmake-install #Test executable and library must be built for tests to run memcheck: desc: 'Runs Valgrind memcheck in debug mode against the nctest executable (Linux only)' + summary: | + Runs Valgrind memcheck in debug mode against the nctest executable. + This task is only available on Linux platforms with Valgrind and the + Memcheck tool is installed. You must build the test executable in debug + mode before running this task. platforms: - linux preconditions: @@ -116,76 +73,233 @@ tasks: --track-origins=yes {{ .CMAKE_BUILD_DIR }}/{{ .TEST_EXE_NAME }} -#CI ONLY!! - - #called by build pipeline to build module - build: - cmds: - - echo "building project {{ .PROJECT_NAME }}" - - cmd: powershell -Command "mkdir bin/ -Force" - ignore_error: true - - #build windows x64 - - task: build_win_x64 - - #pack source - - task: pack_source - clean: - desc: "Cleans the artifact directory" + desc: "Cleans the build and artifact directories" ignore_error: true cmds: - for: [ bin/, build/ ] task: clean-internal vars: { FILE: '{{ .ITEM }}'} - +################################# +# +# INTERNAL TASKS +# +################################# + clean-internal: internal: true ignore_error: true + requires: { FILE } cmds: - cmd: rm -rf '{{ .FILE }}' platforms: [linux, darwin] - cmd: powershell rm -Recurse -Force '{{ .FILE }}' platforms: [windows] + + #build-internal: + cmake-configue: + internal: true + requires: { CMAKE_BUILD_DIR, BUILD_CONFIG, CMAKE_TEST_STATUS } + cmds: + - cmd: cmake + -S . + -B{{ .CMAKE_BUILD_DIR }} + -DCMAKE_BUILD_TYPE={{ .BUILD_CONFIG }} + -DNC_BUILD_TESTS={{ .CMAKE_TEST_STATUS }} + {{ .CLI_ARGS }} + {{ .CMAKE_CONFIG_ARGS }} + - build_win_x64: + #perfoms CMake compile step + cmake-compile: internal: true - platforms: [ windows ] - vars: - TARGET: '{{ .PROJECT_DIR }}/{{ .BINARY_DIR }}/msvc-x64-{{ .CI_BUILD_CONFIG }}-{{ .PROJECT_NAME }}.tgz' - BUILD_DIR: 'build/win-x64' + requires: { CMAKE_BUILD_DIR, BUILD_CONFIG } + cmds: + - cmd: cmake --build {{ .CMAKE_BUILD_DIR }} --config {{ .BUILD_CONFIG }} + + #runs the configure and compile cmake steps + cmake-build: + internal: true + requires: { CMAKE_BUILD_DIR, BUILD_CONFIG, CMAKE_TEST_STATUS } + cmds: + - task: cmake-configue + vars: + CMAKE_BUILD_DIR: '{{ .CMAKE_BUILD_DIR }}' + BUILD_CONFIG: '{{ .BUILD_CONFIG }}' + CMAKE_TEST_STATUS: '{{ .CMAKE_TEST_STATUS }}' + CMAKE_CONFIG_ARGS: '{{ .CMAKE_CONFIG_ARGS }}' + + - task: cmake-compile + vars: + CMAKE_BUILD_DIR: '{{ .CMAKE_BUILD_DIR }}' + BUILD_CONFIG: '{{ .BUILD_CONFIG }}' - TAR_FILES: " - {{ .PROJECT_NAME }}.dll - {{ .PROJECT_NAME }}.lib - {{ .PROJECT_NAME }}_static.lib - license.txt" - + #runs the cmake install step + cmake-install: + internal: true + requires: { CMAKE_BUILD_DIR } cmds: - #remove deps dir to avoid conflicts with vnbuild - - defer: powershell rm -Recurse -Force "{{ .BUILD_DIR }}/_deps" + - cmd: cmake --install {{ .CMAKE_BUILD_DIR }} {{ .CLI_ARGS }} + + cmake-test: + internal: true + requires: { CMAKE_BUILD_DIR } + cmds: + - cmd: cd {{ .CMAKE_BUILD_DIR }} && ctest -C Debug --verbose --output-on-failure + + mbedtls-download: + internal: true + vars: + MBEDTLS_VERSION: '3.6.2' + MBEDTLS_DOWNLOAD_URL: 'https://github.com/Mbed-TLS/mbedtls/releases/download/mbedtls-{{ .MBEDTLS_VERSION }}/mbedtls-{{ .MBEDTLS_VERSION }}.tar.bz2' + MBEDTLS_DOWNLOAD_DIR: '{{ .CMAKE_BUILD_DIR }}/_deps' + MBEDTLS_SHA256: '' + MBEDTLS_SRC_DIR: '{{ .CMAKE_BUILD_DIR }}/_deps/mbedtls' + cmds: + #remove source dirs if they exist + - cmd: rm -rf '{{ .MBEDTLS_SRC_DIR }}' && mkdir -p '{{ .MBEDTLS_SRC_DIR }}' + platforms: [linux, darwin] + - cmd: powershell rm -Recurse -Force '{{ .MBEDTLS_SRC_DIR }}' && mkdir '{{ .MBEDTLS_SRC_DIR }}' + platforms: [windows] + ignore_error: true + + #download mbedtls archive + - cmd: curl{{ exeExt }} -L '{{ .MBEDTLS_DOWNLOAD_URL }}' -o '{{ .MBEDTLS_DOWNLOAD_DIR }}/mbedtls.tar.bz2' + + #extract the archive using bz2 (linux only) + - cmd: '{{ if eq OS "windows" }}wsl{{ end }} tar -xjf "{{ .MBEDTLS_DOWNLOAD_DIR }}/mbedtls.tar.bz2" -C "{{ .MBEDTLS_DOWNLOAD_DIR }}"' + + #rename the extracted directory + - cmd: 'mv -T "{{ .MBEDTLS_DOWNLOAD_DIR }}/mbedtls-{{ .MBEDTLS_VERSION }}/" "{{ .MBEDTLS_SRC_DIR }}/"' + platforms: [linux, darwin] + - cmd: powershell Rename-Item -Force -Path "{{ .MBEDTLS_DOWNLOAD_DIR }}/mbedtls-{{ .MBEDTLS_VERSION }}/" -NewName "mbedtls" + platforms: [windows] + + mbedtls-configure: + internal: true + requires: { CMAKE_BUILD_DIR } + vars: + MBEDTLS_SRC_DIR: '{{ .CMAKE_BUILD_DIR }}/_deps/mbedtls' + MBEDTLS_BUILD_DIR: '{{ .CMAKE_BUILD_DIR }}/_deps/mbedtls-build' + MBEDTLS_CONFIG_FILE: '{{ .USER_WORKING_DIR }}/vendor/mbedtls/mbedtls_noscrypt_config.h' + cmds: + #clear build dir before re-configuring + - cmd: '{{ if eq OS "windows"}}powershell{{ end }} rm -r {{ .MBEDTLS_BUILD_DIR }}' + ignore_error: true - #invoke cmake build - cmd: cmake - -S . - -B {{ .BUILD_DIR }} - -G "Visual Studio 17 2022" - -A x64 - -DCMAKE_BUILD_TYPE={{ .CI_BUILD_CONFIG }} - -DNC_BUILD_TESTS=OFF - - - cmake --build {{ .BUILD_DIR }} --config {{ .CI_BUILD_CONFIG }} + -S '{{ .MBEDTLS_SRC_DIR }}' + -B '{{ .MBEDTLS_BUILD_DIR }}' + -DCMAKE_BUILD_TYPE=Release + -DENABLE_PROGRAMS=OFF + -DENABLE_TESTING=OFF + -DBUILD_SHARED_LIBS=OFF + -DUSE_SHARED_MBEDTLS_LIBRARY=OFF + -DUSE_STATIC_MBEDTLS_LIBRARY=ON + -DDISABLE_PACKAGE_CONFIG_AND_INSTALL=ON + -DMBEDTLS_CONFIG_FILE='{{ .MBEDTLS_CONFIG_FILE }}' + + mbedtls-compile: + internal: true + requires: { CMAKE_BUILD_DIR } + vars: + MBEDTLS_BUILD_DIR: '{{ .CMAKE_BUILD_DIR }}/_deps/mbedtls-build' + cmds: + - cmd: cmake --build '{{ .MBEDTLS_BUILD_DIR }}' --config Release - #copy license to build dir - - cmd: powershell cp license '{{ .BUILD_DIR }}/Release/license.txt' + mbedtls-build: + internal: true + desc: "Downloads, configures, and compiles mbedtls" + requires: { CMAKE_BUILD_DIR } + cmds: + - task: mbedtls-download + vars: { CMAKE_BUILD_DIR: '{{ .CMAKE_BUILD_DIR }}' } + - task: mbedtls-configure + vars: { CMAKE_BUILD_DIR: '{{ .CMAKE_BUILD_DIR }}' } + - task: mbedtls-compile + vars: { CMAKE_BUILD_DIR: '{{ .CMAKE_BUILD_DIR }}' } - #tar up the binaries - - cmd: cd {{ .BUILD_DIR }}/Release && tar -czf "{{ .TARGET }}" {{ .TAR_FILES }} +################################# +# +# CI TASKS +# +################################# + + # runs the cmake setups to configure the mbedtls library build for testing + ci-configure-mbedtls: + internal: false + requires: { CMAKE_BUILD_DIR } + cmds: + - task: mbedtls-build + vars: { CMAKE_BUILD_DIR: '{{ .CMAKE_BUILD_DIR }}' } + + - task: cmake-build + vars: + CMAKE_TEST_STATUS: 'ON' + BUILD_CONFIG: 'Debug' + CMAKE_BUILD_DIR: '{{ .CMAKE_BUILD_DIR }}' + CMAKE_CONFIG_ARGS: ' + -DNC_ENABLE_UTILS=ON + -DCRYPTO_LIB=mbedtls + -DCRYPTO_LIB_DIR={{ .CMAKE_BUILD_DIR }}/_deps/mbedtls-build' + + # runs the cmake setups to configure the default library build for testing + ci-configure-default: + internal: true + requires: { CMAKE_BUILD_DIR } + cmds: + - task: cmake-build + vars: + CMAKE_TEST_STATUS: 'ON' + BUILD_CONFIG: 'Debug' + CMAKE_BUILD_DIR: '{{ .CMAKE_BUILD_DIR }}' + CMAKE_CONFIG_ARGS: '-DNC_ENABLE_UTILS=ON' + # runs cmake testing and memcheck on the mbedtls build + ci-test-mbedtls: + internal: false + requires: { CMAKE_BUILD_DIR } + cmds: + - task: cmake-test + vars: { CMAKE_BUILD_DIR: '{{ .CMAKE_BUILD_DIR }}' } + + #runs memcheck if the platform supports it + - task: memcheck + vars: { CMAKE_BUILD_DIR: '{{ .CMAKE_BUILD_DIR }}' } - pack_source: + # runs cmake testing and memcheck on the default build + ci-test-default: + internal: true + requires: { CMAKE_BUILD_DIR } + cmds: + - task: cmake-test + vars: { CMAKE_BUILD_DIR: '{{ .CMAKE_BUILD_DIR }}' } + + #runs memcheck if the platform supports it + - task: memcheck + vars: { CMAKE_BUILD_DIR: '{{ .CMAKE_BUILD_DIR }}' } + + # called by Module.taskfile to run tests + ci-test: + vars: + CMAKE_CONFIG_ARGS: '-DNC_ENABLE_UTILS' + MBEDTLS_BUILD_DIR: '{{ .CMAKE_BUILD_DIR }}/mbedtls' + DEFAULT_BUILD_DIR: '{{ .CMAKE_BUILD_DIR }}/default' + deps: + - task: ci-configure-default + vars: { CMAKE_BUILD_DIR: '{{ .DEFAULT_BUILD_DIR }}' } + - task: ci-configure-mbedtls + vars: { CMAKE_BUILD_DIR: '{{ .MBEDTLS_BUILD_DIR }}' } + cmds: + - task: ci-test-default + vars: { CMAKE_BUILD_DIR: '{{ .DEFAULT_BUILD_DIR }}'}# + + - task: ci-test-mbedtls + vars: { CMAKE_BUILD_DIR: '{{ .MBEDTLS_BUILD_DIR }}'} + + ci-pack-source: internal: true desc: "Packs up the project source code and creates a tarball in the builds binary directory" vars: @@ -203,27 +317,104 @@ tasks: cmds: #tar up the source - - tar -czf "{{ .TARGET_SOURCE }}" {{ .SOURCE_FILES | join " " }} - + - cmd: tar -czf "{{ .TARGET_SOURCE }}" {{ .SOURCE_FILES | join " " }} + + ci-build-win_x64: + internal: true + platforms: [ windows ] + vars: + TARGET: '{{ .PROJECT_DIR }}/{{ .BINARY_DIR }}/msvc-x64-{{ .CI_BUILD_CONFIG }}-{{ .PROJECT_NAME }}.tgz' + BUILD_DIR: 'build/win-x64' + + TAR_FILES: " + {{ .PROJECT_NAME }}.dll + {{ .PROJECT_NAME }}.lib + {{ .PROJECT_NAME }}_static.lib + license.txt" + + cmds: + #remove deps dir to avoid conflicts with vnbuild + - defer: powershell rm -Recurse -Force "{{ .BUILD_DIR }}/_deps" + + #run configure and compile commands + - task: cmake-build + vars: + CMAKE_BUILD_DIR: '{{ .BUILD_DIR }}' + BUILD_CONFIG: '{{ .CI_BUILD_CONFIG }}' + CMAKE_TEST_STATUS: 'OFF' + CMAKE_CONFIG_ARGS: '-G "Visual Studio 17 2022" -A x64 -NC_ENABLE_UTILS' + + #copy license to build dir + - cmd: powershell cp license '{{ .BUILD_DIR }}/{{ .CI_BUILD_CONFIG }}/license.txt' + + #tar up the binaries + - cmd: cd {{ .BUILD_DIR }}/{{ .CI_BUILD_CONFIG }} && tar -czf "{{ .TARGET }}" {{ .TAR_FILES }} + + #called by build pipeline to build module + build: + cmds: + - cmd: echo "building project {{ .PROJECT_NAME }}" + - cmd: powershell "mkdir bin/ -Force" + ignore_error: true + + #build windows x64 + - task: ci-build-win_x64 + + #pack source + - task: ci-pack-source + ################################# # # DEV TASKS # ################################# + dev-test: + desc: "Re-runs compilation phase and test executable" + cmds: + - task: cmake-compile + vars: { BUILD_CONFIG: 'Debug' } + + - task: cmake-test + vars: { CMAKE_BUILD_DIR: '{{ .CMAKE_BUILD_DIR }}' } + + - task: memcheck + + dev: + desc: "Runs local development tests and watches for changes" + summary: | + Watches for changes to source and config files, recompiles, and runs tests + automatically when changes are detected. + watch: true + sources: + - include/* + - src/* + - src/*/* + - tests/* + - CMakelists.txt + - vendor/* + cmds: + - task: dev-test + dev-gdb-test: platforms: [ linux ] desc: "Starts a new gdb session on the test executable" + summary: | + (Linux only) Starts a new gdb session on the test executable. + Use the 'run' command to start the test executable. interactive: true cmds: - - task: compile + - task: cmake-compile vars: { BUILD_CONFIG: 'Debug' } + - cmd: gdb '{{ .CMAKE_BUILD_DIR }}/{{ .TEST_EXE_NAME }}' dev-update-deps: - desc: "Updates vendored projects files (headers mostly) from their source repositories to the latest version" + desc: "Updates vendored projects files (headers mostly) from their source repositories to the configured version" cmds: - defer: powershell rm -Recurse '.update/' -Force + + #must run serially since git does not support mutliple instances - task: dev-update-monocypher - task: dev-update-mbedtls-headers - task: dev-update-openssl-headers @@ -257,7 +448,7 @@ tasks: - git clone --branch {{ .MBEDTLS_GIT_BRANCH }} {{ .MBEDTLS_GIT_URL }} '{{ .TMP_DIR }}' - for: [ 'include/mbedtls' ] - cmd: powershell cp -Recurse -Force '{{ .TMP_DIR }}/{{ .ITEM }}' '{{ .MBEDTLS_DIR }}/include' + cmd: powershell cp -Recurse -Force '{{ .TMP_DIR }}/{{ .ITEM }}' '{{ .MBEDTLS_DIR }}' dev-update-openssl-headers: vars: @@ -272,7 +463,7 @@ tasks: - git clone --branch {{ .OPENSSL_GIT_BRANCH }} {{ .OPENSSL_GIT_URL }} '{{ .TMP_DIR }}' - for: [ 'include/openssl' ] - cmd: powershell cp -Recurse -Force '{{ .TMP_DIR }}/{{ .ITEM }}' '{{ .OPENSSL_DIR }}/include/' + cmd: powershell cp -Recurse -Force '{{ .TMP_DIR }}/{{ .ITEM }}' '{{ .OPENSSL_DIR }}' dev-set-secp256-headers: vars: @@ -287,4 +478,4 @@ tasks: - git clone --branch {{ .SECP256_GIT_BRANCH }} {{ .SECP256_GIT_URL }} '{{ .TMP_DIR }}' - for: [ 'include/*' ] - cmd: powershell cp -Recurse -Force '{{ .TMP_DIR }}/{{ .ITEM }}' '{{ .SECP256_DIR }}/include/secp256k1/'
\ No newline at end of file + cmd: powershell cp -Recurse -Force '{{ .TMP_DIR }}/{{ .ITEM }}' '{{ .SECP256_DIR }}'
\ No newline at end of file diff --git a/src/noscrypt.c b/src/noscrypt.c index 1e19337..9fd6c9b 100644 --- a/src/noscrypt.c +++ b/src/noscrypt.c @@ -51,7 +51,7 @@ /* * Actual, private defintion of the NCContext structure -* to allow for future development and ABI backords +* to allow for future development and ABI backwards * compatability. */ struct nc_ctx_struct { diff --git a/src/providers/mbedtls.c b/src/providers/mbedtls.c index ead3279..cd9a2dc 100644 --- a/src/providers/mbedtls.c +++ b/src/providers/mbedtls.c @@ -31,20 +31,20 @@ /* Inline errors on linux in header files on linux */ #ifndef inline #define inline __inline - #include <mbedtls/md.h> - #include <mbedtls/hkdf.h> - #include <mbedtls/hmac_drbg.h> - #include <mbedtls/sha256.h> - #include <mbedtls/chacha20.h> - #include <mbedtls/constant_time.h> + #include <mbedtls/mbedtls/md.h> + #include <mbedtls/mbedtls/hkdf.h> + #include <mbedtls/mbedtls/hmac_drbg.h> + #include <mbedtls/mbedtls/sha256.h> + #include <mbedtls/mbedtls/chacha20.h> + #include <mbedtls/mbedtls/constant_time.h> #undef inline #else - #include <mbedtls/md.h> - #include <mbedtls/hkdf.h> - #include <mbedtls/hmac_drbg.h> - #include <mbedtls/sha256.h> - #include <mbedtls/chacha20.h> - #include <mbedtls/constant_time.h> + #include <mbedtls/mbedtls/md.h> + #include <mbedtls/mbedtls/hkdf.h> + #include <mbedtls/mbedtls/hmac_drbg.h> + #include <mbedtls/mbedtls/sha256.h> + #include <mbedtls/mbedtls/chacha20.h> + #include <mbedtls/mbedtls/constant_time.h> #endif _IMPLSTB const mbedtls_md_info_t* _mbed_sha256_alg(void) @@ -57,7 +57,7 @@ _IMPLSTB const mbedtls_md_info_t* _mbed_sha256_alg(void) } #if SIZE_MAX < UINT64_MAX - #define _ssize_guard_int(x) if(x > SIZE_MAX) return 1; + #define _ssize_guard_int(x) if(x > SIZE_MAX) return CSTATUS_FAIL; #else #define _ssize_guard_int(x) #endif @@ -100,8 +100,8 @@ _IMPLSTB const mbedtls_md_info_t* _mbed_sha256_alg(void) _overflow_check(data.size) return mbedtls_sha256( - data.data, - data.size, + ncSpanGetOffsetC(data, 0), + ncSpanGetSizeC(data), digestOut32, 0 /* Set 0 for sha256 mode */ ) == 0 ? CSTATUS_OK : CSTATUS_FAIL; @@ -118,15 +118,13 @@ _IMPLSTB const mbedtls_md_info_t* _mbed_sha256_alg(void) { _overflow_check(data.size) - /* Keys should never be large enough for this to matter, but sanity check. */ - DEBUG_ASSERT2(key.size < SIZE_MAX, "Expected key size to be less than SIZE_MAX") return mbedtls_md_hmac( _mbed_sha256_alg(), - key.data, - key.size, - data.data, - data.size, + ncSpanGetOffsetC(key, 0), + ncSpanGetSizeC(key), + ncSpanGetOffsetC(data, 0), + ncSpanGetSizeC(data), hmacOut32 ) == 0 ? CSTATUS_OK : CSTATUS_FAIL; } @@ -146,12 +144,12 @@ _IMPLSTB const mbedtls_md_info_t* _mbed_sha256_alg(void) return mbedtls_hkdf_expand( _mbed_sha256_alg(), - prk.data, - prk.size, - info.data, - info.size, - okm.data, - okm.size + ncSpanGetOffsetC(prk, 0), + ncSpanGetSizeC(prk), + ncSpanGetOffsetC(info, 0), + ncSpanGetSizeC(info), + ncSpanGetOffset(okm, 0), + ncSpanGetSize(okm) ) == 0 ? CSTATUS_OK : CSTATUS_FAIL; } diff --git a/src/providers/monocypher.c b/src/providers/monocypher.c index c35f63e..0344872 100644 --- a/src/providers/monocypher.c +++ b/src/providers/monocypher.c @@ -29,7 +29,7 @@ #ifdef NC_ENABLE_MONOCYPHER -#include <monocypher.h> +#include <monocypher/monocypher.h> /* Export secure memse0 */ #ifndef _IMPL_SECURE_ZERO_MEMSET diff --git a/vendor/mbedtls/include/mbedtls/aes.h b/vendor/mbedtls/mbedtls/aes.h index d5eb1fd..d5eb1fd 100644 --- a/vendor/mbedtls/include/mbedtls/aes.h +++ b/vendor/mbedtls/mbedtls/aes.h diff --git a/vendor/mbedtls/include/mbedtls/aria.h b/vendor/mbedtls/mbedtls/aria.h index c685fc3..c685fc3 100644 --- a/vendor/mbedtls/include/mbedtls/aria.h +++ b/vendor/mbedtls/mbedtls/aria.h diff --git a/vendor/mbedtls/include/mbedtls/asn1.h b/vendor/mbedtls/mbedtls/asn1.h index ff019f4..ff019f4 100644 --- a/vendor/mbedtls/include/mbedtls/asn1.h +++ b/vendor/mbedtls/mbedtls/asn1.h diff --git a/vendor/mbedtls/include/mbedtls/asn1write.h b/vendor/mbedtls/mbedtls/asn1write.h index 0c5a85a..0c5a85a 100644 --- a/vendor/mbedtls/include/mbedtls/asn1write.h +++ b/vendor/mbedtls/mbedtls/asn1write.h diff --git a/vendor/mbedtls/include/mbedtls/base64.h b/vendor/mbedtls/mbedtls/base64.h index 8f459b7..8f459b7 100644 --- a/vendor/mbedtls/include/mbedtls/base64.h +++ b/vendor/mbedtls/mbedtls/base64.h diff --git a/vendor/mbedtls/include/mbedtls/bignum.h b/vendor/mbedtls/mbedtls/bignum.h index 8367cd3..8367cd3 100644 --- a/vendor/mbedtls/include/mbedtls/bignum.h +++ b/vendor/mbedtls/mbedtls/bignum.h diff --git a/vendor/mbedtls/include/mbedtls/block_cipher.h b/vendor/mbedtls/mbedtls/block_cipher.h index 3f60f6f..3f60f6f 100644 --- a/vendor/mbedtls/include/mbedtls/block_cipher.h +++ b/vendor/mbedtls/mbedtls/block_cipher.h diff --git a/vendor/mbedtls/include/mbedtls/build_info.h b/vendor/mbedtls/mbedtls/build_info.h index d91d296..d91d296 100644 --- a/vendor/mbedtls/include/mbedtls/build_info.h +++ b/vendor/mbedtls/mbedtls/build_info.h diff --git a/vendor/mbedtls/include/mbedtls/camellia.h b/vendor/mbedtls/mbedtls/camellia.h index 557f472..557f472 100644 --- a/vendor/mbedtls/include/mbedtls/camellia.h +++ b/vendor/mbedtls/mbedtls/camellia.h diff --git a/vendor/mbedtls/include/mbedtls/ccm.h b/vendor/mbedtls/mbedtls/ccm.h index 1da57c9..1da57c9 100644 --- a/vendor/mbedtls/include/mbedtls/ccm.h +++ b/vendor/mbedtls/mbedtls/ccm.h diff --git a/vendor/mbedtls/include/mbedtls/chacha20.h b/vendor/mbedtls/mbedtls/chacha20.h index 680fe36..680fe36 100644 --- a/vendor/mbedtls/include/mbedtls/chacha20.h +++ b/vendor/mbedtls/mbedtls/chacha20.h diff --git a/vendor/mbedtls/include/mbedtls/chachapoly.h b/vendor/mbedtls/mbedtls/chachapoly.h index 3dc21e3..3dc21e3 100644 --- a/vendor/mbedtls/include/mbedtls/chachapoly.h +++ b/vendor/mbedtls/mbedtls/chachapoly.h diff --git a/vendor/mbedtls/include/mbedtls/check_config.h b/vendor/mbedtls/mbedtls/check_config.h index 67a05f8..53ef135 100644 --- a/vendor/mbedtls/include/mbedtls/check_config.h +++ b/vendor/mbedtls/mbedtls/check_config.h @@ -241,13 +241,13 @@ #if defined(__has_feature) #if __has_feature(memory_sanitizer) -#define MBEDTLS_HAS_MEMSAN // #undef at the end of this paragraph +#define MBEDTLS_HAS_MEMSAN /* #undef at the end of this paragraph */ #endif #endif #if defined(MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN) && !defined(MBEDTLS_HAS_MEMSAN) #error "MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN requires building with MemorySanitizer" #endif -#undef MBEDTLS_HAS_MEMSAN // temporary macro defined above +#undef MBEDTLS_HAS_MEMSAN /* temporary macro defined above */ #if defined(MBEDTLS_CCM_C) && \ !(defined(MBEDTLS_CCM_GCM_CAN_AES) || defined(MBEDTLS_CCM_GCM_CAN_ARIA) || \ @@ -988,18 +988,18 @@ #if !defined(MBEDTLS_THREADING_C) || defined(MBEDTLS_THREADING_IMPL) #error "MBEDTLS_THREADING_PTHREAD defined, but not all prerequisites" #endif -#define MBEDTLS_THREADING_IMPL // undef at the end of this paragraph +#define MBEDTLS_THREADING_IMPL /* undef at the end of this paragraph */ #endif #if defined(MBEDTLS_THREADING_ALT) #if !defined(MBEDTLS_THREADING_C) || defined(MBEDTLS_THREADING_IMPL) #error "MBEDTLS_THREADING_ALT defined, but not all prerequisites" #endif -#define MBEDTLS_THREADING_IMPL // undef at the end of this paragraph +#define MBEDTLS_THREADING_IMPL /* undef at the end of this paragraph */ #endif #if defined(MBEDTLS_THREADING_C) && !defined(MBEDTLS_THREADING_IMPL) #error "MBEDTLS_THREADING_C defined, single threading implementation required" #endif -#undef MBEDTLS_THREADING_IMPL // temporary macro defined above +#undef MBEDTLS_THREADING_IMPL /* temporary macro defined above */ #if defined(MBEDTLS_USE_PSA_CRYPTO) && !defined(MBEDTLS_PSA_CRYPTO_CLIENT) #error "MBEDTLS_USE_PSA_CRYPTO defined, but not all prerequisites" @@ -1078,47 +1078,47 @@ /* Reject attempts to enable options that have been removed and that could * cause a build to succeed but with features removed. */ -#if defined(MBEDTLS_HAVEGE_C) //no-check-names +#if defined(MBEDTLS_HAVEGE_C) /* no-check-names */ #error "MBEDTLS_HAVEGE_C was removed in Mbed TLS 3.0. See https://github.com/Mbed-TLS/mbedtls/issues/2599" #endif -#if defined(MBEDTLS_SSL_HW_RECORD_ACCEL) //no-check-names +#if defined(MBEDTLS_SSL_HW_RECORD_ACCEL) /* no-check-names */ #error "MBEDTLS_SSL_HW_RECORD_ACCEL was removed in Mbed TLS 3.0. See https://github.com/Mbed-TLS/mbedtls/issues/4031" #endif -#if defined(MBEDTLS_SSL_PROTO_SSL3) //no-check-names +#if defined(MBEDTLS_SSL_PROTO_SSL3) /* no-check-names */ #error "MBEDTLS_SSL_PROTO_SSL3 (SSL v3.0 support) was removed in Mbed TLS 3.0. See https://github.com/Mbed-TLS/mbedtls/issues/4031" #endif -#if defined(MBEDTLS_SSL_SRV_SUPPORT_SSLV2_CLIENT_HELLO) //no-check-names +#if defined(MBEDTLS_SSL_SRV_SUPPORT_SSLV2_CLIENT_HELLO) /* no-check-names */ #error "MBEDTLS_SSL_SRV_SUPPORT_SSLV2_CLIENT_HELLO (SSL v2 ClientHello support) was removed in Mbed TLS 3.0. See https://github.com/Mbed-TLS/mbedtls/issues/4031" #endif -#if defined(MBEDTLS_SSL_TRUNCATED_HMAC_COMPAT) //no-check-names +#if defined(MBEDTLS_SSL_TRUNCATED_HMAC_COMPAT) /* no-check-names */ #error "MBEDTLS_SSL_TRUNCATED_HMAC_COMPAT (compatibility with the buggy implementation of truncated HMAC in Mbed TLS up to 2.7) was removed in Mbed TLS 3.0. See https://github.com/Mbed-TLS/mbedtls/issues/4031" #endif -#if defined(MBEDTLS_TLS_DEFAULT_ALLOW_SHA1_IN_CERTIFICATES) //no-check-names +#if defined(MBEDTLS_TLS_DEFAULT_ALLOW_SHA1_IN_CERTIFICATES) /*no-check-names */ #error "MBEDTLS_TLS_DEFAULT_ALLOW_SHA1_IN_CERTIFICATES was removed in Mbed TLS 3.0. See the ChangeLog entry if you really need SHA-1-signed certificates." #endif -#if defined(MBEDTLS_ZLIB_SUPPORT) //no-check-names +#if defined(MBEDTLS_ZLIB_SUPPORT) /* no-check-names */ #error "MBEDTLS_ZLIB_SUPPORT was removed in Mbed TLS 3.0. See https://github.com/Mbed-TLS/mbedtls/issues/4031" #endif -#if defined(MBEDTLS_CHECK_PARAMS) //no-check-names +#if defined(MBEDTLS_CHECK_PARAMS) /* no-check-names */ #error "MBEDTLS_CHECK_PARAMS was removed in Mbed TLS 3.0. See https://github.com/Mbed-TLS/mbedtls/issues/4313" #endif -#if defined(MBEDTLS_SSL_CID_PADDING_GRANULARITY) //no-check-names +#if defined(MBEDTLS_SSL_CID_PADDING_GRANULARITY) /*no-check-names*/ #error "MBEDTLS_SSL_CID_PADDING_GRANULARITY was removed in Mbed TLS 3.0. See https://github.com/Mbed-TLS/mbedtls/issues/4335" #endif -#if defined(MBEDTLS_SSL_TLS1_3_PADDING_GRANULARITY) //no-check-names +#if defined(MBEDTLS_SSL_TLS1_3_PADDING_GRANULARITY) /*no-check-names*/ #error "MBEDTLS_SSL_TLS1_3_PADDING_GRANULARITY was removed in Mbed TLS 3.0. See https://github.com/Mbed-TLS/mbedtls/issues/4335" #endif -#if defined(MBEDTLS_SSL_TRUNCATED_HMAC) //no-check-names +#if defined(MBEDTLS_SSL_TRUNCATED_HMAC) /*no-check-names*/ #error "MBEDTLS_SSL_TRUNCATED_HMAC was removed in Mbed TLS 3.0. See https://github.com/Mbed-TLS/mbedtls/issues/4341" #endif diff --git a/vendor/mbedtls/include/mbedtls/cipher.h b/vendor/mbedtls/mbedtls/cipher.h index 1dc31c9..1dc31c9 100644 --- a/vendor/mbedtls/include/mbedtls/cipher.h +++ b/vendor/mbedtls/mbedtls/cipher.h diff --git a/vendor/mbedtls/include/mbedtls/cmac.h b/vendor/mbedtls/mbedtls/cmac.h index 97b86fc..97b86fc 100644 --- a/vendor/mbedtls/include/mbedtls/cmac.h +++ b/vendor/mbedtls/mbedtls/cmac.h diff --git a/vendor/mbedtls/include/mbedtls/compat-2.x.h b/vendor/mbedtls/mbedtls/compat-2.x.h index 096341b..096341b 100644 --- a/vendor/mbedtls/include/mbedtls/compat-2.x.h +++ b/vendor/mbedtls/mbedtls/compat-2.x.h diff --git a/vendor/mbedtls/include/mbedtls/config_adjust_legacy_crypto.h b/vendor/mbedtls/mbedtls/config_adjust_legacy_crypto.h index 3ba987e..3ba987e 100644 --- a/vendor/mbedtls/include/mbedtls/config_adjust_legacy_crypto.h +++ b/vendor/mbedtls/mbedtls/config_adjust_legacy_crypto.h diff --git a/vendor/mbedtls/include/mbedtls/config_adjust_legacy_from_psa.h b/vendor/mbedtls/mbedtls/config_adjust_legacy_from_psa.h index 04bdae6..04bdae6 100644 --- a/vendor/mbedtls/include/mbedtls/config_adjust_legacy_from_psa.h +++ b/vendor/mbedtls/mbedtls/config_adjust_legacy_from_psa.h diff --git a/vendor/mbedtls/include/mbedtls/config_adjust_psa_from_legacy.h b/vendor/mbedtls/mbedtls/config_adjust_psa_from_legacy.h index 14ca146..14ca146 100644 --- a/vendor/mbedtls/include/mbedtls/config_adjust_psa_from_legacy.h +++ b/vendor/mbedtls/mbedtls/config_adjust_psa_from_legacy.h diff --git a/vendor/mbedtls/include/mbedtls/config_adjust_psa_superset_legacy.h b/vendor/mbedtls/mbedtls/config_adjust_psa_superset_legacy.h index ef65cce..ef65cce 100644 --- a/vendor/mbedtls/include/mbedtls/config_adjust_psa_superset_legacy.h +++ b/vendor/mbedtls/mbedtls/config_adjust_psa_superset_legacy.h diff --git a/vendor/mbedtls/include/mbedtls/config_adjust_ssl.h b/vendor/mbedtls/mbedtls/config_adjust_ssl.h index 1f82d9c..1f82d9c 100644 --- a/vendor/mbedtls/include/mbedtls/config_adjust_ssl.h +++ b/vendor/mbedtls/mbedtls/config_adjust_ssl.h diff --git a/vendor/mbedtls/include/mbedtls/config_adjust_x509.h b/vendor/mbedtls/mbedtls/config_adjust_x509.h index cfb2d88..cfb2d88 100644 --- a/vendor/mbedtls/include/mbedtls/config_adjust_x509.h +++ b/vendor/mbedtls/mbedtls/config_adjust_x509.h diff --git a/vendor/mbedtls/include/mbedtls/config_psa.h b/vendor/mbedtls/mbedtls/config_psa.h index 5f3d0f3..5f3d0f3 100644 --- a/vendor/mbedtls/include/mbedtls/config_psa.h +++ b/vendor/mbedtls/mbedtls/config_psa.h diff --git a/vendor/mbedtls/include/mbedtls/constant_time.h b/vendor/mbedtls/mbedtls/constant_time.h index d31bff6..d31bff6 100644 --- a/vendor/mbedtls/include/mbedtls/constant_time.h +++ b/vendor/mbedtls/mbedtls/constant_time.h diff --git a/vendor/mbedtls/include/mbedtls/ctr_drbg.h b/vendor/mbedtls/mbedtls/ctr_drbg.h index 0b7cce1..0b7cce1 100644 --- a/vendor/mbedtls/include/mbedtls/ctr_drbg.h +++ b/vendor/mbedtls/mbedtls/ctr_drbg.h diff --git a/vendor/mbedtls/include/mbedtls/debug.h b/vendor/mbedtls/mbedtls/debug.h index 424ed4b..424ed4b 100644 --- a/vendor/mbedtls/include/mbedtls/debug.h +++ b/vendor/mbedtls/mbedtls/debug.h diff --git a/vendor/mbedtls/include/mbedtls/des.h b/vendor/mbedtls/mbedtls/des.h index 2b097a1..2b097a1 100644 --- a/vendor/mbedtls/include/mbedtls/des.h +++ b/vendor/mbedtls/mbedtls/des.h diff --git a/vendor/mbedtls/include/mbedtls/dhm.h b/vendor/mbedtls/mbedtls/dhm.h index fcba3d2..fcba3d2 100644 --- a/vendor/mbedtls/include/mbedtls/dhm.h +++ b/vendor/mbedtls/mbedtls/dhm.h diff --git a/vendor/mbedtls/include/mbedtls/ecdh.h b/vendor/mbedtls/mbedtls/ecdh.h index a6a5069..a6a5069 100644 --- a/vendor/mbedtls/include/mbedtls/ecdh.h +++ b/vendor/mbedtls/mbedtls/ecdh.h diff --git a/vendor/mbedtls/include/mbedtls/ecdsa.h b/vendor/mbedtls/mbedtls/ecdsa.h index 2ecf349..2ecf349 100644 --- a/vendor/mbedtls/include/mbedtls/ecdsa.h +++ b/vendor/mbedtls/mbedtls/ecdsa.h diff --git a/vendor/mbedtls/include/mbedtls/ecjpake.h b/vendor/mbedtls/mbedtls/ecjpake.h index c2148a2..c2148a2 100644 --- a/vendor/mbedtls/include/mbedtls/ecjpake.h +++ b/vendor/mbedtls/mbedtls/ecjpake.h diff --git a/vendor/mbedtls/include/mbedtls/ecp.h b/vendor/mbedtls/mbedtls/ecp.h index 623910b..623910b 100644 --- a/vendor/mbedtls/include/mbedtls/ecp.h +++ b/vendor/mbedtls/mbedtls/ecp.h diff --git a/vendor/mbedtls/include/mbedtls/entropy.h b/vendor/mbedtls/mbedtls/entropy.h index 20fd687..20fd687 100644 --- a/vendor/mbedtls/include/mbedtls/entropy.h +++ b/vendor/mbedtls/mbedtls/entropy.h diff --git a/vendor/mbedtls/include/mbedtls/error.h b/vendor/mbedtls/mbedtls/error.h index 186589a..186589a 100644 --- a/vendor/mbedtls/include/mbedtls/error.h +++ b/vendor/mbedtls/mbedtls/error.h diff --git a/vendor/mbedtls/include/mbedtls/gcm.h b/vendor/mbedtls/mbedtls/gcm.h index 98faa43..98faa43 100644 --- a/vendor/mbedtls/include/mbedtls/gcm.h +++ b/vendor/mbedtls/mbedtls/gcm.h diff --git a/vendor/mbedtls/include/mbedtls/hkdf.h b/vendor/mbedtls/mbedtls/hkdf.h index 930e93f..930e93f 100644 --- a/vendor/mbedtls/include/mbedtls/hkdf.h +++ b/vendor/mbedtls/mbedtls/hkdf.h diff --git a/vendor/mbedtls/include/mbedtls/hmac_drbg.h b/vendor/mbedtls/mbedtls/hmac_drbg.h index 18b1b75..18b1b75 100644 --- a/vendor/mbedtls/include/mbedtls/hmac_drbg.h +++ b/vendor/mbedtls/mbedtls/hmac_drbg.h diff --git a/vendor/mbedtls/include/mbedtls/lms.h b/vendor/mbedtls/mbedtls/lms.h index 95fce21..95fce21 100644 --- a/vendor/mbedtls/include/mbedtls/lms.h +++ b/vendor/mbedtls/mbedtls/lms.h diff --git a/vendor/mbedtls/include/mbedtls/mbedtls_config.h b/vendor/mbedtls/mbedtls/mbedtls_config.h index bd3f71d..bd3f71d 100644 --- a/vendor/mbedtls/include/mbedtls/mbedtls_config.h +++ b/vendor/mbedtls/mbedtls/mbedtls_config.h diff --git a/vendor/mbedtls/include/mbedtls/md.h b/vendor/mbedtls/mbedtls/md.h index 478e9f7..1428d83 100644 --- a/vendor/mbedtls/include/mbedtls/md.h +++ b/vendor/mbedtls/mbedtls/md.h @@ -56,7 +56,7 @@ typedef enum { MBEDTLS_MD_SHA3_224=0x10, /**< The SHA3-224 message digest. */ MBEDTLS_MD_SHA3_256=0x11, /**< The SHA3-256 message digest. */ MBEDTLS_MD_SHA3_384=0x12, /**< The SHA3-384 message digest. */ - MBEDTLS_MD_SHA3_512=0x13, /**< The SHA3-512 message digest. */ + MBEDTLS_MD_SHA3_512=0x13 /**< The SHA3-512 message digest. */ } mbedtls_md_type_t; /* Note: this should always be >= PSA_HASH_MAX_SIZE diff --git a/vendor/mbedtls/include/mbedtls/md5.h b/vendor/mbedtls/mbedtls/md5.h index 6bf0754..6bf0754 100644 --- a/vendor/mbedtls/include/mbedtls/md5.h +++ b/vendor/mbedtls/mbedtls/md5.h diff --git a/vendor/mbedtls/include/mbedtls/memory_buffer_alloc.h b/vendor/mbedtls/mbedtls/memory_buffer_alloc.h index b527d9b..b527d9b 100644 --- a/vendor/mbedtls/include/mbedtls/memory_buffer_alloc.h +++ b/vendor/mbedtls/mbedtls/memory_buffer_alloc.h diff --git a/vendor/mbedtls/include/mbedtls/net_sockets.h b/vendor/mbedtls/mbedtls/net_sockets.h index 85c1197..85c1197 100644 --- a/vendor/mbedtls/include/mbedtls/net_sockets.h +++ b/vendor/mbedtls/mbedtls/net_sockets.h diff --git a/vendor/mbedtls/include/mbedtls/nist_kw.h b/vendor/mbedtls/mbedtls/nist_kw.h index d353f3d..d353f3d 100644 --- a/vendor/mbedtls/include/mbedtls/nist_kw.h +++ b/vendor/mbedtls/mbedtls/nist_kw.h diff --git a/vendor/mbedtls/include/mbedtls/oid.h b/vendor/mbedtls/mbedtls/oid.h index fdc25eb..fdc25eb 100644 --- a/vendor/mbedtls/include/mbedtls/oid.h +++ b/vendor/mbedtls/mbedtls/oid.h diff --git a/vendor/mbedtls/include/mbedtls/pem.h b/vendor/mbedtls/mbedtls/pem.h index 3c6a28d..3c6a28d 100644 --- a/vendor/mbedtls/include/mbedtls/pem.h +++ b/vendor/mbedtls/mbedtls/pem.h diff --git a/vendor/mbedtls/include/mbedtls/pk.h b/vendor/mbedtls/mbedtls/pk.h index 52f4cc6..52f4cc6 100644 --- a/vendor/mbedtls/include/mbedtls/pk.h +++ b/vendor/mbedtls/mbedtls/pk.h diff --git a/vendor/mbedtls/include/mbedtls/pkcs12.h b/vendor/mbedtls/mbedtls/pkcs12.h index 87f7681..87f7681 100644 --- a/vendor/mbedtls/include/mbedtls/pkcs12.h +++ b/vendor/mbedtls/mbedtls/pkcs12.h diff --git a/vendor/mbedtls/include/mbedtls/pkcs5.h b/vendor/mbedtls/mbedtls/pkcs5.h index 9ba5689..9ba5689 100644 --- a/vendor/mbedtls/include/mbedtls/pkcs5.h +++ b/vendor/mbedtls/mbedtls/pkcs5.h diff --git a/vendor/mbedtls/include/mbedtls/pkcs7.h b/vendor/mbedtls/mbedtls/pkcs7.h index e9b4822..e9b4822 100644 --- a/vendor/mbedtls/include/mbedtls/pkcs7.h +++ b/vendor/mbedtls/mbedtls/pkcs7.h diff --git a/vendor/mbedtls/include/mbedtls/platform.h b/vendor/mbedtls/mbedtls/platform.h index de3d71d..de3d71d 100644 --- a/vendor/mbedtls/include/mbedtls/platform.h +++ b/vendor/mbedtls/mbedtls/platform.h diff --git a/vendor/mbedtls/include/mbedtls/platform_time.h b/vendor/mbedtls/mbedtls/platform_time.h index 97f1963..97f1963 100644 --- a/vendor/mbedtls/include/mbedtls/platform_time.h +++ b/vendor/mbedtls/mbedtls/platform_time.h diff --git a/vendor/mbedtls/include/mbedtls/platform_util.h b/vendor/mbedtls/mbedtls/platform_util.h index 1b371ef..1b371ef 100644 --- a/vendor/mbedtls/include/mbedtls/platform_util.h +++ b/vendor/mbedtls/mbedtls/platform_util.h diff --git a/vendor/mbedtls/include/mbedtls/poly1305.h b/vendor/mbedtls/mbedtls/poly1305.h index 61bcaa6..61bcaa6 100644 --- a/vendor/mbedtls/include/mbedtls/poly1305.h +++ b/vendor/mbedtls/mbedtls/poly1305.h diff --git a/vendor/mbedtls/include/mbedtls/private_access.h b/vendor/mbedtls/mbedtls/private_access.h index 580f3eb..580f3eb 100644 --- a/vendor/mbedtls/include/mbedtls/private_access.h +++ b/vendor/mbedtls/mbedtls/private_access.h diff --git a/vendor/mbedtls/include/mbedtls/psa_util.h b/vendor/mbedtls/mbedtls/psa_util.h index c78cc23..c78cc23 100644 --- a/vendor/mbedtls/include/mbedtls/psa_util.h +++ b/vendor/mbedtls/mbedtls/psa_util.h diff --git a/vendor/mbedtls/include/mbedtls/ripemd160.h b/vendor/mbedtls/mbedtls/ripemd160.h index 279f92b..279f92b 100644 --- a/vendor/mbedtls/include/mbedtls/ripemd160.h +++ b/vendor/mbedtls/mbedtls/ripemd160.h diff --git a/vendor/mbedtls/include/mbedtls/rsa.h b/vendor/mbedtls/mbedtls/rsa.h index c1e76b3..c1e76b3 100644 --- a/vendor/mbedtls/include/mbedtls/rsa.h +++ b/vendor/mbedtls/mbedtls/rsa.h diff --git a/vendor/mbedtls/include/mbedtls/sha1.h b/vendor/mbedtls/mbedtls/sha1.h index 592ffd1..592ffd1 100644 --- a/vendor/mbedtls/include/mbedtls/sha1.h +++ b/vendor/mbedtls/mbedtls/sha1.h diff --git a/vendor/mbedtls/include/mbedtls/sha256.h b/vendor/mbedtls/mbedtls/sha256.h index ca568e2..ca568e2 100644 --- a/vendor/mbedtls/include/mbedtls/sha256.h +++ b/vendor/mbedtls/mbedtls/sha256.h diff --git a/vendor/mbedtls/include/mbedtls/sha3.h b/vendor/mbedtls/mbedtls/sha3.h index 3eeee65..3eeee65 100644 --- a/vendor/mbedtls/include/mbedtls/sha3.h +++ b/vendor/mbedtls/mbedtls/sha3.h diff --git a/vendor/mbedtls/include/mbedtls/sha512.h b/vendor/mbedtls/mbedtls/sha512.h index 1c20e4c..1c20e4c 100644 --- a/vendor/mbedtls/include/mbedtls/sha512.h +++ b/vendor/mbedtls/mbedtls/sha512.h diff --git a/vendor/mbedtls/include/mbedtls/ssl.h b/vendor/mbedtls/mbedtls/ssl.h index 42fffbf..42fffbf 100644 --- a/vendor/mbedtls/include/mbedtls/ssl.h +++ b/vendor/mbedtls/mbedtls/ssl.h diff --git a/vendor/mbedtls/include/mbedtls/ssl_cache.h b/vendor/mbedtls/mbedtls/ssl_cache.h index a1307b4..a1307b4 100644 --- a/vendor/mbedtls/include/mbedtls/ssl_cache.h +++ b/vendor/mbedtls/mbedtls/ssl_cache.h diff --git a/vendor/mbedtls/include/mbedtls/ssl_ciphersuites.h b/vendor/mbedtls/mbedtls/ssl_ciphersuites.h index 12d4462..12d4462 100644 --- a/vendor/mbedtls/include/mbedtls/ssl_ciphersuites.h +++ b/vendor/mbedtls/mbedtls/ssl_ciphersuites.h diff --git a/vendor/mbedtls/include/mbedtls/ssl_cookie.h b/vendor/mbedtls/mbedtls/ssl_cookie.h index 71c258e..71c258e 100644 --- a/vendor/mbedtls/include/mbedtls/ssl_cookie.h +++ b/vendor/mbedtls/mbedtls/ssl_cookie.h diff --git a/vendor/mbedtls/include/mbedtls/ssl_ticket.h b/vendor/mbedtls/mbedtls/ssl_ticket.h index 2ee1400..2ee1400 100644 --- a/vendor/mbedtls/include/mbedtls/ssl_ticket.h +++ b/vendor/mbedtls/mbedtls/ssl_ticket.h diff --git a/vendor/mbedtls/include/mbedtls/threading.h b/vendor/mbedtls/mbedtls/threading.h index d50d04e..d50d04e 100644 --- a/vendor/mbedtls/include/mbedtls/threading.h +++ b/vendor/mbedtls/mbedtls/threading.h diff --git a/vendor/mbedtls/include/mbedtls/timing.h b/vendor/mbedtls/mbedtls/timing.h index 62ae102..62ae102 100644 --- a/vendor/mbedtls/include/mbedtls/timing.h +++ b/vendor/mbedtls/mbedtls/timing.h diff --git a/vendor/mbedtls/include/mbedtls/version.h b/vendor/mbedtls/mbedtls/version.h index 637f9d3..637f9d3 100644 --- a/vendor/mbedtls/include/mbedtls/version.h +++ b/vendor/mbedtls/mbedtls/version.h diff --git a/vendor/mbedtls/include/mbedtls/x509.h b/vendor/mbedtls/mbedtls/x509.h index 453f598..453f598 100644 --- a/vendor/mbedtls/include/mbedtls/x509.h +++ b/vendor/mbedtls/mbedtls/x509.h diff --git a/vendor/mbedtls/include/mbedtls/x509_crl.h b/vendor/mbedtls/mbedtls/x509_crl.h index 6625a44..6625a44 100644 --- a/vendor/mbedtls/include/mbedtls/x509_crl.h +++ b/vendor/mbedtls/mbedtls/x509_crl.h diff --git a/vendor/mbedtls/include/mbedtls/x509_crt.h b/vendor/mbedtls/mbedtls/x509_crt.h index 1ce0d23..1ce0d23 100644 --- a/vendor/mbedtls/include/mbedtls/x509_crt.h +++ b/vendor/mbedtls/mbedtls/x509_crt.h diff --git a/vendor/mbedtls/include/mbedtls/x509_csr.h b/vendor/mbedtls/mbedtls/x509_csr.h index 8c31c09..8c31c09 100644 --- a/vendor/mbedtls/include/mbedtls/x509_csr.h +++ b/vendor/mbedtls/mbedtls/x509_csr.h diff --git a/vendor/mbedtls/mbedtls_noscrypt_config.h b/vendor/mbedtls/mbedtls_noscrypt_config.h index 2ae70c5..556fd5a 100644 --- a/vendor/mbedtls/mbedtls_noscrypt_config.h +++ b/vendor/mbedtls/mbedtls_noscrypt_config.h @@ -1,27 +1,27 @@ /** - * \file config-suite-b.h - * - * \brief Minimal configuration for TLS NSA Suite B Profile (RFC 6460) - */ - /* - * Copyright The Mbed TLS Contributors - * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later - */ - /* - * Minimal configuration for TLS NSA Suite B Profile (RFC 6460) - * - * Distinguishing features: - * - no RSA or classic DH, fully based on ECC - * - optimized for low RAM usage - * - * Possible improvements: - * - if 128-bit security is enough, disable secp384r1 and SHA-512 - * - use embedded certs in DER format and disable PEM_PARSE_C and BASE64_C - * - * See README.txt for usage instructions. - */ - - /* System support */ +* \file config-suite-b.h +* +* \brief Minimal configuration for TLS NSA Suite B Profile (RFC 6460) +*/ +/* +* Copyright The Mbed TLS Contributors +* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later +*/ +/* +* Minimal configuration for TLS NSA Suite B Profile (RFC 6460) +* +* Distinguishing features: +* - no RSA or classic DH, fully based on ECC +* - optimized for low RAM usage +* +* Possible improvements: +* - if 128-bit security is enough, disable secp384r1 and SHA-512 +* - use embedded certs in DER format and disable PEM_PARSE_C and BASE64_C +* +* See README.txt for usage instructions. +*/ + + /* System support */ #define MBEDTLS_HAVE_ASM #define MBEDTLS_HAVE_TIME @@ -32,25 +32,4 @@ #define MBEDTLS_HKDF_C #define MBEDTLS_CHACHA20_C #define MBEDTLS_SHA256_C -#define MBEDTLS_ENTROPY_C - - -/* Save RAM at the expense of ROM */ -//#define MBEDTLS_AES_ROM_TABLES - -/* Save RAM by adjusting to our exact needs */ -//#define MBEDTLS_MPI_MAX_SIZE 48 // 384-bit EC curve = 48 bytes - -/* Save RAM at the expense of speed, see ecp.h */ -//#define MBEDTLS_ECP_WINDOW_SIZE 2 -//#define MBEDTLS_ECP_FIXED_POINT_OPTIM 0 - -/* Significant speed benefit at the expense of some ROM */ -//#define MBEDTLS_ECP_NIST_OPTIM - -/* - * You should adjust this to the exact number of sources you're using: default - * is the "mbedtls_platform_entropy_poll" source, but you may want to add other ones. - * Minimum is 2 for the entropy test suite. - */ -#define MBEDTLS_ENTROPY_MAX_SOURCES 2
\ No newline at end of file +#define MBEDTLS_ENTROPY_C
\ No newline at end of file diff --git a/vendor/mbedtls/include/psa/build_info.h b/vendor/mbedtls/psa/build_info.h index 3ee6cd7..3ee6cd7 100644 --- a/vendor/mbedtls/include/psa/build_info.h +++ b/vendor/mbedtls/psa/build_info.h diff --git a/vendor/mbedtls/include/psa/crypto.h b/vendor/mbedtls/psa/crypto.h index 7083bd9..7083bd9 100644 --- a/vendor/mbedtls/include/psa/crypto.h +++ b/vendor/mbedtls/psa/crypto.h diff --git a/vendor/mbedtls/include/psa/crypto_adjust_auto_enabled.h b/vendor/mbedtls/psa/crypto_adjust_auto_enabled.h index 63fb29e..63fb29e 100644 --- a/vendor/mbedtls/include/psa/crypto_adjust_auto_enabled.h +++ b/vendor/mbedtls/psa/crypto_adjust_auto_enabled.h diff --git a/vendor/mbedtls/include/psa/crypto_adjust_config_dependencies.h b/vendor/mbedtls/psa/crypto_adjust_config_dependencies.h index 5a22205..5a22205 100644 --- a/vendor/mbedtls/include/psa/crypto_adjust_config_dependencies.h +++ b/vendor/mbedtls/psa/crypto_adjust_config_dependencies.h diff --git a/vendor/mbedtls/include/psa/crypto_adjust_config_key_pair_types.h b/vendor/mbedtls/psa/crypto_adjust_config_key_pair_types.h index 63afc0e..63afc0e 100644 --- a/vendor/mbedtls/include/psa/crypto_adjust_config_key_pair_types.h +++ b/vendor/mbedtls/psa/crypto_adjust_config_key_pair_types.h diff --git a/vendor/mbedtls/include/psa/crypto_adjust_config_synonyms.h b/vendor/mbedtls/psa/crypto_adjust_config_synonyms.h index 332b622..332b622 100644 --- a/vendor/mbedtls/include/psa/crypto_adjust_config_synonyms.h +++ b/vendor/mbedtls/psa/crypto_adjust_config_synonyms.h diff --git a/vendor/mbedtls/include/psa/crypto_builtin_composites.h b/vendor/mbedtls/psa/crypto_builtin_composites.h index c14f5dd..c14f5dd 100644 --- a/vendor/mbedtls/include/psa/crypto_builtin_composites.h +++ b/vendor/mbedtls/psa/crypto_builtin_composites.h diff --git a/vendor/mbedtls/include/psa/crypto_builtin_key_derivation.h b/vendor/mbedtls/psa/crypto_builtin_key_derivation.h index 6b91ae7..6b91ae7 100644 --- a/vendor/mbedtls/include/psa/crypto_builtin_key_derivation.h +++ b/vendor/mbedtls/psa/crypto_builtin_key_derivation.h diff --git a/vendor/mbedtls/include/psa/crypto_builtin_primitives.h b/vendor/mbedtls/psa/crypto_builtin_primitives.h index 98ab4d3..98ab4d3 100644 --- a/vendor/mbedtls/include/psa/crypto_builtin_primitives.h +++ b/vendor/mbedtls/psa/crypto_builtin_primitives.h diff --git a/vendor/mbedtls/include/psa/crypto_compat.h b/vendor/mbedtls/psa/crypto_compat.h index 2a226c0..2a226c0 100644 --- a/vendor/mbedtls/include/psa/crypto_compat.h +++ b/vendor/mbedtls/psa/crypto_compat.h diff --git a/vendor/mbedtls/include/psa/crypto_config.h b/vendor/mbedtls/psa/crypto_config.h index 36e937a..36e937a 100644 --- a/vendor/mbedtls/include/psa/crypto_config.h +++ b/vendor/mbedtls/psa/crypto_config.h diff --git a/vendor/mbedtls/include/psa/crypto_driver_common.h b/vendor/mbedtls/psa/crypto_driver_common.h index cc11d3b..cc11d3b 100644 --- a/vendor/mbedtls/include/psa/crypto_driver_common.h +++ b/vendor/mbedtls/psa/crypto_driver_common.h diff --git a/vendor/mbedtls/include/psa/crypto_driver_contexts_composites.h b/vendor/mbedtls/psa/crypto_driver_contexts_composites.h index d717c51..d717c51 100644 --- a/vendor/mbedtls/include/psa/crypto_driver_contexts_composites.h +++ b/vendor/mbedtls/psa/crypto_driver_contexts_composites.h diff --git a/vendor/mbedtls/include/psa/crypto_driver_contexts_key_derivation.h b/vendor/mbedtls/psa/crypto_driver_contexts_key_derivation.h index 2119051..2119051 100644 --- a/vendor/mbedtls/include/psa/crypto_driver_contexts_key_derivation.h +++ b/vendor/mbedtls/psa/crypto_driver_contexts_key_derivation.h diff --git a/vendor/mbedtls/include/psa/crypto_driver_contexts_primitives.h b/vendor/mbedtls/psa/crypto_driver_contexts_primitives.h index c90a5fb..c90a5fb 100644 --- a/vendor/mbedtls/include/psa/crypto_driver_contexts_primitives.h +++ b/vendor/mbedtls/psa/crypto_driver_contexts_primitives.h diff --git a/vendor/mbedtls/include/psa/crypto_extra.h b/vendor/mbedtls/psa/crypto_extra.h index 6ed1f6c..6ed1f6c 100644 --- a/vendor/mbedtls/include/psa/crypto_extra.h +++ b/vendor/mbedtls/psa/crypto_extra.h diff --git a/vendor/mbedtls/include/psa/crypto_legacy.h b/vendor/mbedtls/psa/crypto_legacy.h index 7df3614..7df3614 100644 --- a/vendor/mbedtls/include/psa/crypto_legacy.h +++ b/vendor/mbedtls/psa/crypto_legacy.h diff --git a/vendor/mbedtls/include/psa/crypto_platform.h b/vendor/mbedtls/psa/crypto_platform.h index a871ee1..a871ee1 100644 --- a/vendor/mbedtls/include/psa/crypto_platform.h +++ b/vendor/mbedtls/psa/crypto_platform.h diff --git a/vendor/mbedtls/include/psa/crypto_se_driver.h b/vendor/mbedtls/psa/crypto_se_driver.h index 9ce14bb..9ce14bb 100644 --- a/vendor/mbedtls/include/psa/crypto_se_driver.h +++ b/vendor/mbedtls/psa/crypto_se_driver.h diff --git a/vendor/mbedtls/include/psa/crypto_sizes.h b/vendor/mbedtls/psa/crypto_sizes.h index 635ee98..635ee98 100644 --- a/vendor/mbedtls/include/psa/crypto_sizes.h +++ b/vendor/mbedtls/psa/crypto_sizes.h diff --git a/vendor/mbedtls/include/psa/crypto_struct.h b/vendor/mbedtls/psa/crypto_struct.h index 3913551..3913551 100644 --- a/vendor/mbedtls/include/psa/crypto_struct.h +++ b/vendor/mbedtls/psa/crypto_struct.h diff --git a/vendor/mbedtls/include/psa/crypto_types.h b/vendor/mbedtls/psa/crypto_types.h index c21bad8..c21bad8 100644 --- a/vendor/mbedtls/include/psa/crypto_types.h +++ b/vendor/mbedtls/psa/crypto_types.h diff --git a/vendor/mbedtls/include/psa/crypto_values.h b/vendor/mbedtls/psa/crypto_values.h index 1d678db..1d678db 100644 --- a/vendor/mbedtls/include/psa/crypto_values.h +++ b/vendor/mbedtls/psa/crypto_values.h diff --git a/vendor/openssl/include/openssl/__DECC_INCLUDE_EPILOGUE.H b/vendor/openssl/__DECC_INCLUDE_EPILOGUE.H index d251d0a..d251d0a 100644 --- a/vendor/openssl/include/openssl/__DECC_INCLUDE_EPILOGUE.H +++ b/vendor/openssl/__DECC_INCLUDE_EPILOGUE.H diff --git a/vendor/openssl/include/openssl/__DECC_INCLUDE_PROLOGUE.H b/vendor/openssl/__DECC_INCLUDE_PROLOGUE.H index 91ac6b3..91ac6b3 100644 --- a/vendor/openssl/include/openssl/__DECC_INCLUDE_PROLOGUE.H +++ b/vendor/openssl/__DECC_INCLUDE_PROLOGUE.H diff --git a/vendor/openssl/include/openssl/aes.h b/vendor/openssl/aes.h index d0f9dfc..d0f9dfc 100644 --- a/vendor/openssl/include/openssl/aes.h +++ b/vendor/openssl/aes.h diff --git a/vendor/openssl/include/openssl/asn1.h.in b/vendor/openssl/asn1.h.in index 798b221..798b221 100644 --- a/vendor/openssl/include/openssl/asn1.h.in +++ b/vendor/openssl/asn1.h.in diff --git a/vendor/openssl/include/openssl/asn1_mac.h b/vendor/openssl/asn1_mac.h index fdcb983..fdcb983 100644 --- a/vendor/openssl/include/openssl/asn1_mac.h +++ b/vendor/openssl/asn1_mac.h diff --git a/vendor/openssl/include/openssl/asn1err.h b/vendor/openssl/asn1err.h index 8fd85ed..8fd85ed 100644 --- a/vendor/openssl/include/openssl/asn1err.h +++ b/vendor/openssl/asn1err.h diff --git a/vendor/openssl/include/openssl/asn1t.h.in b/vendor/openssl/asn1t.h.in index b536fe5..b536fe5 100644 --- a/vendor/openssl/include/openssl/asn1t.h.in +++ b/vendor/openssl/asn1t.h.in diff --git a/vendor/openssl/include/openssl/async.h b/vendor/openssl/async.h index 826ffb9..826ffb9 100644 --- a/vendor/openssl/include/openssl/async.h +++ b/vendor/openssl/async.h diff --git a/vendor/openssl/include/openssl/asyncerr.h b/vendor/openssl/asyncerr.h index c093f7b..c093f7b 100644 --- a/vendor/openssl/include/openssl/asyncerr.h +++ b/vendor/openssl/asyncerr.h diff --git a/vendor/openssl/include/openssl/bio.h.in b/vendor/openssl/bio.h.in index 440d838..440d838 100644 --- a/vendor/openssl/include/openssl/bio.h.in +++ b/vendor/openssl/bio.h.in diff --git a/vendor/openssl/include/openssl/bioerr.h b/vendor/openssl/bioerr.h index e4fdb64..e4fdb64 100644 --- a/vendor/openssl/include/openssl/bioerr.h +++ b/vendor/openssl/bioerr.h diff --git a/vendor/openssl/include/openssl/blowfish.h b/vendor/openssl/blowfish.h index 667d642..667d642 100644 --- a/vendor/openssl/include/openssl/blowfish.h +++ b/vendor/openssl/blowfish.h diff --git a/vendor/openssl/include/openssl/bn.h b/vendor/openssl/bn.h index ea706dc..ea706dc 100644 --- a/vendor/openssl/include/openssl/bn.h +++ b/vendor/openssl/bn.h diff --git a/vendor/openssl/include/openssl/bnerr.h b/vendor/openssl/bnerr.h index 7c3f6ef..7c3f6ef 100644 --- a/vendor/openssl/include/openssl/bnerr.h +++ b/vendor/openssl/bnerr.h diff --git a/vendor/openssl/include/openssl/buffer.h b/vendor/openssl/buffer.h index 5773b98..5773b98 100644 --- a/vendor/openssl/include/openssl/buffer.h +++ b/vendor/openssl/buffer.h diff --git a/vendor/openssl/include/openssl/buffererr.h b/vendor/openssl/buffererr.h index d18b1f8..d18b1f8 100644 --- a/vendor/openssl/include/openssl/buffererr.h +++ b/vendor/openssl/buffererr.h diff --git a/vendor/openssl/include/openssl/camellia.h b/vendor/openssl/camellia.h index 88c2279..88c2279 100644 --- a/vendor/openssl/include/openssl/camellia.h +++ b/vendor/openssl/camellia.h diff --git a/vendor/openssl/include/openssl/cast.h b/vendor/openssl/cast.h index 0bf217b..0bf217b 100644 --- a/vendor/openssl/include/openssl/cast.h +++ b/vendor/openssl/cast.h diff --git a/vendor/openssl/include/openssl/cmac.h b/vendor/openssl/cmac.h index f508618..f508618 100644 --- a/vendor/openssl/include/openssl/cmac.h +++ b/vendor/openssl/cmac.h diff --git a/vendor/openssl/include/openssl/cmp.h.in b/vendor/openssl/cmp.h.in index d659331..d659331 100644 --- a/vendor/openssl/include/openssl/cmp.h.in +++ b/vendor/openssl/cmp.h.in diff --git a/vendor/openssl/include/openssl/cmp_util.h b/vendor/openssl/cmp_util.h index 9a16892..9a16892 100644 --- a/vendor/openssl/include/openssl/cmp_util.h +++ b/vendor/openssl/cmp_util.h diff --git a/vendor/openssl/include/openssl/cmperr.h b/vendor/openssl/cmperr.h index d196924..d196924 100644 --- a/vendor/openssl/include/openssl/cmperr.h +++ b/vendor/openssl/cmperr.h diff --git a/vendor/openssl/include/openssl/cms.h.in b/vendor/openssl/cms.h.in index 2396677..2396677 100644 --- a/vendor/openssl/include/openssl/cms.h.in +++ b/vendor/openssl/cms.h.in diff --git a/vendor/openssl/include/openssl/cmserr.h b/vendor/openssl/cmserr.h index 887035b..887035b 100644 --- a/vendor/openssl/include/openssl/cmserr.h +++ b/vendor/openssl/cmserr.h diff --git a/vendor/openssl/include/openssl/comp.h b/vendor/openssl/comp.h index f81ba0f..f81ba0f 100644 --- a/vendor/openssl/include/openssl/comp.h +++ b/vendor/openssl/comp.h diff --git a/vendor/openssl/include/openssl/comp.h.in b/vendor/openssl/comp.h.in index bd1efdc..bd1efdc 100644 --- a/vendor/openssl/include/openssl/comp.h.in +++ b/vendor/openssl/comp.h.in diff --git a/vendor/openssl/include/openssl/comperr.h b/vendor/openssl/comperr.h index 1948d37..1948d37 100644 --- a/vendor/openssl/include/openssl/comperr.h +++ b/vendor/openssl/comperr.h diff --git a/vendor/openssl/include/openssl/conf.h.in b/vendor/openssl/conf.h.in index 5663287..5663287 100644 --- a/vendor/openssl/include/openssl/conf.h.in +++ b/vendor/openssl/conf.h.in diff --git a/vendor/openssl/include/openssl/conf_api.h b/vendor/openssl/conf_api.h index ed67d57..ed67d57 100644 --- a/vendor/openssl/include/openssl/conf_api.h +++ b/vendor/openssl/conf_api.h diff --git a/vendor/openssl/include/openssl/conferr.h b/vendor/openssl/conferr.h index a8798e7..a8798e7 100644 --- a/vendor/openssl/include/openssl/conferr.h +++ b/vendor/openssl/conferr.h diff --git a/vendor/openssl/include/openssl/configuration.h.in b/vendor/openssl/configuration.h.in index 86077d0..86077d0 100644 --- a/vendor/openssl/include/openssl/configuration.h.in +++ b/vendor/openssl/configuration.h.in diff --git a/vendor/openssl/include/openssl/conftypes.h b/vendor/openssl/conftypes.h index 17cefaa..17cefaa 100644 --- a/vendor/openssl/include/openssl/conftypes.h +++ b/vendor/openssl/conftypes.h diff --git a/vendor/openssl/include/openssl/core.h b/vendor/openssl/core.h index 18c1991..18c1991 100644 --- a/vendor/openssl/include/openssl/core.h +++ b/vendor/openssl/core.h diff --git a/vendor/openssl/include/openssl/core_dispatch.h b/vendor/openssl/core_dispatch.h index 03838dd..03838dd 100644 --- a/vendor/openssl/include/openssl/core_dispatch.h +++ b/vendor/openssl/core_dispatch.h diff --git a/vendor/openssl/include/openssl/core_names.h.in b/vendor/openssl/core_names.h.in index c14520f..c14520f 100644 --- a/vendor/openssl/include/openssl/core_names.h.in +++ b/vendor/openssl/core_names.h.in diff --git a/vendor/openssl/include/openssl/core_object.h b/vendor/openssl/core_object.h index 62ccf39..62ccf39 100644 --- a/vendor/openssl/include/openssl/core_object.h +++ b/vendor/openssl/core_object.h diff --git a/vendor/openssl/include/openssl/crmf.h.in b/vendor/openssl/crmf.h.in index 17dc4d9..17dc4d9 100644 --- a/vendor/openssl/include/openssl/crmf.h.in +++ b/vendor/openssl/crmf.h.in diff --git a/vendor/openssl/include/openssl/crmferr.h b/vendor/openssl/crmferr.h index b242b92..b242b92 100644 --- a/vendor/openssl/include/openssl/crmferr.h +++ b/vendor/openssl/crmferr.h diff --git a/vendor/openssl/include/openssl/crypto.h.in b/vendor/openssl/crypto.h.in index 101719a..101719a 100644 --- a/vendor/openssl/include/openssl/crypto.h.in +++ b/vendor/openssl/crypto.h.in diff --git a/vendor/openssl/include/openssl/cryptoerr.h b/vendor/openssl/cryptoerr.h index 7fa79cf..7fa79cf 100644 --- a/vendor/openssl/include/openssl/cryptoerr.h +++ b/vendor/openssl/cryptoerr.h diff --git a/vendor/openssl/include/openssl/cryptoerr_legacy.h b/vendor/openssl/cryptoerr_legacy.h index ccab33a..ccab33a 100644 --- a/vendor/openssl/include/openssl/cryptoerr_legacy.h +++ b/vendor/openssl/cryptoerr_legacy.h diff --git a/vendor/openssl/include/openssl/ct.h.in b/vendor/openssl/ct.h.in index 3fc2aaa..3fc2aaa 100644 --- a/vendor/openssl/include/openssl/ct.h.in +++ b/vendor/openssl/ct.h.in diff --git a/vendor/openssl/include/openssl/cterr.h b/vendor/openssl/cterr.h index 935d32d..935d32d 100644 --- a/vendor/openssl/include/openssl/cterr.h +++ b/vendor/openssl/cterr.h diff --git a/vendor/openssl/include/openssl/decoder.h b/vendor/openssl/decoder.h index d4ee2cf..d4ee2cf 100644 --- a/vendor/openssl/include/openssl/decoder.h +++ b/vendor/openssl/decoder.h diff --git a/vendor/openssl/include/openssl/decodererr.h b/vendor/openssl/decodererr.h index 4212a38..4212a38 100644 --- a/vendor/openssl/include/openssl/decodererr.h +++ b/vendor/openssl/decodererr.h diff --git a/vendor/openssl/include/openssl/des.h b/vendor/openssl/des.h index 09798a6..09798a6 100644 --- a/vendor/openssl/include/openssl/des.h +++ b/vendor/openssl/des.h diff --git a/vendor/openssl/include/openssl/dh.h b/vendor/openssl/dh.h index 9702492..9702492 100644 --- a/vendor/openssl/include/openssl/dh.h +++ b/vendor/openssl/dh.h diff --git a/vendor/openssl/include/openssl/dherr.h b/vendor/openssl/dherr.h index 2997d7d..2997d7d 100644 --- a/vendor/openssl/include/openssl/dherr.h +++ b/vendor/openssl/dherr.h diff --git a/vendor/openssl/include/openssl/dsa.h b/vendor/openssl/dsa.h index 109878e..109878e 100644 --- a/vendor/openssl/include/openssl/dsa.h +++ b/vendor/openssl/dsa.h diff --git a/vendor/openssl/include/openssl/dsaerr.h b/vendor/openssl/dsaerr.h index 26ada57..26ada57 100644 --- a/vendor/openssl/include/openssl/dsaerr.h +++ b/vendor/openssl/dsaerr.h diff --git a/vendor/openssl/include/openssl/dtls1.h b/vendor/openssl/dtls1.h index 5dc6b54..5dc6b54 100644 --- a/vendor/openssl/include/openssl/dtls1.h +++ b/vendor/openssl/dtls1.h diff --git a/vendor/openssl/include/openssl/e_os2.h b/vendor/openssl/e_os2.h index b8c6107..b8c6107 100644 --- a/vendor/openssl/include/openssl/e_os2.h +++ b/vendor/openssl/e_os2.h diff --git a/vendor/openssl/include/openssl/e_ostime.h b/vendor/openssl/e_ostime.h index 0e17487..0e17487 100644 --- a/vendor/openssl/include/openssl/e_ostime.h +++ b/vendor/openssl/e_ostime.h diff --git a/vendor/openssl/include/openssl/ebcdic.h b/vendor/openssl/ebcdic.h index e0ae1aa..e0ae1aa 100644 --- a/vendor/openssl/include/openssl/ebcdic.h +++ b/vendor/openssl/ebcdic.h diff --git a/vendor/openssl/include/openssl/ec.h b/vendor/openssl/ec.h index e1cbe98..e1cbe98 100644 --- a/vendor/openssl/include/openssl/ec.h +++ b/vendor/openssl/ec.h diff --git a/vendor/openssl/include/openssl/ecdh.h b/vendor/openssl/ecdh.h index 56bd4cc..56bd4cc 100644 --- a/vendor/openssl/include/openssl/ecdh.h +++ b/vendor/openssl/ecdh.h diff --git a/vendor/openssl/include/openssl/ecdsa.h b/vendor/openssl/ecdsa.h index 56bd4cc..56bd4cc 100644 --- a/vendor/openssl/include/openssl/ecdsa.h +++ b/vendor/openssl/ecdsa.h diff --git a/vendor/openssl/include/openssl/ecerr.h b/vendor/openssl/ecerr.h index f15f91f..f15f91f 100644 --- a/vendor/openssl/include/openssl/ecerr.h +++ b/vendor/openssl/ecerr.h diff --git a/vendor/openssl/include/openssl/encoder.h b/vendor/openssl/encoder.h index c37a6f1..c37a6f1 100644 --- a/vendor/openssl/include/openssl/encoder.h +++ b/vendor/openssl/encoder.h diff --git a/vendor/openssl/include/openssl/encodererr.h b/vendor/openssl/encodererr.h index 5e318b1..5e318b1 100644 --- a/vendor/openssl/include/openssl/encodererr.h +++ b/vendor/openssl/encodererr.h diff --git a/vendor/openssl/include/openssl/engine.h b/vendor/openssl/engine.h index 2fbc82c..2fbc82c 100644 --- a/vendor/openssl/include/openssl/engine.h +++ b/vendor/openssl/engine.h diff --git a/vendor/openssl/include/openssl/engineerr.h b/vendor/openssl/engineerr.h index d439b68..d439b68 100644 --- a/vendor/openssl/include/openssl/engineerr.h +++ b/vendor/openssl/engineerr.h diff --git a/vendor/openssl/include/openssl/err.h.in b/vendor/openssl/err.h.in index 9143704..9143704 100644 --- a/vendor/openssl/include/openssl/err.h.in +++ b/vendor/openssl/err.h.in diff --git a/vendor/openssl/include/openssl/ess.h.in b/vendor/openssl/ess.h.in index d1a685b..d1a685b 100644 --- a/vendor/openssl/include/openssl/ess.h.in +++ b/vendor/openssl/ess.h.in diff --git a/vendor/openssl/include/openssl/esserr.h b/vendor/openssl/esserr.h index 165ce7c..165ce7c 100644 --- a/vendor/openssl/include/openssl/esserr.h +++ b/vendor/openssl/esserr.h diff --git a/vendor/openssl/include/openssl/evp.h b/vendor/openssl/evp.h index 5466327..5466327 100644 --- a/vendor/openssl/include/openssl/evp.h +++ b/vendor/openssl/evp.h diff --git a/vendor/openssl/include/openssl/evperr.h b/vendor/openssl/evperr.h index 0a991f7..0a991f7 100644 --- a/vendor/openssl/include/openssl/evperr.h +++ b/vendor/openssl/evperr.h diff --git a/vendor/openssl/include/openssl/fips_names.h b/vendor/openssl/fips_names.h index fa481fc..fa481fc 100644 --- a/vendor/openssl/include/openssl/fips_names.h +++ b/vendor/openssl/fips_names.h diff --git a/vendor/openssl/include/openssl/fipskey.h.in b/vendor/openssl/fipskey.h.in index c53012a..c53012a 100644 --- a/vendor/openssl/include/openssl/fipskey.h.in +++ b/vendor/openssl/fipskey.h.in diff --git a/vendor/openssl/include/openssl/hmac.h b/vendor/openssl/hmac.h index f9e1bff..f9e1bff 100644 --- a/vendor/openssl/include/openssl/hmac.h +++ b/vendor/openssl/hmac.h diff --git a/vendor/openssl/include/openssl/hpke.h b/vendor/openssl/hpke.h index 482acd2..482acd2 100644 --- a/vendor/openssl/include/openssl/hpke.h +++ b/vendor/openssl/hpke.h diff --git a/vendor/openssl/include/openssl/http.h b/vendor/openssl/http.h index 339b567..339b567 100644 --- a/vendor/openssl/include/openssl/http.h +++ b/vendor/openssl/http.h diff --git a/vendor/openssl/include/openssl/httperr.h b/vendor/openssl/httperr.h index ae7f00c..ae7f00c 100644 --- a/vendor/openssl/include/openssl/httperr.h +++ b/vendor/openssl/httperr.h diff --git a/vendor/openssl/include/openssl/idea.h b/vendor/openssl/idea.h index 1f9bb3b..1f9bb3b 100644 --- a/vendor/openssl/include/openssl/idea.h +++ b/vendor/openssl/idea.h diff --git a/vendor/openssl/include/openssl/indicator.h b/vendor/openssl/indicator.h index 3ea0122..3ea0122 100644 --- a/vendor/openssl/include/openssl/indicator.h +++ b/vendor/openssl/indicator.h diff --git a/vendor/openssl/include/openssl/kdf.h b/vendor/openssl/kdf.h index 0983230..0983230 100644 --- a/vendor/openssl/include/openssl/kdf.h +++ b/vendor/openssl/kdf.h diff --git a/vendor/openssl/include/openssl/kdferr.h b/vendor/openssl/kdferr.h index 963d766..963d766 100644 --- a/vendor/openssl/include/openssl/kdferr.h +++ b/vendor/openssl/kdferr.h diff --git a/vendor/openssl/include/openssl/lhash.h.in b/vendor/openssl/lhash.h.in index 63a9c53..63a9c53 100644 --- a/vendor/openssl/include/openssl/lhash.h.in +++ b/vendor/openssl/lhash.h.in diff --git a/vendor/openssl/include/openssl/macros.h b/vendor/openssl/macros.h index 8330c75..8330c75 100644 --- a/vendor/openssl/include/openssl/macros.h +++ b/vendor/openssl/macros.h diff --git a/vendor/openssl/include/openssl/md2.h b/vendor/openssl/md2.h index 5d4cb77..5d4cb77 100644 --- a/vendor/openssl/include/openssl/md2.h +++ b/vendor/openssl/md2.h diff --git a/vendor/openssl/include/openssl/md4.h b/vendor/openssl/md4.h index 6c150a6..6c150a6 100644 --- a/vendor/openssl/include/openssl/md4.h +++ b/vendor/openssl/md4.h diff --git a/vendor/openssl/include/openssl/md5.h b/vendor/openssl/md5.h index 77a5773..77a5773 100644 --- a/vendor/openssl/include/openssl/md5.h +++ b/vendor/openssl/md5.h diff --git a/vendor/openssl/include/openssl/mdc2.h b/vendor/openssl/mdc2.h index 5a7ee28..5a7ee28 100644 --- a/vendor/openssl/include/openssl/mdc2.h +++ b/vendor/openssl/mdc2.h diff --git a/vendor/openssl/include/openssl/modes.h b/vendor/openssl/modes.h index e190799..e190799 100644 --- a/vendor/openssl/include/openssl/modes.h +++ b/vendor/openssl/modes.h diff --git a/vendor/openssl/include/openssl/obj_mac.h b/vendor/openssl/obj_mac.h index ea603c2..ea603c2 100644 --- a/vendor/openssl/include/openssl/obj_mac.h +++ b/vendor/openssl/obj_mac.h diff --git a/vendor/openssl/include/openssl/objects.h b/vendor/openssl/objects.h index cc9f3c5..cc9f3c5 100644 --- a/vendor/openssl/include/openssl/objects.h +++ b/vendor/openssl/objects.h diff --git a/vendor/openssl/include/openssl/objectserr.h b/vendor/openssl/objectserr.h index 585217f..585217f 100644 --- a/vendor/openssl/include/openssl/objectserr.h +++ b/vendor/openssl/objectserr.h diff --git a/vendor/openssl/include/openssl/ocsp.h.in b/vendor/openssl/ocsp.h.in index e2cc271..e2cc271 100644 --- a/vendor/openssl/include/openssl/ocsp.h.in +++ b/vendor/openssl/ocsp.h.in diff --git a/vendor/openssl/include/openssl/ocsperr.h b/vendor/openssl/ocsperr.h index 46a0523..46a0523 100644 --- a/vendor/openssl/include/openssl/ocsperr.h +++ b/vendor/openssl/ocsperr.h diff --git a/vendor/openssl/include/openssl/opensslconf.h b/vendor/openssl/opensslconf.h index 1e83371..1e83371 100644 --- a/vendor/openssl/include/openssl/opensslconf.h +++ b/vendor/openssl/opensslconf.h diff --git a/vendor/openssl/include/openssl/opensslv.h.in b/vendor/openssl/opensslv.h.in index 3f47a2a..3f47a2a 100644 --- a/vendor/openssl/include/openssl/opensslv.h.in +++ b/vendor/openssl/opensslv.h.in diff --git a/vendor/openssl/include/openssl/ossl_typ.h b/vendor/openssl/ossl_typ.h index 82a5898..82a5898 100644 --- a/vendor/openssl/include/openssl/ossl_typ.h +++ b/vendor/openssl/ossl_typ.h diff --git a/vendor/openssl/include/openssl/param_build.h b/vendor/openssl/param_build.h index f29fdb2..f29fdb2 100644 --- a/vendor/openssl/include/openssl/param_build.h +++ b/vendor/openssl/param_build.h diff --git a/vendor/openssl/include/openssl/params.h b/vendor/openssl/params.h index d75eab0..d75eab0 100644 --- a/vendor/openssl/include/openssl/params.h +++ b/vendor/openssl/params.h diff --git a/vendor/openssl/include/openssl/pem.h b/vendor/openssl/pem.h index 6b7b66a..6b7b66a 100644 --- a/vendor/openssl/include/openssl/pem.h +++ b/vendor/openssl/pem.h diff --git a/vendor/openssl/include/openssl/pem2.h b/vendor/openssl/pem2.h index a8a5325..a8a5325 100644 --- a/vendor/openssl/include/openssl/pem2.h +++ b/vendor/openssl/pem2.h diff --git a/vendor/openssl/include/openssl/pemerr.h b/vendor/openssl/pemerr.h index 18f6d9e..18f6d9e 100644 --- a/vendor/openssl/include/openssl/pemerr.h +++ b/vendor/openssl/pemerr.h diff --git a/vendor/openssl/include/openssl/pkcs12.h.in b/vendor/openssl/pkcs12.h.in index 097afba..097afba 100644 --- a/vendor/openssl/include/openssl/pkcs12.h.in +++ b/vendor/openssl/pkcs12.h.in diff --git a/vendor/openssl/include/openssl/pkcs12err.h b/vendor/openssl/pkcs12err.h index abce373..abce373 100644 --- a/vendor/openssl/include/openssl/pkcs12err.h +++ b/vendor/openssl/pkcs12err.h diff --git a/vendor/openssl/include/openssl/pkcs7.h.in b/vendor/openssl/pkcs7.h.in index 57e45dc..57e45dc 100644 --- a/vendor/openssl/include/openssl/pkcs7.h.in +++ b/vendor/openssl/pkcs7.h.in diff --git a/vendor/openssl/include/openssl/pkcs7err.h b/vendor/openssl/pkcs7err.h index ceb1a50..ceb1a50 100644 --- a/vendor/openssl/include/openssl/pkcs7err.h +++ b/vendor/openssl/pkcs7err.h diff --git a/vendor/openssl/include/openssl/prov_ssl.h b/vendor/openssl/prov_ssl.h index 76d01e1..76d01e1 100644 --- a/vendor/openssl/include/openssl/prov_ssl.h +++ b/vendor/openssl/prov_ssl.h diff --git a/vendor/openssl/include/openssl/proverr.h b/vendor/openssl/proverr.h index d10b653..d10b653 100644 --- a/vendor/openssl/include/openssl/proverr.h +++ b/vendor/openssl/proverr.h diff --git a/vendor/openssl/include/openssl/provider.h b/vendor/openssl/provider.h index 24ec082..24ec082 100644 --- a/vendor/openssl/include/openssl/provider.h +++ b/vendor/openssl/provider.h diff --git a/vendor/openssl/include/openssl/quic.h b/vendor/openssl/quic.h index 3dc2f5e..3dc2f5e 100644 --- a/vendor/openssl/include/openssl/quic.h +++ b/vendor/openssl/quic.h diff --git a/vendor/openssl/include/openssl/rand.h b/vendor/openssl/rand.h index 1fa1129..1fa1129 100644 --- a/vendor/openssl/include/openssl/rand.h +++ b/vendor/openssl/rand.h diff --git a/vendor/openssl/include/openssl/randerr.h b/vendor/openssl/randerr.h index 0488037..0488037 100644 --- a/vendor/openssl/include/openssl/randerr.h +++ b/vendor/openssl/randerr.h diff --git a/vendor/openssl/include/openssl/rc2.h b/vendor/openssl/rc2.h index ff633fd..ff633fd 100644 --- a/vendor/openssl/include/openssl/rc2.h +++ b/vendor/openssl/rc2.h diff --git a/vendor/openssl/include/openssl/rc4.h b/vendor/openssl/rc4.h index 600b288..600b288 100644 --- a/vendor/openssl/include/openssl/rc4.h +++ b/vendor/openssl/rc4.h diff --git a/vendor/openssl/include/openssl/rc5.h b/vendor/openssl/rc5.h index de83352..de83352 100644 --- a/vendor/openssl/include/openssl/rc5.h +++ b/vendor/openssl/rc5.h diff --git a/vendor/openssl/include/openssl/ripemd.h b/vendor/openssl/ripemd.h index 900ee31..900ee31 100644 --- a/vendor/openssl/include/openssl/ripemd.h +++ b/vendor/openssl/ripemd.h diff --git a/vendor/openssl/include/openssl/rsa.h b/vendor/openssl/rsa.h index 167427d..167427d 100644 --- a/vendor/openssl/include/openssl/rsa.h +++ b/vendor/openssl/rsa.h diff --git a/vendor/openssl/include/openssl/rsaerr.h b/vendor/openssl/rsaerr.h index c58463c..c58463c 100644 --- a/vendor/openssl/include/openssl/rsaerr.h +++ b/vendor/openssl/rsaerr.h diff --git a/vendor/openssl/include/openssl/safestack.h.in b/vendor/openssl/safestack.h.in index 6b36607..6b36607 100644 --- a/vendor/openssl/include/openssl/safestack.h.in +++ b/vendor/openssl/safestack.h.in diff --git a/vendor/openssl/include/openssl/seed.h b/vendor/openssl/seed.h index edb218a..edb218a 100644 --- a/vendor/openssl/include/openssl/seed.h +++ b/vendor/openssl/seed.h diff --git a/vendor/openssl/include/openssl/self_test.h b/vendor/openssl/self_test.h index 98652f9..98652f9 100644 --- a/vendor/openssl/include/openssl/self_test.h +++ b/vendor/openssl/self_test.h diff --git a/vendor/openssl/include/openssl/sha.h b/vendor/openssl/sha.h index 163a7d5..163a7d5 100644 --- a/vendor/openssl/include/openssl/sha.h +++ b/vendor/openssl/sha.h diff --git a/vendor/openssl/include/openssl/srp.h.in b/vendor/openssl/srp.h.in index dfbe845..dfbe845 100644 --- a/vendor/openssl/include/openssl/srp.h.in +++ b/vendor/openssl/srp.h.in diff --git a/vendor/openssl/include/openssl/srtp.h b/vendor/openssl/srtp.h index 2c2c334..2c2c334 100644 --- a/vendor/openssl/include/openssl/srtp.h +++ b/vendor/openssl/srtp.h diff --git a/vendor/openssl/include/openssl/ssl.h.in b/vendor/openssl/ssl.h.in index 4bab2ac..4bab2ac 100644 --- a/vendor/openssl/include/openssl/ssl.h.in +++ b/vendor/openssl/ssl.h.in diff --git a/vendor/openssl/include/openssl/ssl2.h b/vendor/openssl/ssl2.h index 428ead0..428ead0 100644 --- a/vendor/openssl/include/openssl/ssl2.h +++ b/vendor/openssl/ssl2.h diff --git a/vendor/openssl/include/openssl/ssl3.h b/vendor/openssl/ssl3.h index 4f076c6..4f076c6 100644 --- a/vendor/openssl/include/openssl/ssl3.h +++ b/vendor/openssl/ssl3.h diff --git a/vendor/openssl/include/openssl/sslerr.h b/vendor/openssl/sslerr.h index d6ae547..d6ae547 100644 --- a/vendor/openssl/include/openssl/sslerr.h +++ b/vendor/openssl/sslerr.h diff --git a/vendor/openssl/include/openssl/sslerr_legacy.h b/vendor/openssl/sslerr_legacy.h index 4c35367..4c35367 100644 --- a/vendor/openssl/include/openssl/sslerr_legacy.h +++ b/vendor/openssl/sslerr_legacy.h diff --git a/vendor/openssl/include/openssl/stack.h b/vendor/openssl/stack.h index f0c5c54..f0c5c54 100644 --- a/vendor/openssl/include/openssl/stack.h +++ b/vendor/openssl/stack.h diff --git a/vendor/openssl/include/openssl/store.h b/vendor/openssl/store.h index e6ea3cf..e6ea3cf 100644 --- a/vendor/openssl/include/openssl/store.h +++ b/vendor/openssl/store.h diff --git a/vendor/openssl/include/openssl/storeerr.h b/vendor/openssl/storeerr.h index 00529c8..00529c8 100644 --- a/vendor/openssl/include/openssl/storeerr.h +++ b/vendor/openssl/storeerr.h diff --git a/vendor/openssl/include/openssl/symhacks.h b/vendor/openssl/symhacks.h index 816f8f9..816f8f9 100644 --- a/vendor/openssl/include/openssl/symhacks.h +++ b/vendor/openssl/symhacks.h diff --git a/vendor/openssl/include/openssl/thread.h b/vendor/openssl/thread.h index 3926ce5..3926ce5 100644 --- a/vendor/openssl/include/openssl/thread.h +++ b/vendor/openssl/thread.h diff --git a/vendor/openssl/include/openssl/tls1.h b/vendor/openssl/tls1.h index 8e9b110..8e9b110 100644 --- a/vendor/openssl/include/openssl/tls1.h +++ b/vendor/openssl/tls1.h diff --git a/vendor/openssl/include/openssl/trace.h b/vendor/openssl/trace.h index 9a5b56e..9a5b56e 100644 --- a/vendor/openssl/include/openssl/trace.h +++ b/vendor/openssl/trace.h diff --git a/vendor/openssl/include/openssl/ts.h b/vendor/openssl/ts.h index 31c78b5..31c78b5 100644 --- a/vendor/openssl/include/openssl/ts.h +++ b/vendor/openssl/ts.h diff --git a/vendor/openssl/include/openssl/tserr.h b/vendor/openssl/tserr.h index e1b943e..e1b943e 100644 --- a/vendor/openssl/include/openssl/tserr.h +++ b/vendor/openssl/tserr.h diff --git a/vendor/openssl/include/openssl/txt_db.h b/vendor/openssl/txt_db.h index af169a3..af169a3 100644 --- a/vendor/openssl/include/openssl/txt_db.h +++ b/vendor/openssl/txt_db.h diff --git a/vendor/openssl/include/openssl/types.h b/vendor/openssl/types.h index e05a350..e05a350 100644 --- a/vendor/openssl/include/openssl/types.h +++ b/vendor/openssl/types.h diff --git a/vendor/openssl/include/openssl/ui.h.in b/vendor/openssl/ui.h.in index eb9a580..eb9a580 100644 --- a/vendor/openssl/include/openssl/ui.h.in +++ b/vendor/openssl/ui.h.in diff --git a/vendor/openssl/include/openssl/uierr.h b/vendor/openssl/uierr.h index 473b04e..473b04e 100644 --- a/vendor/openssl/include/openssl/uierr.h +++ b/vendor/openssl/uierr.h diff --git a/vendor/openssl/include/openssl/whrlpool.h b/vendor/openssl/whrlpool.h index 05ba463..05ba463 100644 --- a/vendor/openssl/include/openssl/whrlpool.h +++ b/vendor/openssl/whrlpool.h diff --git a/vendor/openssl/include/openssl/x509.h.in b/vendor/openssl/x509.h.in index 2100790..2100790 100644 --- a/vendor/openssl/include/openssl/x509.h.in +++ b/vendor/openssl/x509.h.in diff --git a/vendor/openssl/include/openssl/x509_acert.h.in b/vendor/openssl/x509_acert.h.in index 76570d4..76570d4 100644 --- a/vendor/openssl/include/openssl/x509_acert.h.in +++ b/vendor/openssl/x509_acert.h.in diff --git a/vendor/openssl/include/openssl/x509_vfy.h.in b/vendor/openssl/x509_vfy.h.in index a396193..a396193 100644 --- a/vendor/openssl/include/openssl/x509_vfy.h.in +++ b/vendor/openssl/x509_vfy.h.in diff --git a/vendor/openssl/include/openssl/x509err.h b/vendor/openssl/x509err.h index 77b91c8..77b91c8 100644 --- a/vendor/openssl/include/openssl/x509err.h +++ b/vendor/openssl/x509err.h diff --git a/vendor/openssl/include/openssl/x509v3.h.in b/vendor/openssl/x509v3.h.in index 0f37e13..0f37e13 100644 --- a/vendor/openssl/include/openssl/x509v3.h.in +++ b/vendor/openssl/x509v3.h.in diff --git a/vendor/openssl/include/openssl/x509v3err.h b/vendor/openssl/x509v3err.h index deede27..deede27 100644 --- a/vendor/openssl/include/openssl/x509v3err.h +++ b/vendor/openssl/x509v3err.h diff --git a/vendor/secp256k1/include/secp256k1/secp256k1.h b/vendor/secp256k1/secp256k1.h index c6e9417..c6e9417 100644 --- a/vendor/secp256k1/include/secp256k1/secp256k1.h +++ b/vendor/secp256k1/secp256k1.h diff --git a/vendor/secp256k1/include/secp256k1/secp256k1_ecdh.h b/vendor/secp256k1/secp256k1_ecdh.h index 4d9da34..4d9da34 100644 --- a/vendor/secp256k1/include/secp256k1/secp256k1_ecdh.h +++ b/vendor/secp256k1/secp256k1_ecdh.h diff --git a/vendor/secp256k1/include/secp256k1/secp256k1_ellswift.h b/vendor/secp256k1/secp256k1_ellswift.h index 0d1293e..0d1293e 100644 --- a/vendor/secp256k1/include/secp256k1/secp256k1_ellswift.h +++ b/vendor/secp256k1/secp256k1_ellswift.h diff --git a/vendor/secp256k1/include/secp256k1/secp256k1_extrakeys.h b/vendor/secp256k1/secp256k1_extrakeys.h index 48c9869..48c9869 100644 --- a/vendor/secp256k1/include/secp256k1/secp256k1_extrakeys.h +++ b/vendor/secp256k1/secp256k1_extrakeys.h diff --git a/vendor/secp256k1/include/secp256k1/secp256k1_musig.h b/vendor/secp256k1/secp256k1_musig.h index 11b8f08..11b8f08 100644 --- a/vendor/secp256k1/include/secp256k1/secp256k1_musig.h +++ b/vendor/secp256k1/secp256k1_musig.h diff --git a/vendor/secp256k1/include/secp256k1/secp256k1_preallocated.h b/vendor/secp256k1/secp256k1_preallocated.h index f2d95c2..f2d95c2 100644 --- a/vendor/secp256k1/include/secp256k1/secp256k1_preallocated.h +++ b/vendor/secp256k1/secp256k1_preallocated.h diff --git a/vendor/secp256k1/include/secp256k1/secp256k1_recovery.h b/vendor/secp256k1/secp256k1_recovery.h index 93a2e4c..93a2e4c 100644 --- a/vendor/secp256k1/include/secp256k1/secp256k1_recovery.h +++ b/vendor/secp256k1/secp256k1_recovery.h diff --git a/vendor/secp256k1/include/secp256k1/secp256k1_schnorrsig.h b/vendor/secp256k1/secp256k1_schnorrsig.h index 013d4ee..013d4ee 100644 --- a/vendor/secp256k1/include/secp256k1/secp256k1_schnorrsig.h +++ b/vendor/secp256k1/secp256k1_schnorrsig.h |