From 09328bbfb3306d3c7b02a44f12ecd22ce3ec700e Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Wed, 12 Feb 2014 23:57:27 -0600 Subject: add crt coefficients to RSAPrivateKey constructor and update tests --- tests/utils.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/utils.py') diff --git a/tests/utils.py b/tests/utils.py index 408b05f6..2bbecd7d 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -262,6 +262,12 @@ def load_pkcs1_vectors(vector_data): attr = "p" elif line.startswith("# Prime 2:"): attr = "q" + elif line.startswith("# Prime exponent 1:"): + attr = "dmp1" + elif line.startswith("# Prime exponent 2:"): + attr = "dmq1" + elif line.startswith("# Coefficient:"): + attr = "iqmp" elif line.startswith("#"): attr = None else: -- cgit v1.2.3