Switched from NIST curve P-384 to RFC 5639 curve brainpoolP384r1.

This commit is contained in:
akwizgran
2013-11-24 15:11:46 +00:00
parent 0325bba86c
commit 27c4306e03
6 changed files with 99 additions and 50 deletions

View File

@@ -101,7 +101,8 @@ public class ConstantsTest extends BriarTestCase {
sig.initSign(keyPair.getPrivate());
sig.update(toBeSigned);
byte[] signature = sig.sign();
assertTrue(signature.length <= MAX_SIGNATURE_LENGTH);
assertTrue("Length " + signature.length,
signature.length <= MAX_SIGNATURE_LENGTH);
}
}