HomePhabricator

[secp256k1] Update overflow check

Description

[secp256k1] Update overflow check

Summary:
One does not simply check for integer overlow.

This is a backport of secp256k1#1218

Test Plan: ninja check-secp256k1

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Russell O'Connor <roconnor@blockstream.io>Authored on Mar 6 2023, 23:13
PiRKCommitted on Apr 11 2026, 12:50
PiRKPushed on Apr 11 2026, 12:50
Reviewer
Restricted Project
Differential Revision
D19818: [secp256k1] Update overflow check
Parents
rABCaa64a9225996: [secp256k1] Prevent dead-store elimination when clearing secrets in examples
Branches
Unknown
Tags
Unknown