]> git.ipfire.org Git - thirdparty/chrony.git/commit
siv: set key directly with gnutls
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 11 May 2022 06:57:22 +0000 (08:57 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 11 May 2022 10:22:33 +0000 (12:22 +0200)
commit35220aac9dee4b7101dbd415dda34750e4998f7d
tree117a0a499750eb5ca83c9a5842b664af935f7256
parent5b04f3ca902e5d10aa5948fb7587d30b43941049
siv: set key directly with gnutls

A new function is provided by the latest gnutls (should be in 3.7.5) to
set the key of an AEAD cipher. If available, use it to avoid destroying
and creating a new SIV instance with each key change.

This improves the server NTS-NTP performance if using gnutls for SIV.
configure
siv_gnutls.c