curl_ed25519: add GnuTLS support (via nettle, hogweed)

The necessary cryptography API is provided by nettle 3.1+, via its
'hogweed' library. The minimum GnuTLS version required by curl is 3.6.5,
which requires nettle 3.4.1+, so the API is always available.

Also:
- autotools: detect and use nettle's hogweed library.
- cmake/FindNettle: add support for the hogweed library.
- GHA/http3-linux: enable in the autotools/cmake GnuTLS jobs.

Ref: 4353ea025a

Closes #22456
This commit is contained in:
Viktor Szakats 2026-08-01 00:45:57 +02:00
parent 56457f838c
commit a368fbe968
No known key found for this signature in database
7 changed files with 101 additions and 15 deletions

View file

@ -456,6 +456,7 @@ Details via CMake
- `NGTCP2_CRYPTO_WOLFSSL_LIBRARY`: Absolute path to `ngtcp2_crypto_wolfssl` library.
- `NGTCP2_USE_STATIC_LIBS`: Configure for static ngtcp2 libraries. (experimental)
- `NETTLE_INCLUDE_DIR`: Absolute path to nettle include directory.
- `NETTLE_HOGWEED_LIBRARY`: Absolute path to `hogweed` library.
- `NETTLE_LIBRARY`: Absolute path to `nettle` library.
- `PTHREAD_LIBRARY`: Absolute path to `pthread` library. (for Rustls)
- `QUICHE_INCLUDE_DIR`: Absolute path to quiche include directory.