Files
secp256k1-zkp/src
Sebastian Falbesoner dfe284ed2d bench: improve context creation in ECDH benchmark
Calling `secp256k1_context_create` with `SECP256K1_FLAGS_TYPE_CONTEXT`
seems to be not strictly API-compliant, as the only allowed
(non-deprecated) value is `SECP256K1_CONTEXT_NONE`, even if the
former happens to map to the latter currently.

Fix this by not dynamically creating a context in the first place and
switch to using the static context, as it is sufficient for this
benchmark and presumably matches what the "no capabilities" comment
intended back then.
2025-09-16 23:17:08 +02:00
..
2021-08-20 11:11:26 -04:00
2021-08-20 11:11:26 -04:00
2023-07-03 17:05:55 +02:00
2025-09-08 12:26:04 -04:00
2025-09-08 12:26:04 -04:00
2025-09-08 12:26:04 -04:00
2024-04-25 20:23:31 +00:00
2024-04-25 20:23:31 +00:00
2022-11-07 16:37:24 -05:00
2022-11-07 16:37:24 -05:00
2024-09-25 11:05:23 -04:00
2023-02-28 15:54:00 -05:00
2024-09-25 11:05:23 -04:00
2023-02-28 15:54:00 -05:00
2020-12-18 00:24:22 +02:00
2020-12-18 00:24:22 +02:00
2025-09-08 12:26:04 -04:00
2024-10-21 09:18:44 +00:00
2025-09-08 12:26:04 -04:00
2025-09-08 12:26:04 -04:00