summary refs log tree commit diff
path: root/crypto/test
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2018-10-14 19:49:21 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2018-10-14 19:49:21 +0700
commit074400e77f693d6feaa9e66d50cb4dcbe28b3d39 (patch)
tree09aaf5387fbbf90846e33b8dbfa12dc02a1187d6 /crypto/test
parentPort of CVC-ECDSA and PLAIN-ECDSA from Java (diff)
downloadBouncyCastle.NET-ed25519-074400e77f693d6feaa9e66d50cb4dcbe28b3d39.tar.xz
Handle CVC-ECDSA and PLAIN-ECDSA in test case
Diffstat (limited to 'crypto/test')
-rw-r--r--crypto/test/src/security/test/TestSignerUtil.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/test/src/security/test/TestSignerUtil.cs b/crypto/test/src/security/test/TestSignerUtil.cs
index dc3c1c81b..48bf49a63 100644
--- a/crypto/test/src/security/test/TestSignerUtil.cs
+++ b/crypto/test/src/security/test/TestSignerUtil.cs
@@ -140,7 +140,9 @@ namespace Org.BouncyCastle.Security.Tests
                     signParams = rsaPrivate;
                     verifyParams = rsaPublic;
                 }
-                else if (cipherName == "ECDSA")
+                else if (cipherName == "ECDSA"
+                    || cipherName == "CVC-ECDSA"
+                    || cipherName == "PLAIN-ECDSA")
                 {
                     signParams = ecPriv;
                     verifyParams = ecPub;