/prebuilts/go/darwin-x86/src/crypto/elliptic/ |
elliptic_test.go | 339 p256 := P256() 340 p256Generic := p256.Params() 352 x, y := p256.ScalarBaseMult(k.Bytes()) 365 p256 := P256() 366 p256Generic := p256.Params() 373 xx, yy := p256.ScalarMult(x, y, k.Bytes()) 390 {"p256", P256()}, [all...] |
elliptic.go | 362 // P256 returns a Curve which implements P-256 (see FIPS 186-3, section D.2.3) 363 func P256() Curve { 365 return p256
|
p256.go | 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 17 p256 p256Curve var [all...] |
/prebuilts/go/linux-x86/src/crypto/elliptic/ |
elliptic_test.go | 339 p256 := P256() 340 p256Generic := p256.Params() 352 x, y := p256.ScalarBaseMult(k.Bytes()) 365 p256 := P256() 366 p256Generic := p256.Params() 373 xx, yy := p256.ScalarMult(x, y, k.Bytes()) 390 {"p256", P256()}, [all...] |
elliptic.go | 362 // P256 returns a Curve which implements P-256 (see FIPS 186-3, section D.2.3) 363 func P256() Curve { 365 return p256
|
p256.go | 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 17 p256 p256Curve var [all...] |
/prebuilts/go/darwin-x86/src/crypto/ecdsa/ |
ecdsa_test.go | 40 testKeyGeneration(t, elliptic.P256(), "p256") 70 testSignAndVerify(t, elliptic.P256(), "p256") 107 testNonceSafety(t, elliptic.P256(), "p256") 142 testINDCCA(t, elliptic.P256(), "p256") 207 pub.Curve = elliptic.P256()
|
/prebuilts/go/linux-x86/src/crypto/ecdsa/ |
ecdsa_test.go | 40 testKeyGeneration(t, elliptic.P256(), "p256") 70 testSignAndVerify(t, elliptic.P256(), "p256") 107 testNonceSafety(t, elliptic.P256(), "p256") 142 testINDCCA(t, elliptic.P256(), "p256") 207 pub.Curve = elliptic.P256()
|
/prebuilts/go/darwin-x86/src/crypto/tls/ |
generate_cert.go | 36 ecdsaCurve = flag.String("ecdsa-curve", "", "ECDSA curve to use to generate a key. Valid values are P224, P256, P384, P521") 80 case "P256": 81 priv, err = ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
|
key_agreement.go | 161 return elliptic.P256(), true
|
/prebuilts/go/linux-x86/src/crypto/tls/ |
generate_cert.go | 36 ecdsaCurve = flag.String("ecdsa-curve", "", "ECDSA curve to use to generate a key. Valid values are P224, P256, P384, P521") 80 case "P256": 81 priv, err = ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
|
key_agreement.go | 161 return elliptic.P256(), true
|
/external/boringssl/src/crypto/ec/ |
ec.c | 112 static const struct curve_data P256 = { 234 NID_X9_62_prime256v1, &P256,
|
/prebuilts/go/darwin-x86/src/crypto/x509/ |
x509_test.go | 322 ecdsaPriv, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader) 500 priv, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader) [all...] |
x509.go | 337 return elliptic.P256() 350 case elliptic.P256(): [all...] |
/prebuilts/go/linux-x86/src/crypto/x509/ |
x509_test.go | 322 ecdsaPriv, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader) 500 priv, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader) [all...] |
x509.go | 337 return elliptic.P256() 350 case elliptic.P256(): [all...] |
/external/boringssl/src/ssl/test/runner/ |
handshake_server.go | 824 if !elliptic.P256().IsOnCurve(x, y) { 827 channelID := &ecdsa.PublicKey{elliptic.P256(), x, y}
|
handshake_client.go | 878 if c.config.ChannelID.Curve != elliptic.P256() {
|
key_agreement.go | 330 return &ellipticECDHCurve{curve: elliptic.P256()}, true
|
runner.go | 88 if channelIDKey.Curve != elliptic.P256() { [all...] |