crypto/dsa.Parameters.Q (field)
22 uses
crypto/dsa (current package)
dsa.go#L27: P, Q, G *big.Int
dsa.go#L133: params.Q = q
dsa.go#L160: if priv.P == nil || priv.Q == nil || priv.G == nil {
dsa.go#L165: xBytes := make([]byte, priv.Q.BitLen()/8)
dsa.go#L173: if x.Sign() != 0 && x.Cmp(priv.Q) < 0 {
dsa.go#L210: n := priv.Q.BitLen()
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#L231: if k.Sign() > 0 && k.Cmp(priv.Q) < 0 {
dsa.go#L236: kInv := fermatInverse(k, priv.Q)
dsa.go#L239: r.Mod(r, priv.Q)
dsa.go#L249: s.Mod(s, priv.Q)
dsa.go#L251: s.Mod(s, priv.Q)
dsa.go#L280: if r.Sign() < 1 || r.Cmp(pub.Q) >= 0 {
dsa.go#L283: if s.Sign() < 1 || s.Cmp(pub.Q) >= 0 {
dsa.go#L287: w := new(big.Int).ModInverse(s, pub.Q)
dsa.go#L292: n := pub.Q.BitLen()
dsa.go#L299: u1.Mod(u1, pub.Q)
dsa.go#L301: u2.Mod(u2, pub.Q)
dsa.go#L306: v.Mod(v, pub.Q)
crypto/x509
parser.go#L298: Q: new(big.Int),
parser.go#L305: !paramsDer.ReadASN1Integer(pub.Parameters.Q) ||
parser.go#L310: pub.Parameters.Q.Sign() <= 0 || pub.Parameters.G.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. |