From 377a6f0d2bf1c01cd297c491998245056b8ebff7 Mon Sep 17 00:00:00 2001 From: David Hook Date: Wed, 23 Mar 2022 14:26:36 +1100 Subject: added RSA/EC checks --- crypto/src/asn1/anssi/ANSSINamedCurves.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/src/asn1/anssi') 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() -- cgit 1.4.1