Files
chrony/test/unit
Miroslav Lichvar dab98fa8da util: add function for constant-time memory comparison
Add a function to check if two buffers of the same length contain the
same data, but do the comparison in a constant time with respect to the
returned value to avoid creating a timing side channel, i.e. the time
depends only on the buffer length, not on the content.

Use the gnutls_memcmp() or nettle_memeql_sec() functions if available,
otherwise use the same algorithm as nettle - bitwise ORing XORed data.
2025-04-03 16:05:04 +02:00
..
2023-03-02 10:41:28 +01:00
2020-07-09 14:47:33 +02:00
2022-08-29 15:04:33 +02:00
2024-08-29 09:37:50 +02:00
2024-02-08 15:54:24 +01:00
2024-10-08 12:11:32 +02:00
2020-03-05 16:02:15 +01:00
2020-03-05 16:02:15 +01:00
2024-11-14 13:43:22 +01:00
2017-06-27 15:29:01 +02:00
2024-12-04 12:06:29 +01:00
2022-08-29 15:04:33 +02:00
2023-04-13 16:22:50 +02:00
2021-03-11 11:47:31 +01:00