diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-25 05:10:40 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-25 05:10:40 +0300 |
commit | 8ebebf9f27070bccd4df8949aadf4ca2860bf4b1 (patch) | |
tree | 9c1c9519dcbaf6cbaabeef3d6785b2d1b7f153ca /test/nist-sp-800-38a.py | |
parent | cxx: import more stuff (diff) | |
download | aes-tools-8ebebf9f27070bccd4df8949aadf4ca2860bf4b1.tar.gz aes-tools-8ebebf9f27070bccd4df8949aadf4ca2860bf4b1.zip |
merge specialized block utils into general ones
... taking advantage of the new template interface.
Diffstat (limited to 'test/nist-sp-800-38a.py')
-rw-r--r-- | test/nist-sp-800-38a.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/nist-sp-800-38a.py b/test/nist-sp-800-38a.py index c5c0af8..8a7d010 100644 --- a/test/nist-sp-800-38a.py +++ b/test/nist-sp-800-38a.py @@ -148,10 +148,12 @@ if __name__ == '__main__': help='set path to block encryption utilities') parser.add_argument('--sde', '-e', action='store_true', help='use Intel SDE to run *.exe files') + parser.add_argument('--box', '-b', action='store_true', + help='use the "boxes" interface') parser.add_argument('--log', '-l', help='set log file path') args = parser.parse_args() - tools = toolkit.Tools(args.path, args.sde) + tools = toolkit.Tools(args.path, use_sde=args.sde, use_boxes=args.box) logging_options = {'format': '%(asctime)s | %(module)s | %(levelname)s | %(message)s', 'level': logging.DEBUG} |