crypto/elliptic.CurveParams.P (field)
38 uses
crypto/elliptic (current package)
elliptic.go#L165: p := curve.Params().P
elliptic.go#L192: p := curve.Params().P
nistec.go#L22: P: bigFromDecimal("26959946667150639794667015087019630673557916260026308143510066298881"),
nistec.go#L43: P: bigFromDecimal("115792089210356248762697446949407573530086143415290314195533631308867097853951"),
nistec.go#L60: P: bigFromDecimal("394020061963944792122790401001436138050797392704654" +
nistec.go#L82: P: bigFromDecimal("68647976601306097149819007990813932172694353001433" +
params.go#L16: P *big.Int // the order of the underlying field
params.go#L45: x3.Mod(x3, curve.P)
params.go#L63: if x.Sign() < 0 || x.Cmp(curve.P) >= 0 ||
params.go#L64: y.Sign() < 0 || y.Cmp(curve.P) >= 0 {
params.go#L70: y2.Mod(y2, curve.P)
params.go#L93: zinv := new(big.Int).ModInverse(z, curve.P)
params.go#L97: xOut.Mod(xOut, curve.P)
params.go#L100: yOut.Mod(yOut, curve.P)
params.go#L143: z1z1.Mod(z1z1, curve.P)
params.go#L145: z2z2.Mod(z2z2, curve.P)
params.go#L148: u1.Mod(u1, curve.P)
params.go#L150: u2.Mod(u2, curve.P)
params.go#L154: h.Add(h, curve.P)
params.go#L162: s1.Mod(s1, curve.P)
params.go#L165: s2.Mod(s2, curve.P)
params.go#L168: r.Add(r, curve.P)
params.go#L182: x3.Mod(x3, curve.P)
params.go#L190: y3.Mod(y3, curve.P)
params.go#L197: z3.Mod(z3, curve.P)
params.go#L225: delta.Mod(delta, curve.P)
params.go#L227: gamma.Mod(gamma, curve.P)
params.go#L230: alpha.Add(alpha, curve.P)
params.go#L242: beta8.Mod(beta8, curve.P)
params.go#L245: x3.Add(x3, curve.P)
params.go#L247: x3.Mod(x3, curve.P)
params.go#L253: z3.Add(z3, curve.P)
params.go#L257: z3.Add(z3, curve.P)
params.go#L259: z3.Mod(z3, curve.P)
params.go#L264: beta.Add(beta, curve.P)
params.go#L270: gamma.Mod(gamma, curve.P)
params.go#L274: y3.Add(y3, curve.P)
params.go#L276: y3.Mod(y3, curve.P)
|
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. |