golang.org/x/crypto/ssh.ecdh.curve (field)
13 uses
golang.org/x/crypto/ssh (current package)
kex.go#L221: curve elliptic.Curve
kex.go#L225: ephKey, err := ecdsa.GenerateKey(kex.curve, rand)
kex.go#L231: ClientPubKey: elliptic.Marshal(kex.curve, ephKey.PublicKey.X, ephKey.PublicKey.Y),
kex.go#L249: x, y, err := unmarshalECKey(kex.curve, reply.EphemeralPubKey)
kex.go#L255: secret, _ := kex.curve.ScalarMult(x, y, ephKey.D.Bytes())
kex.go#L257: h := ecHash(kex.curve).New()
kex.go#L271: Hash: ecHash(kex.curve),
kex.go#L328: clientX, clientY, err := unmarshalECKey(kex.curve, kexECDHInit.ClientPubKey)
kex.go#L336: ephKey, err := ecdsa.GenerateKey(kex.curve, rand)
kex.go#L343: serializedEphKey := elliptic.Marshal(kex.curve, ephKey.PublicKey.X, ephKey.PublicKey.Y)
kex.go#L346: secret, _ := kex.curve.ScalarMult(clientX, clientY, ephKey.D.Bytes())
kex.go#L348: h := ecHash(kex.curve).New()
kex.go#L383: Hash: ecHash(kex.curve),
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |