HomePhabricator

[SECP256K1] Don't use reserved identifiers memczero and benchmark_verify_t

Description

[SECP256K1] Don't use reserved identifiers memczero and benchmark_verify_t

Summary:

As identified in #829 and #833. Fixes #829.

Since we touch this anyway, this commit additionally makes the
identifiers in the benchmark files a little bit more consistent.

Typedef (u)int128_t only when they're not provided by the compiler

Backport of secp256k1#835

Test Plan:

ninja check-secp256k1 bench-secp256k1

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D9373

Details

Provenance
Tim Ruffing <crypto@timruffing.de>Authored on Oct 20 2020, 12:53
FabienCommitted on Apr 8 2021, 13:11
FabienPushed on Apr 8 2021, 13:13
Reviewer
Restricted Project
Differential Revision
D9373: [SECP256K1] Don't use reserved identifiers memczero and benchmark_verify_t
Parents
rABCfc71d001248f: [SECP256K1] Convert Sage code to Python 3 (as used by Sage >= 9)
Branches
Unknown
Tags
Unknown