Documentation
¶
Overview ¶
Package internal values, structures, and functions that are not part of the public API.
Index ¶
- func DstPrime(dst []byte) []byte
- func ExpandXMD(id crypto.Hash, input, dst []byte, length uint) []byte
- func ExpandXOF(ext *hash.ExtendableHash, input, dst []byte, length uint) []byte
- func I2OSP(value, length uint) []byte
- func MapToCurveSSWU(fp *field.Field, a, b, z, fe *big.Int) (x, y *big.Int)
- func VetDSTXMD(h hash.Hash, dst []byte) []byte
- func VetXofDST(x *hash.ExtendableHash, dst []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandXMD ¶
ExpandXMD implements expand_message_xmd as specified in RFC 9380 section 5.3.1.
func ExpandXOF ¶
func ExpandXOF(ext *hash.ExtendableHash, input, dst []byte, length uint) []byte
ExpandXOF implements expand_message_xof as specified in RFC 9380 section 5.3.2.
func MapToCurveSSWU ¶
MapToCurveSSWU implements the Simplified SWU method for Weierstrass curves for any base field.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.