tests/benchmark: add --huge-buffers option for cipher tests
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Wed, 2 Jan 2019 19:25:44 +0000 (21:25 +0200)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Wed, 2 Jan 2019 19:25:44 +0000 (21:25 +0200)
commitedde61f325e4b345f17c47369f3b6b1400656f04
tree6bab74eeb14cebf2d21af06e688152d65568a69c
parent3028a221d39c1b593ea0c1bcbfccd33959769692
tests/benchmark: add --huge-buffers option for cipher tests

* tests/benchmark.c (huge_buffers, cipher_encrypt, cipher_decrypt): New.
(cipher_bench): Add 'max_inlen' to modes structure; add huge buffers
mode selection.
(main): Add '--huge-buffers'.
--

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
tests/benchmark.c