HomePhabricator

[SECP256K1] Add secp256k1_ctz{32,64}_var functions

Description

[SECP256K1] Add secp256k1_ctz{32,64}_var functions

Summary:

These functions count the number of trailing zeroes in non-zero
integers.

Partial backport of secp256k1#831:
https://github.com/bitcoin-core/secp256k1/pull/831/commits/de0a643c3dc2c40a447e670cfa1c1683c79c9297

Test Plan:

ninja check-secp256k1

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Provenance
Pieter Wuille <pieter@wuille.net>Authored on Oct 12 2020, 02:10
FabienCommitted on Apr 14 2021, 06:44
FabienPushed on Apr 14 2021, 06:44
Reviewer
Restricted Project
Differential Revision
D9401: [SECP256K1] Add secp256k1_ctz{32,64}_var functions
Parents
rABCbbaaa1066682: [SECP256K1] ci: Switch all Linux builds to Debian and more improvements
Branches
Unknown
Tags
Unknown