crypto/elliptic.CurveParams.P (field)
40 uses
crypto/elliptic (current package)
elliptic.go#L46: P *big.Int // the order of the underlying field
elliptic.go#L68: x3.Mod(x3, curve.P)
elliptic.go#L76: y2.Mod(y2, curve.P)
elliptic.go#L99: zinv := new(big.Int).ModInverse(z, curve.P)
elliptic.go#L103: xOut.Mod(xOut, curve.P)
elliptic.go#L106: yOut.Mod(yOut, curve.P)
elliptic.go#L135: z1z1.Mod(z1z1, curve.P)
elliptic.go#L137: z2z2.Mod(z2z2, curve.P)
elliptic.go#L140: u1.Mod(u1, curve.P)
elliptic.go#L142: u2.Mod(u2, curve.P)
elliptic.go#L146: h.Add(h, curve.P)
elliptic.go#L154: s1.Mod(s1, curve.P)
elliptic.go#L157: s2.Mod(s2, curve.P)
elliptic.go#L160: r.Add(r, curve.P)
elliptic.go#L174: x3.Mod(x3, curve.P)
elliptic.go#L182: y3.Mod(y3, curve.P)
elliptic.go#L189: z3.Mod(z3, curve.P)
elliptic.go#L204: delta.Mod(delta, curve.P)
elliptic.go#L206: gamma.Mod(gamma, curve.P)
elliptic.go#L209: alpha.Add(alpha, curve.P)
elliptic.go#L221: beta8.Mod(beta8, curve.P)
elliptic.go#L224: x3.Add(x3, curve.P)
elliptic.go#L226: x3.Mod(x3, curve.P)
elliptic.go#L232: z3.Add(z3, curve.P)
elliptic.go#L236: z3.Add(z3, curve.P)
elliptic.go#L238: z3.Mod(z3, curve.P)
elliptic.go#L243: beta.Add(beta, curve.P)
elliptic.go#L249: gamma.Mod(gamma, curve.P)
elliptic.go#L253: y3.Add(y3, curve.P)
elliptic.go#L255: y3.Mod(y3, curve.P)
elliptic.go#L348: p := curve.Params().P
elliptic.go#L371: p := curve.Params().P
elliptic.go#L405: p384.P, _ = new(big.Int).SetString("39402006196394479212279040100143613805079739270465446667948293404245721771496870329047266088258938001861606973112319", 10)
elliptic.go#L416: p521.P, _ = new(big.Int).SetString("6864797660130609714981900799081393217269435300143305409394463459185543183397656052122559640661454554977296311391480858037121987999716643812574028291115057151", 10)
p224.go#L26: p224.P, _ = new(big.Int).SetString("26959946667150639794667015087019630673557916260026308143510066298881", 10)
p256_asm.go#L41: p256.P, _ = new(big.Int).SetString("115792089210356248762697446949407573530086143415290314195533631308867097853951", 10)
p256_asm.go#L229: if in.Cmp(p256.P) < 0 {
p256_asm.go#L232: return new(big.Int).Mod(in, p256.P)
golang.org/x/crypto/ssh
kex.go#L294: if x.Cmp(curve.Params().P) >= 0 {
kex.go#L298: if y.Cmp(curve.Params().P) >= 0 {
 |
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. |