Documentation ¶
Index ¶
- func GetCurveHalfOrdersAt(c elliptic.Curve) *big.Int
- func IsLowS(k *ecdsa.PublicKey, s *big.Int) (bool, error)
- func IsLowS_SM2(k *sm2.PublicKey, s *big.Int) (bool, error)
- func MarshalECDSASignature(r, s *big.Int) ([]byte, error)
- func MarshalSM2Signature(r, s *big.Int) ([]byte, error)
- func SignatureToLowS(k *ecdsa.PublicKey, signature []byte) ([]byte, error)
- func SignatureToLowS_SM2(k *sm2.PublicKey, signature []byte) ([]byte, error)
- func ToLowS(k *ecdsa.PublicKey, s *big.Int) (*big.Int, error)
- func ToLowS_SM2(k *sm2.PublicKey, s *big.Int) (*big.Int, error)
- func UnmarshalECDSASignature(raw []byte) (*big.Int, *big.Int, error)
- func UnmarshalSM2Signature(raw []byte) (*big.Int, *big.Int, error)
- type ECDSASignature
- type SM2Signature
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsLowS_SM2 ¶
IsLow checks that s is a low-S
func SignatureToLowS_SM2 ¶
Types ¶
type ECDSASignature ¶
type SM2Signature ¶
Click to show internal directories.
Click to hide internal directories.