[gnutls-devel] GnuTLS | Support building with Nettle 4 (!2075)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Sat Feb 28 00:50:36 CET 2026




Daiki Ueno commented on a discussion: https://gitlab.com/gnutls/gnutls/-/merge_requests/2075#note_3121292078


> if we do neither, is the performance hit significant?

I don't think so; the nettle version provides comparable performance (or even outperforms) the CRYPTOGAMS version:

```console
$ gnutls-cli --benchmark-ciphers
[...]
Checking MAC algorithms, payload size: 16384
            SHA1 1.05 GB/sec
          SHA256 0.46 GB/sec
          SHA512 0.68 GB/sec

$ GNUTLS_CPUID_OVERRIDE=0x1 gnutls-cli --benchmark-ciphers
[...]
Checking MAC algorithms, payload size: 16384
            SHA1 2.06 GB/sec
          SHA256 1.93 GB/sec
          SHA512 0.58 GB/sec
```

We may even want to drop the CRYPTOGAMS derived assembly for hashes and macs in 4.0. I've added the topic at https://gitlab.com/gnutls/gnutls/-/wikis/Planning-for-4.0.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/2075#note_3121292078
You're receiving this email because of your account on gitlab.com. Unsubscribe from this thread: https://gitlab.com/-/sent_notifications/3-3m68xbxzu9yw5gx5zy6xcpy07/unsubscribe | Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20260227/107aae7d/attachment.html>


More information about the Gnutls-devel mailing list