/prebuilts/go/darwin-x86/src/crypto/elliptic/ |
elliptic_test.go | 16 p224 := P224() 17 if !p224.IsOnCurve(p224.Params().Gx, p224.Params().Gy) { 23 p224 := P224() 25 if p224.IsOnCurve(x, y) { 28 b := Marshal(p224, x, y) 29 x1, y1 := Unmarshal(p224, b [all...] |
p224.go | 7 // This is a constant-time, 32-bit implementation of P224. See FIPS 186-3, 16 var p224 p224Curve var 25 p224.CurveParams = &CurveParams{Name: "P-224"} 26 p224.P, _ = new(big.Int).SetString("26959946667150639794667015087019630673557916260026308143510066298881", 10) 27 p224.N, _ = new(big.Int).SetString("26959946667150639794667015087019625940457807714424391721682722368061", 10) 28 p224.B, _ = new(big.Int).SetString("b4050a850c04b3abf54132565044b0b7d7bfd8ba270b39432355ffb4", 16) 29 p224.Gx, _ = new(big.Int).SetString("b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21", 16) 30 p224.Gy, _ = new(big.Int).SetString("bd376388b5f723fb4c22dfe6cd4375a05a07476444d5819985007e34", 16) 31 p224.BitSize = 224 33 p224FromBig(&p224.gx, p224.Gx [all...] |
/prebuilts/go/linux-x86/src/crypto/elliptic/ |
elliptic_test.go | 16 p224 := P224() 17 if !p224.IsOnCurve(p224.Params().Gx, p224.Params().Gy) { 23 p224 := P224() 25 if p224.IsOnCurve(x, y) { 28 b := Marshal(p224, x, y) 29 x1, y1 := Unmarshal(p224, b [all...] |
p224.go | 7 // This is a constant-time, 32-bit implementation of P224. See FIPS 186-3, 16 var p224 p224Curve var 25 p224.CurveParams = &CurveParams{Name: "P-224"} 26 p224.P, _ = new(big.Int).SetString("26959946667150639794667015087019630673557916260026308143510066298881", 10) 27 p224.N, _ = new(big.Int).SetString("26959946667150639794667015087019625940457807714424391721682722368061", 10) 28 p224.B, _ = new(big.Int).SetString("b4050a850c04b3abf54132565044b0b7d7bfd8ba270b39432355ffb4", 16) 29 p224.Gx, _ = new(big.Int).SetString("b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21", 16) 30 p224.Gy, _ = new(big.Int).SetString("bd376388b5f723fb4c22dfe6cd4375a05a07476444d5819985007e34", 16) 31 p224.BitSize = 224 33 p224FromBig(&p224.gx, p224.Gx [all...] |
/prebuilts/go/darwin-x86/src/crypto/ecdsa/ |
ecdsa_test.go | 36 testKeyGeneration(t, elliptic.P224(), "p224") 66 testSignAndVerify(t, elliptic.P224(), "p224") 103 testNonceSafety(t, elliptic.P224(), "p224") 138 testINDCCA(t, elliptic.P224(), "p224") 205 pub.Curve = elliptic.P224()
|
/prebuilts/go/linux-x86/src/crypto/ecdsa/ |
ecdsa_test.go | 36 testKeyGeneration(t, elliptic.P224(), "p224") 66 testSignAndVerify(t, elliptic.P224(), "p224") 103 testNonceSafety(t, elliptic.P224(), "p224") 138 testINDCCA(t, elliptic.P224(), "p224") 205 pub.Curve = elliptic.P224()
|
/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") 78 case "P224": 79 priv, err = ecdsa.GenerateKey(elliptic.P224(), rand.Reader)
|
/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") 78 case "P224": 79 priv, err = ecdsa.GenerateKey(elliptic.P224(), rand.Reader)
|
/external/libchrome/crypto/ |
p224_unittest.cc | 10 #include "crypto/p224.h" 17 using p224::Point; 19 // kBasePointExternal is the P224 base point in external representation. 38 // kNISTTestVectors are the NIST test vectors for P224. 771 TEST(P224, ExternalToInternalAndBack) { 785 TEST(P224, ScalarBaseMult) { 789 p224::ScalarBaseMult(kNISTTestVectors[i].scalar, &point); 797 TEST(P224, Addition) { 805 p224::Negate(b, &minus_b); 806 p224::Add(a, b, &sum) [all...] |
/external/libweave/third_party/chromium/crypto/ |
p224_unittest.cc | 5 #include "third_party/chromium/crypto/p224.h" 17 using p224::Point; 19 // kBasePointExternal is the P224 base point in external representation. 38 // kNISTTestVectors are the NIST test vectors for P224. 771 TEST(P224, ExternalToInternalAndBack) { 785 TEST(P224, ScalarBaseMult) { 789 p224::ScalarBaseMult(kNISTTestVectors[i].scalar, &point); 797 TEST(P224, Addition) { 805 p224::Negate(b, &minus_b); 806 p224::Add(a, b, &sum) [all...] |
/external/boringssl/src/crypto/ec/ |
ec.c | 82 static const struct curve_data P224 = { 247 NID_secp224r1, &P224,
|
/prebuilts/go/darwin-x86/src/crypto/x509/ |
x509.go | 335 return elliptic.P224() 348 case elliptic.P224(): [all...] |
/prebuilts/go/linux-x86/src/crypto/x509/ |
x509.go | 335 return elliptic.P224() 348 case elliptic.P224(): [all...] |
/external/boringssl/src/ssl/test/runner/ |
key_agreement.go | 328 return &ellipticECDHCurve{curve: elliptic.P224()}, true
|