4 Commits

Author SHA1 Message Date
Brian Smith
9968baa55d Report some details of why asymmetric keys were rejected. 2018-11-28 11:52:18 -10:00
Brian Smith
d42f9d5e21 Fix test cases in PKCS#8.
The test case was accidentally a duplicate of the one that follows it.
Fix it so that it is badly encoded in the way described in the comment.
2018-11-28 11:22:37 -10:00
Gavin Li
c95e96bb48 Add support for keys where p < q
Support them by swapping (p, dP) and (q, dQ) and recalculating qInv
ourselves. Added a few test vectors for |p < q|
parsing/signing/verification.

I agree to license my contributions to each file under the terms given
at the top of each file I changed.
2018-05-04 08:57:38 -10:00
Brian Smith
30093dd947 Convert RSA PKCS#8 tests to file tests. 2017-05-16 18:00:02 -10:00