golang.org/x/crypto/ssh.dhGroup.pMinus1 (field)
6 uses
golang.org/x/crypto/ssh (current package)
kex.go#L88: g, p, pMinus1 *big.Int
kex.go#L92: if theirPublic.Cmp(bigOne) <= 0 || theirPublic.Cmp(group.pMinus1) >= 0 {
kex.go#L104: if x, err = rand.Int(randSource, group.pMinus1); err != nil {
kex.go#L166: if y, err = rand.Int(randSource, group.pMinus1); err != nil {
kex.go#L396: pMinus1: new(big.Int).Sub(p, bigOne),
kex.go#L406: pMinus1: new(big.Int).Sub(p, bigOne),
 |
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. |