Skip to content

ecc/bls12381: affinize must handle identity elements. - #604

Merged
armfazh merged 1 commit into
cloudflare:mainfrom
armfazh:fixProdPair
May 6, 2026
Merged

armfazh merged 1 commit into
cloudflare:mainfrom
armfazh:fixProdPair

Conversation

@armfazh

@armfazh armfazh commented May 6, 2026

Copy link
Copy Markdown
Contributor

This PR fixes degenerate pairing computations, i.e. one of the inputs is the point at infinity.
While Pair works, ProdPair and ProdPairFrac do not.
The core error is that affinize was not handling the points at infinity.

@armfazh
armfazh requested review from bwesterb and rozbb May 6, 2026 09:11
@armfazh armfazh added the fix-A-bug code that fix a bug label May 6, 2026
@armfazh
armfazh merged commit 6083cb0 into cloudflare:main May 6, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix-A-bug code that fix a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants