diff options
author | David Hook <dgh@cryptoworkshop.com> | 2022-03-23 14:26:36 +1100 |
---|---|---|
committer | David Hook <dgh@cryptoworkshop.com> | 2022-03-23 14:26:36 +1100 |
commit | 377a6f0d2bf1c01cd297c491998245056b8ebff7 (patch) | |
tree | fee0cc5c52b05700fd63bdb6df9ef498ddf0e9a1 /crypto/src/asn1/anssi/ANSSINamedCurves.cs | |
parent | Merge remote-tracking branch 'refs/remotes/origin/master' (diff) | |
download | BouncyCastle.NET-ed25519-377a6f0d2bf1c01cd297c491998245056b8ebff7.tar.xz |
added RSA/EC checks
Diffstat (limited to 'crypto/src/asn1/anssi/ANSSINamedCurves.cs')
-rw-r--r-- | crypto/src/asn1/anssi/ANSSINamedCurves.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/anssi/ANSSINamedCurves.cs b/crypto/src/asn1/anssi/ANSSINamedCurves.cs index 48017fc2a..3a9e4dd03 100644 --- a/crypto/src/asn1/anssi/ANSSINamedCurves.cs +++ b/crypto/src/asn1/anssi/ANSSINamedCurves.cs @@ -48,7 +48,7 @@ namespace Org.BouncyCastle.Asn1.Anssi BigInteger n = FromHex("F1FD178C0B3AD58F10126DE8CE42435B53DC67E140D2BF941FFDD459C6D655E1"); BigInteger h = BigInteger.One; - return ConfigureCurve(new FpCurve(p, a, b, n, h)); + return ConfigureCurve(new FpCurve(p, a, b, n, h, true)); } protected override X9ECParameters CreateParameters() |