HomeSort by relevance Sort by last modified time
    Searched full:p224 (Results 1 - 25 of 49) sorted by null

1 2

  /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_test.go 29 ret.Mod(ret, p224.P)
p224.go 7 // This is a constant-time, 32-bit implementation of P224. See FIPS 186-3,
16 var p224 p224Curve
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_test.go 29 ret.Mod(ret, p224.P)
p224.go 7 // This is a constant-time, 32-bit implementation of P224. See FIPS 186-3,
16 var p224 p224Curve
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...]
  /external/libchrome/crypto/
p224_spake.cc 13 #include <crypto/p224.h>
30 // static const char kSeed1[] = "P224 point generation seed (M)";
31 // static const char kSeed2[] = "P224 point generation seed (N)";
42 // EC_GROUP* p224 = EC_GROUP_new_by_curve_name(NID_secp224r1);
43 // EC_POINT* p = EC_POINT_new(p224);
50 // p224, p, &x, digest[28] & 1, NULL)) {
52 // EC_POINT_get_affine_coordinates_GFp(p224, p, &x, &y, NULL);
71 // EC_GROUP_free(p224);
80 const crypto::p224::Point kM = {
88 const crypto::p224::Point kN =
    [all...]
p224.h 18 // P224 implements an elliptic curve group, commonly known as P224 and defined
20 namespace p224 { namespace in namespace:crypto
41 // P224 field.
60 } // namespace p224
crypto.gypi 80 'p224.cc',
81 'p224.h',
p224_spake.h 8 #include <crypto/p224.h>
114 uint8_t x_[p224::kScalarBytes];
117 uint8_t pw_[p224::kScalarBytes];
BUILD.gn 63 "p224.cc",
64 "p224.h",
p224.cc 5 // This is an implementation of the P224 elliptic curve group. It's written to
10 #include "crypto/p224.h"
35 using crypto::p224::FieldElement;
37 // kP is the P224 prime.
420 using crypto::p224::Point;
649 namespace p224 { namespace in namespace:crypto
745 } // namespace p224
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_spake.cc 15 #include "third_party/chromium/crypto/p224.h"
30 // static const char kSeed1[] = "P224 point generation seed (M)";
31 // static const char kSeed2[] = "P224 point generation seed (N)";
42 // EC_GROUP* p224 = EC_GROUP_new_by_curve_name(NID_secp224r1);
43 // EC_POINT* p = EC_POINT_new(p224);
50 // p224, p, &x, digest[28] & 1, NULL)) {
52 // EC_POINT_get_affine_coordinates_GFp(p224, p, &x, &y, NULL);
71 // EC_GROUP_free(p224);
80 const crypto::p224::Point kM = {
88 const crypto::p224::Point kN =
    [all...]
p224.h 17 // P224 implements an elliptic curve group, commonly known as P224 and defined
19 namespace p224 { namespace in namespace:crypto
40 // P224 field.
57 } // namespace p224
p224_spake.h 13 #include "third_party/chromium/crypto/p224.h"
115 uint8_t x_[p224::kScalarBytes];
118 uint8_t pw_[p224::kScalarBytes];
p224.cc 5 // This is an implementation of the P224 elliptic curve group. It's written to
10 #include "third_party/chromium/crypto/p224.h"
49 using crypto::p224::FieldElement;
51 // kP is the P224 prime.
449 using crypto::p224::Point;
678 namespace p224 { namespace in namespace:crypto
774 } // namespace p224
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/
CMakeLists.txt 21 p224-64.c
  /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/libweave/
file_lists.mk 149 third_party/chromium/crypto/p224.cc \
  /prebuilts/go/darwin-x86/pkg/darwin_amd64_race/crypto/
elliptic.a 147 func @"".P224 () (? @"".Curve)
    [all...]

Completed in 646 milliseconds

1 2