diff options
Diffstat (limited to 'tests/utils.py')
-rw-r--r-- | tests/utils.py | 6 |
1 files changed, 6 insertions, 0 deletions
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: |