Miroslav Lichvar
2ac581e04a
update copyright years
2025-06-11 15:06:19 +02:00
Miroslav Lichvar
9856bf2d5f
test: improve nts_ntp_auth test
2024-11-14 13:43:22 +01:00
Miroslav Lichvar
5a39074e01
nts: fix number of extension fields after failed encryption
...
If the authenticator SIV encryption fails (e.g. due to wrong nonce
length), decrement the number of extension fields to keep the packet
info consistent.
2022-10-19 15:50:39 +02:00
Miroslav Lichvar
73042494bd
nts: add support for NTP authenticator field using AES-GCM-SIV
...
Add support for SIV algorithms which have maximum nonce length shorter
than 16 bytes.
2022-10-19 15:50:39 +02:00
Miroslav Lichvar
db54bfc0c1
nts: check for negative length in NNA_DecryptAuthEF()
...
As other functions that accept a signed length, make sure it is sane in
NNA_DecryptAuthEF() too.
2020-07-09 14:47:33 +02:00
Miroslav Lichvar
50204a125b
test: add nts unit tests
2020-03-05 16:02:15 +01:00