Lines Matching full:p256
7 // This file contains a constant-time, 32-bit implementation of P256.
18 p256 p256Curve
26 p256.CurveParams = &CurveParams{Name: "P-256"}
27 p256.P, _ = new(big.Int).SetString("115792089210356248762697446949407573530086143415290314195533631308867097853951", 10)
28 p256.N, _ = new(big.Int).SetString("115792089210356248762697446949407573529996955224135760342422259061068512044369", 10)
29 p256.B, _ = new(big.Int).SetString("5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b", 16)
30 p256.Gx, _ = new(big.Int).SetString("6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296", 16)
31 p256.Gy, _ = new(big.Int).SetString("4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5", 16)
32 p256.BitSize = 256
48 if n.Cmp(p256.N) >= 0 {
49 n.Mod(n, p256.N)
1144 tmp.Mod(tmp, p256.P)
1184 result.Mod(result, p256.P)