HomePhabricator

Pass scalar by reference in secp256k1_wnaf_const()

Authored by Tim Ruffing <crypto@timruffing.de> on May 14 2019, 09:43.

Description

Pass scalar by reference in secp256k1_wnaf_const()

Summary:
After this change, no struct or union is passed by value in the
entire codebase. This makes it easier to compile the library with
CompCert.

This is a backport of secp256k1 PR617

Test Plan:

make check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Committed
deadalnixJan 17 2020, 16:09
Pushed
deadalnixJan 17 2020, 16:09
Reviewer
Restricted Project
Differential Revision
D4994: Pass scalar by reference in secp256k1_wnaf_const()
Parents
rABC56260aeec5fc: Avoid implementation-defined and undefined behavior when dealing with sizes
Branches
Unknown
Tags
Unknown