crypto/internal/fips140/ecdh
Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Point ¶
type Point[P any] interface { *nistec.P224Point | *nistec.P256Point | *nistec.P384Point | *nistec.P521Point Bytes() []byte BytesX() ([]byte, error) SetBytes([]byte) (P, error) ScalarMult(P, []byte) (P, error) ScalarBaseMult([]byte) (P, error) }
Point is a generic constraint for the nistec Point types.
type PrivateKey ¶
type PrivateKey struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.