crypto/dsa.Parameters.P (field)
13 uses
crypto/dsa (current package)
dsa.go#L27: P, Q, G *big.Int
dsa.go#L132: params.P = p
dsa.go#L160: if priv.P == nil || priv.Q == nil || priv.G == nil {
dsa.go#L180: priv.Y.Exp(priv.G, x, priv.P)
dsa.go#L211: if priv.Q.Sign() <= 0 || priv.P.Sign() <= 0 || priv.G.Sign() <= 0 || priv.X.Sign() <= 0 || n%8 != 0 {
dsa.go#L238: r = new(big.Int).Exp(priv.G, k, priv.P)
dsa.go#L276: if pub.P.Sign() == 0 {
dsa.go#L302: v := u1.Exp(pub.G, u1, pub.P)
dsa.go#L303: u2.Exp(pub.Y, u2, pub.P)
dsa.go#L305: v.Mod(v, pub.P)
crypto/x509
parser.go#L297: P: new(big.Int),
parser.go#L304: !paramsDer.ReadASN1Integer(pub.Parameters.P) ||
parser.go#L309: if pub.Y.Sign() <= 0 || pub.Parameters.P.Sign() <= 0 ||
|
The pages are generated with Golds v0.6.7. (GOOS=linux 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. |