Page MenuHomePhabricator

Initialize field elements when resulting in infinity
ClosedPublic

Authored by deadalnix on Sep 28 2020, 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
Lint Not Applicable
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.Sep 28 2020, 16:28