app/crypto-perf: add extra option checks
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 27 Mar 2017 11:26:05 +0000 (12:26 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 5 Apr 2017 22:17:44 +0000 (00:17 +0200)
commitfc4600fb252031b7bea8aa4b984539c8c1338f8d
tree9c2b6166e0867cc98b243fc210936002d308b1ee
parentf6cefe253cc814a01575b1f1604afac8c81453ed
app/crypto-perf: add extra option checks

When using the verify test, test name is necessary
to be passed when digest is needed.

Also, when using an block cipher algorithm (CBC, ECB),
the buffer size has to be aligned to the block size.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
app/test-crypto-perf/cperf_options_parsing.c