Page MenuHomePhabricator

Make the secp256k1_declassify argument constant
ClosedPublic

Authored by deadalnix on Sep 29 2020, 10:01.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC5ab6cb06f7c9: Make the secp256k1_declassify argument constant
Summary

This is required to declassify pointers to constant memory. Declassify should
never modify its argument.

This is a partial backport of secp256k1 PR558 : https://github.com/bitcoin-core/secp256k1/pull/558/commits/3e08b02e2a78f2a1fc457efab665db8ab8085373

Test Plan
ninja check-secp256k1

Event Timeline

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

This revision is now accepted and ready to land.Sep 29 2020, 10:05
This revision was landed with ongoing or failed builds.Sep 29 2020, 10:21
This revision was automatically updated to reflect the committed changes.