Skip to content

std: fix compile errors in std.crypto.ecc#23797

Merged
jedisct1 merged 1 commit intoziglang:masterfrom
HydroH:hydroh/20505-ecc
May 5, 2025
Merged

std: fix compile errors in std.crypto.ecc#23797
jedisct1 merged 1 commit intoziglang:masterfrom
HydroH:hydroh/20505-ecc

Conversation

@HydroH
Copy link
Contributor

@HydroH HydroH commented May 5, 2025

Implemented neg() method for AffineCoordinates struct of p256, p384 and secp256k1 curves.

Rust implementation reference: https://docs.rs/primeorder/0.13.6/src/primeorder/affine.rs.html#433

Contributes to #20505.

Implemented `neg()` method for `AffineCoordinates` struct of p256,
p384 and secp256k1 curves.

Resolves: ziglang#20505 (partially)
@alexrp alexrp requested a review from jedisct1 May 5, 2025 12:41
@jedisct1 jedisct1 enabled auto-merge (squash) May 5, 2025 13:27
@jedisct1 jedisct1 merged commit a14352b into ziglang:master May 5, 2025
9 checks passed
@alexrp alexrp added this to the 0.14.1 milestone May 8, 2025
@HydroH HydroH deleted the hydroh/20505-ecc branch May 9, 2025 12:43
dasimmet pushed a commit to dasimmet/zig that referenced this pull request Aug 4, 2025
Implemented `neg()` method for `AffineCoordinates` struct of p256,
p384 and secp256k1 curves.

Resolves: ziglang#20505 (partially)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants