HomePhabricator

Make secp256k1_scalar_b32 detect overflow in scalar_low

Description

Make secp256k1_scalar_b32 detect overflow in scalar_low

Summary:
This is a partial backport of secp256k1 PR808 : https://github.com/bitcoin-core/secp256k1/pull/808/commits/8bcd78cd791fd9209d72d6bce455c8d3cf2c0249

Depends on D7655

Test Plan:

ninja check-secp256k1

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Pieter Wuille <pieter@wuille.net>Authored on Sep 6 2020, 03:51
deadalnixCommitted on Sep 29 2020, 13:04
deadalnixPushed on Sep 29 2020, 13:04
Reviewer
Restricted Project
Differential Revision
D7656: Make secp256k1_scalar_b32 detect overflow in scalar_low
Parents
rABCa7206a83a757: Move exhaustive tests for recovery to module
Branches
Unknown
Tags
Unknown