MCPcopy Create free account
hub / github.com/XTLS/Go / SharedKey

Method SharedKey

key_schedule.go:109–109  ·  view source on GitHub ↗
(peerPublicKey []byte)

Source from the content-addressed store, hash-verified

107 CurveID() CurveID
108 PublicKey() []byte
109 SharedKey(peerPublicKey []byte) []byte
110}
111
112func generateECDHEParameters(rand io.Reader, curveID CurveID) (ecdheParameters, error) {

Callers 4

processClientHelloMethod · 0.65

Implementers 2

nistParameterskey_schedule.go
x25519Parameterskey_schedule.go

Calls

no outgoing calls

Tested by

no test coverage detected