Open matthiasgeihs opened 1 year ago
https://github.com/ethereum/go-ethereum/blob/ec2ec2d08e28571dc189903f743cc3931da254a9/crypto/crypto.go#L175-L180
pub.Curve may be different from S256(). However, here marshaling is fixed to S256().
pub.Curve
S256()
This may be problematic if the function is used externally with different curves.
Any thoughts?
We do not support any elliptic curves beyond secp256k1 in package crypto. Probably this information should be added to the documentation.
https://github.com/ethereum/go-ethereum/blob/ec2ec2d08e28571dc189903f743cc3931da254a9/crypto/crypto.go#L175-L180
pub.Curve
may be different fromS256()
. However, here marshaling is fixed toS256()
.This may be problematic if the function is used externally with different curves.
Any thoughts?