Ondřej Surý
f3753d591f
Use thread_local EVP_MD_CTX in isc_iterated_hash()
...
As this code is on hot path (NSEC3) this introduces an additional
optimization of the EVP_MD API - instead of calling EVP_MD_CTX_new() on
every call to isc_iterated_hash(), we create two thread_local objects
for each thread - a basectx and mdctx, initialize basectx once and then
use EVP_MD_CTX_copy_ex() to flip the initialized state into mdctx. This
saves us couple more valuable microseconds from the isc_iterated_hash()
call.
2023-01-18 19:36:21 +01:00
..
2022-10-04 10:32:40 +02:00
2022-08-25 12:24:29 +02:00
2022-07-05 12:22:55 -07:00
2023-01-11 09:51:02 +01:00
2023-01-03 14:40:30 +11:00
2022-11-02 10:34:10 +01:00
2022-06-16 17:21:11 +02:00
2022-12-20 22:13:53 +02:00
2022-12-20 19:13:48 +01:00
2022-09-26 15:13:11 +02:00
2022-10-17 13:43:59 +01:00
2022-08-25 12:24:25 +02:00
2022-08-26 09:09:25 +02:00
2022-06-16 17:21:11 +02:00
2022-11-10 15:07:19 +01:00
2022-09-12 12:18:57 +01:00
2022-10-14 11:26:54 +02:00
2023-01-18 19:36:21 +01:00
2022-10-31 05:43:45 -07:00
2022-10-26 12:55:06 +02:00
2022-10-18 11:36:15 +02:00
2022-06-16 17:21:11 +02:00
2023-01-05 12:33:15 +00:00
2022-08-26 09:09:24 +02:00
2023-01-18 18:32:57 +01:00
2022-10-05 16:44:05 +02:00
2022-11-02 10:34:10 +01:00
2023-01-09 12:15:21 -08:00
2023-01-10 19:57:39 +01:00
2022-10-14 16:39:21 +02:00
2022-06-16 17:21:11 +02:00
2022-06-16 17:21:11 +02:00
2022-04-22 16:40:37 +01:00
2022-09-30 10:36:30 +02:00
2022-11-30 10:03:24 +01:00
2022-06-16 17:21:11 +02:00
2022-10-29 00:22:54 +11:00
2022-11-02 10:34:10 +01:00
2022-08-25 12:24:29 +02:00
2022-10-04 10:32:40 +02:00
2022-10-04 14:21:41 +11:00
2022-06-16 17:21:11 +02:00
2022-08-26 09:09:24 +02:00
2022-06-16 17:21:11 +02:00
2022-08-25 12:24:29 +02:00
2023-01-16 20:33:57 +00:00
2022-09-21 14:25:33 -07:00
2022-12-23 11:10:11 +02:00
2023-01-10 20:31:24 +01:00
2022-10-14 11:26:54 +02:00
2022-10-17 13:43:59 +01:00
2022-10-17 11:58:26 +01:00
2022-08-25 12:24:29 +02:00
2022-09-27 17:10:42 +02:00