Page MenuHomePhabricator

Initialize field elements when resulting in infinity
ClosedPublic

Authored by deadalnix on Mon, Sep 28, 15:53.

Details

Reviewers
jasonbcox
Group Reviewers
Restricted Project
Commits
rABC13f2aeb050a2: Initialize field elements when resulting in infinity
Summary
  • Added test with additions resulting in infinity
  • Clear field elements when writing infinity

This is a backport of secp256k1 PR699

Test Plan
ninja check-secp256k1

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

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.

jasonbcox added a subscriber: jasonbcox.
jasonbcox added inline comments.
src/secp256k1/src/tests.c
2310 ↗(On Diff #23890)

Nit: intialized -> initialized but the typo is in the original PR, so v0v

This revision is now accepted and ready to land.Mon, Sep 28, 16:28