HomePhabricator

Add static assertion that uint32_t is unsigned int or wider

Description

Add static assertion that uint32_t is unsigned int or wider

Summary:
This is a backport of secp256k1 PR818

Depends on D7632

Test Plan:

ninja check-secp256k1

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Tim Ruffing <crypto@timruffing.de>Authored on Sep 17 2020, 11:29
deadalnixCommitted on Sep 29 2020, 09:55
deadalnixPushed on Sep 29 2020, 09:55
Reviewer
Restricted Project
Differential Revision
D7635: Add static assertion that uint32_t is unsigned int or wider
Parents
rABC35167d3d0d11: Check assumptions on integer implementation at compile time
Branches
Unknown
Tags
Unknown