aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_utils.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-03-17 20:50:03 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2014-03-17 20:50:03 -0700
commit38c42635490d24d7ee88041b52002156c6f5a676 (patch)
tree34606dbe780ec7704051f26b0f12ab8755fca812 /tests/test_utils.py
parent0380374fdae7bd744e46ad526af721fae11aa475 (diff)
parenta38e8e580c09cebcab528be7e806f63539498f94 (diff)
downloadcryptography-38c42635490d24d7ee88041b52002156c6f5a676.tar.gz
cryptography-38c42635490d24d7ee88041b52002156c6f5a676.tar.bz2
cryptography-38c42635490d24d7ee88041b52002156c6f5a676.zip
Merge pull request #792 from reaperhulk/rsa-pss-verify
RSA PSS Verify
Diffstat (limited to 'tests/test_utils.py')
-rw-r--r--tests/test_utils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_utils.py b/tests/test_utils.py
index 433dab04..6d2ef362 100644
--- a/tests/test_utils.py
+++ b/tests/test_utils.py
@@ -1075,7 +1075,7 @@ def test_load_rsa_nist_vectors():
"modulus": int("bcb47b2e0dafcba81ff2a2b5cb115ca7e757184c9d72bcdcda"
"707a146b3b4e29989d", 16),
"public_exponent": 65537,
- "algorithm": b"SHA1",
+ "algorithm": "SHA1",
"salt_length": 20,
"msg": b"1248f62a4389f42f7b4bb131053d6c88a994db2075b912ccbe3ea7dc6"
b"11714f14e",
@@ -1086,7 +1086,7 @@ def test_load_rsa_nist_vectors():
"modulus": int("bcb47b2e0dafcba81ff2a2b5cb115ca7e757184c9d72bcdcda"
"707a146b3b4e29989d", 16),
"public_exponent": 65537,
- "algorithm": b"SHA384",
+ "algorithm": "SHA384",
"salt_length": 20,
"msg": b"e511903c2f1bfba245467295ac95413ac4746c984c3750a728c388aa6"
b"28b0ebf",
@@ -1096,7 +1096,7 @@ def test_load_rsa_nist_vectors():
{
"modulus": 78187493520,
"public_exponent": 65537,
- "algorithm": b"SHA512",
+ "algorithm": "SHA512",
"salt_length": 20,
"msg": b"3456781293fab829",
"s": b"deadbeef0000"