Skip to content

[refactor] Replace deprecated curve.IsOnCurve low-level API with crypto/ecdh for NIST curve validation and ECDH operations. #2515

@Unique-Divine

Description

@Unique-Divine

From the Compiler

x/evm/precompile/p256.go|89 col 11| curve.IsOnCurve is deprecated: this is a
low-level unsafe API. For ECDH, use the crypto/ecdhpackage. The NewPublicKey
methods of NIST curves in crypto/ecdh acceptthe same encoding as the Unmarshal
function, and perform on-curve checks.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

✅ Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions