package elliptic

Import Path
	github.com/pion/dtls/v2/pkg/crypto/elliptic (on go.dev)

Dependency Relation
	imports 5 packages, and imported by 4 packages

Involved Source Files Package elliptic provides elliptic curve cryptography for DTLS
Package-Level Type Names (total 4)
/* sort by: | */
Curve is used to represent the IANA registered curves for TLS https://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-8 ( Curve) String() string Curve : expvar.Var Curve : fmt.Stringer func Curves() map[Curve]bool func GenerateKeypair(c Curve) (*Keypair, error) func github.com/pion/dtls/v2/pkg/crypto/prf.EcdhePSKPreMasterSecret(psk, publicKey, privateKey []byte, curve Curve) ([]byte, error) func github.com/pion/dtls/v2/pkg/crypto/prf.PreMasterSecret(publicKey, privateKey []byte, curve Curve) ([]byte, error) const P256 const P384 const X25519
CurvePointFormat is used to represent the IANA registered curve points https://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-9 const CurvePointFormatUncompressed
CurveType is used to represent the IANA registered curve types for TLS https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-10 func CurveTypes() map[CurveType]struct{} const CurveTypeNamedCurve
Keypair is a Curve with a Private/Public Keypair Curve Curve PrivateKey []byte PublicKey []byte func GenerateKeypair(c Curve) (*Keypair, error)
Package-Level Functions (total 3)
Curves returns all curves we implement
CurveTypes returns all known curves
GenerateKeypair generates a keypair for the given Curve
Package-Level Constants (total 5)
CurvePointFormat enums
CurveType enums
Curve enums
Curve enums
Curve enums