crypto/elliptic.CurveParams.N (field)
18 uses
crypto/elliptic (current package)
elliptic.go#L47: N *big.Int // the order of the base point
elliptic.go#L286: N := curve.Params().N
elliptic.go#L406: p384.N, _ = new(big.Int).SetString("39402006196394479212279040100143613805079739270465446667946905279627659399113263569398956308152294913554433653942643", 10)
elliptic.go#L417: p521.N, _ = new(big.Int).SetString("6864797660130609714981900799081393217269435300143305409394463459185543183397655394245057746333217197532963996371363321113864768612440380340372808892707005449", 10)
p224.go#L27: p224.N, _ = new(big.Int).SetString("26959946667150639794667015087019625940457807714424391721682722368061", 10)
p256_asm.go#L42: p256.N, _ = new(big.Int).SetString("115792089210356248762697446949407573529996955224135760342422259061068512044369", 10)
p256_asm.go#L119: if k.Cmp(p256.N) >= 0 {
p256_asm.go#L121: k = new(big.Int).Mod(k, p256.N)
p256_asm.go#L217: if n.Cmp(p256.N) >= 0 {
p256_asm.go#L218: n.Mod(n, p256.N)
crypto/ecdsa
ecdsa.go#L142: n := new(big.Int).Sub(params.N, one)
ecdsa.go#L169: orderBits := c.Params().N.BitLen()
ecdsa.go#L241: N := c.Params().N
ecdsa.go#L294: N := c.Params().N
ecdsa.go#L308: N := c.Params().N
crypto/x509
sec1.go#L55: privateKey := make([]byte, (key.Curve.Params().N.BitLen()+7)/8)
sec1.go#L94: curveOrder := curve.Params().N
golang.org/x/crypto/ssh
keys.go#L1423: if key.D.Cmp(curve.Params().N) >= 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. |