diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-03-16 17:47:22 -0400 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-03-16 17:47:22 -0400 |
commit | 762014e1a48606447a43187f522196a35628de1b (patch) | |
tree | 669f4f0074056cc2c1a9f3be4d217047a3b64d78 | |
parent | 61013edb980fea359355a8d0bb8d948da1643aac (diff) | |
download | cryptography-762014e1a48606447a43187f522196a35628de1b.tar.gz cryptography-762014e1a48606447a43187f522196a35628de1b.tar.bz2 cryptography-762014e1a48606447a43187f522196a35628de1b.zip |
fix indentation
-rw-r--r-- | tests/hazmat/primitives/utils.py | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/tests/hazmat/primitives/utils.py b/tests/hazmat/primitives/utils.py index 38f67046..884ce00c 100644 --- a/tests/hazmat/primitives/utils.py +++ b/tests/hazmat/primitives/utils.py @@ -388,21 +388,21 @@ def generate_rsa_pss_test(param_loader, path, file_names, hash_name): def rsa_pss_test(backend, params): - public_key = rsa.RSAPublicKey( - public_exponent=params["public_exponent"], - modulus=params["modulus"] - ) - hash_cls = getattr(hashes, params["algorithm"].decode("utf8")) - verifier = public_key.verifier( - binascii.unhexlify(params["s"]), - padding.PSS( - mgf=padding.MGF1( - algorithm=hash_cls(), - salt_length=params["salt_length"] - ) - ), - hash_cls(), - backend - ) - verifier.update(binascii.unhexlify(params["msg"])) - verifier.verify() + public_key = rsa.RSAPublicKey( + public_exponent=params["public_exponent"], + modulus=params["modulus"] + ) + hash_cls = getattr(hashes, params["algorithm"].decode("utf8")) + verifier = public_key.verifier( + binascii.unhexlify(params["s"]), + padding.PSS( + mgf=padding.MGF1( + algorithm=hash_cls(), + salt_length=params["salt_length"] + ) + ), + hash_cls(), + backend + ) + verifier.update(binascii.unhexlify(params["msg"])) + verifier.verify() |