Documentation ¶
Overview ¶
Package group contains generic facilities for implementing cryptographic groups.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PointMarshalTo ¶
PointEncodeTo provides a generic implementation of Point.EncodeTo based on Point.Encode.
func PointUnmarshalFrom ¶
PointDecodeFrom provides a generic implementation of Point.DecodeFrom, based on Point.Decode, or Point.Pick if r is a Cipher or cipher.Stream. The returned byte-count is valid only when decoding from a normal Reader, not when picking from a pseudorandom source.
func ScalarMarshalTo ¶
ScalarEncodeTo provides a generic implementation of Scalar.EncodeTo based on Scalar.Encode.
func ScalarUnmarshalFrom ¶
ScalarDecodeFrom provides a generic implementation of Scalar.DecodeFrom, based on Scalar.Decode, or Scalar.Pick if r is a Cipher or cipher.Stream. The returned byte-count is valid only when decoding from a normal Reader, not when picking from a pseudorandom source.
Types ¶
This section is empty.