diff options
author | Conrad Meyer <cem@FreeBSD.org> | 2017-09-22 04:25:44 +0000 |
---|---|---|
committer | Conrad Meyer <cem@FreeBSD.org> | 2017-09-22 04:25:44 +0000 |
commit | e720124622cc186bce02147f1b64b4e463da9250 (patch) | |
tree | 70734a610e4ab71a6282c2b5be29dcac71834dd0 /tests/sys | |
parent | 832d45d219659ecc0396f1849b56c2ac38574172 (diff) | |
download | src-e720124622cc186bce02147f1b64b4e463da9250.tar.gz src-e720124622cc186bce02147f1b64b4e463da9250.zip |
cryptotest.py: Fix whitespace style errors
I accidentally introduced different whitespace style in r323878. I'm not
used to using tabs for indentation in Python scripts.
Whitespace only; no functional change.
Sponsored by: Dell EMC Isilon
Notes
Notes:
svn path=/head/; revision=323898
Diffstat (limited to 'tests/sys')
-rw-r--r-- | tests/sys/opencrypto/cryptotest.py | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/tests/sys/opencrypto/cryptotest.py b/tests/sys/opencrypto/cryptotest.py index 0281808d7dcc..d21e7ebc2d26 100644 --- a/tests/sys/opencrypto/cryptotest.py +++ b/tests/sys/opencrypto/cryptotest.py @@ -249,29 +249,29 @@ def GenTestCase(cname): blocksize = None if hashlen == 20: - alg = cryptodev.CRYPTO_SHA1_HMAC - blocksize = 64 + alg = cryptodev.CRYPTO_SHA1_HMAC + blocksize = 64 elif hashlen == 28: - # Cryptodev doesn't support SHA-224 - # Slurp remaining input in section - for data in lines: + # Cryptodev doesn't support SHA-224 + # Slurp remaining input in section + for data in lines: + continue continue - continue elif hashlen == 32: - alg = cryptodev.CRYPTO_SHA2_256_HMAC - blocksize = 64 + alg = cryptodev.CRYPTO_SHA2_256_HMAC + blocksize = 64 elif hashlen == 48: - alg = cryptodev.CRYPTO_SHA2_384_HMAC - blocksize = 128 + alg = cryptodev.CRYPTO_SHA2_384_HMAC + blocksize = 128 elif hashlen == 64: - alg = cryptodev.CRYPTO_SHA2_512_HMAC - blocksize = 128 + alg = cryptodev.CRYPTO_SHA2_512_HMAC + blocksize = 128 else: - # Skip unsupported hashes - # Slurp remaining input in section - for data in lines: + # Skip unsupported hashes + # Slurp remaining input in section + for data in lines: + continue continue - continue for data in lines: key = data['Key'].decode('hex') |