diff options
-rw-r--r-- | crypto/src/asn1/sec/SECNamedCurves.cs | 24 | ||||
-rw-r--r-- | crypto/src/crypto/ec/CustomNamedCurves.cs | 18 |
2 files changed, 21 insertions, 21 deletions
diff --git a/crypto/src/asn1/sec/SECNamedCurves.cs b/crypto/src/asn1/sec/SECNamedCurves.cs index 7e2afbe6e..60d456ef0 100644 --- a/crypto/src/asn1/sec/SECNamedCurves.cs +++ b/crypto/src/asn1/sec/SECNamedCurves.cs @@ -186,9 +186,9 @@ namespace Org.BouncyCastle.Asn1.Sec new BigInteger[]{ new BigInteger("127971af8721782ecffa3", 16), new BigInteger("9162fbe73984472a0a9e", 16) }, - new BigInteger("48b17df39cc22395054e8", 16), - new BigInteger("4b1a0f889c499de17a820", 16), - 163); + new BigInteger("9162fbe73984472a0a9d0590", 16), + new BigInteger("96341f1138933bc2f503fd44", 16), + 176); ECCurve curve = ConfigureCurveGlv(new FpCurve(p, a, b, n, h), glv); //ECPoint G = curve.DecodePoint(Hex.Decode("02" @@ -292,9 +292,9 @@ namespace Org.BouncyCastle.Asn1.Sec new BigInteger[]{ new BigInteger("12511cfe811d0f4e6bc688b4d", 16), new BigInteger("71169be7330b3038edb025f1", 16) }, - new BigInteger("1c45a6f9ccc2cc0e3b6c097c7", 16), - new BigInteger("2cfecd0037b1712b73ae19575", 16), - 194); + new BigInteger("71169be7330b3038edb025f1d0f9", 16), + new BigInteger("b3fb3400dec5c4adceb8655d4c94", 16), + 208); ECCurve curve = ConfigureCurveGlv(new FpCurve(p, a, b, n, h), glv); //ECPoint G = curve.DecodePoint(Hex.Decode("03" @@ -367,9 +367,9 @@ namespace Org.BouncyCastle.Asn1.Sec new BigInteger[]{ new BigInteger("1243ae1b4d71613bc9f780a03690e", 16), new BigInteger("6b8cf07d4ca75c88957d9d670591", 16) }, - new BigInteger("35c6783ea653ae444abeceb382c82", 16), - new BigInteger("5c56f89bc5375b9a04fd364e31bdd", 16), - 227); + new BigInteger("6b8cf07d4ca75c88957d9d67059037a4", 16), + new BigInteger("b8adf1378a6eb73409fa6c9c637ba7f5", 16), + 240); ECCurve curve = ConfigureCurveGlv(new FpCurve(p, a, b, n, h), glv); //ECPoint G = curve.DecodePoint(Hex.Decode("03" @@ -442,9 +442,9 @@ namespace Org.BouncyCastle.Asn1.Sec new BigInteger[]{ new BigInteger("114ca50f7a8e2f3f657c1108d9d44cfd8", 16), new BigInteger("3086d221a7d46bcde86c90e49284eb15", 16) }, - new BigInteger("c21b48869f51af37a1b243924a13ac55", 16), - new BigInteger("3910dfb58043a20a1bd51fea42aff9311", 16), - 258); + new BigInteger("3086d221a7d46bcde86c90e49284eb153dab", 16), + new BigInteger("e4437ed6010e88286f547fa90abfe4c42212", 16), + 272); ECCurve curve = ConfigureCurveGlv(new FpCurve(p, a, b, n, h), glv); //ECPoint G = curve.DecodePoint(Hex.Decode("02" diff --git a/crypto/src/crypto/ec/CustomNamedCurves.cs b/crypto/src/crypto/ec/CustomNamedCurves.cs index 5d2369349..8ff1d24c7 100644 --- a/crypto/src/crypto/ec/CustomNamedCurves.cs +++ b/crypto/src/crypto/ec/CustomNamedCurves.cs @@ -90,9 +90,9 @@ namespace Org.BouncyCastle.Crypto.EC new BigInteger[]{ new BigInteger("12511cfe811d0f4e6bc688b4d", 16), new BigInteger("71169be7330b3038edb025f1", 16) }, - new BigInteger("1c45a6f9ccc2cc0e3b6c097c7", 16), - new BigInteger("2cfecd0037b1712b73ae19575", 16), - 194); + new BigInteger("71169be7330b3038edb025f1d0f9", 16), + new BigInteger("b3fb3400dec5c4adceb8655d4c94", 16), + 208); ECCurve curve = ConfigureCurveGlv(new SecP192K1Curve(), glv); ECPoint G = curve.DecodePoint(Hex.Decode("04" + "DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D" @@ -144,9 +144,9 @@ namespace Org.BouncyCastle.Crypto.EC new BigInteger[]{ new BigInteger("1243ae1b4d71613bc9f780a03690e", 16), new BigInteger("6b8cf07d4ca75c88957d9d670591", 16) }, - new BigInteger("35c6783ea653ae444abeceb382c82", 16), - new BigInteger("5c56f89bc5375b9a04fd364e31bdd", 16), - 227); + new BigInteger("6b8cf07d4ca75c88957d9d67059037a4", 16), + new BigInteger("b8adf1378a6eb73409fa6c9c637ba7f5", 16), + 240); ECCurve curve = ConfigureCurveGlv(new SecP224K1Curve(), glv); ECPoint G = curve.DecodePoint(Hex.Decode("04" + "A1455B334DF099DF30FC28A169A467E9E47075A90F7E650EB6B7A45C" @@ -198,9 +198,9 @@ namespace Org.BouncyCastle.Crypto.EC new BigInteger[]{ new BigInteger("114ca50f7a8e2f3f657c1108d9d44cfd8", 16), new BigInteger("3086d221a7d46bcde86c90e49284eb15", 16) }, - new BigInteger("c21b48869f51af37a1b243924a13ac55", 16), - new BigInteger("3910dfb58043a20a1bd51fea42aff9311", 16), - 258); + new BigInteger("3086d221a7d46bcde86c90e49284eb153dab", 16), + new BigInteger("e4437ed6010e88286f547fa90abfe4c42212", 16), + 272); ECCurve curve = ConfigureCurveGlv(new SecP256K1Curve(), glv); ECPoint G = curve.DecodePoint(Hex.Decode("04" + "79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798" |