golang.org/x/crypto/ssh.dhGEXSHA.p (field)
13 uses
golang.org/x/crypto/ssh (current package)
kex.go#L556: g, p *big.Int
kex.go#L567: if theirPublic.Sign() <= 0 || theirPublic.Cmp(gex.p) >= 0 {
kex.go#L570: return new(big.Int).Exp(theirPublic, myPrivate, gex.p), nil
kex.go#L600: gex.p = kexDHGexGroup.P
kex.go#L606: pMinusOne.Sub(gex.p, one)
kex.go#L613: pHalf.Rsh(gex.p, 1)
kex.go#L618: X := new(big.Int).Exp(gex.g, x, gex.p)
kex.go#L653: writeInt(h, gex.p)
kex.go#L705: gex.p = p
kex.go#L709: P: gex.p,
kex.go#L727: pHalf.Rsh(gex.p, 1)
kex.go#L734: Y := new(big.Int).Exp(gex.g, y, gex.p)
kex.go#L748: writeInt(h, gex.p)
 |
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. |