package
0.0.0-20220523101112-b7ec496fd55b
Repository: https://github.com/cosmos/keystone.git
Documentation: pkg.go.dev
# Functions
isSNormalized returns true for the integer sigS if sigS falls in lower half of the curve order It is expected that the caller passes the curve order as a big Int along with the s portion of the signature.
NormalizeS will invert the s value if not already in the lower half of curve order value by subtracting it from the curve order (N).
signatureRaw takes two big integers and returns a byte value that is the result of concatenating the byte values of each of the given integers.
unmarshalDER takes a DER-encoded byte array, and dumps it into a (hopefully-appropriate) struct.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
dsaSignature contains the two integers needed for an ECDSA signature value.
Options struct contains anything that is needed for configuring a plugin with one element initially, a path to a configuration, which can be interpreted differently by an individual plugin.
# Interfaces
Plugin interface specifies the methods required for implementation by a plugin.