summaryrefslogtreecommitdiff
path: root/testing/tests/benchmarks/test_crypto.py
diff options
context:
space:
mode:
authorVictor Shyba <victor1984@riseup.net>2016-11-25 19:55:36 -0300
committerVictor Shyba <victor1984@riseup.net>2016-11-27 15:40:59 -0300
commit8c75187a6c38e7695d6de4214037eefe6da2e730 (patch)
tree30345cc47c5e4dabdb6bd78289cc87459c6851ec /testing/tests/benchmarks/test_crypto.py
parent3ea6e2a6055e5a249ce0ef6c90e0a99b47cda862 (diff)
[refactor] Hide IV, simplify some calls
IV was being set during tests and this required some defensive coding to avoid IV being set in production. This commits makes the test use the generated IV and "hides" it using a read-only property to let it clear this should never happen. Also refactored out some parameters that are generated automatically to reduce some lines of code and enhance readability.
Diffstat (limited to 'testing/tests/benchmarks/test_crypto.py')
0 files changed, 0 insertions, 0 deletions