diff options
author | Alex Stapleton <alexs@prol.etari.at> | 2014-04-19 09:01:25 +0100 |
---|---|---|
committer | Alex Stapleton <alexs@prol.etari.at> | 2014-04-19 09:06:20 +0100 |
commit | 6f729490b1934adbdf8052824e5b39f20c3fd233 (patch) | |
tree | f0ffbda19d06ea875face76ba89d36edbd0f8f38 /tests/utils.py | |
parent | 9fa31c6353af3ab32edd6f6988725886d0e2aa4c (diff) | |
download | cryptography-6f729490b1934adbdf8052824e5b39f20c3fd233.tar.gz cryptography-6f729490b1934adbdf8052824e5b39f20c3fd233.tar.bz2 cryptography-6f729490b1934adbdf8052824e5b39f20c3fd233.zip |
SigVer.rsp loading
Diffstat (limited to 'tests/utils.py')
-rw-r--r-- | tests/utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/utils.py b/tests/utils.py index 77999955..df291e0a 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -531,8 +531,9 @@ def load_fips_ecdsa_signing_vectors(vector_data): data["s"] = int(line.split("=")[1], 16) elif line.startswith("d = "): data["d"] = int(line.split("=")[1], 16) + elif line.startswith("Result = "): + data["fail"] = line.split("=")[1].strip()[0] == "F" if data is not None: vectors.append(data) - return vectors |