examples/l2fwd-crypto: use key-value list of supported algorithms
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 31 Mar 2016 09:32:13 +0000 (10:32 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 31 Mar 2016 20:24:21 +0000 (22:24 +0200)
commit00c58901f1b3df693e990a9ba64489bba6c4cb60
treee22d4e9256cfccbb406b0f05b655661dc9b27260
parentfcdbb3d5c2759b255b1e059a19c7841586781bf9
examples/l2fwd-crypto: use key-value list of supported algorithms

In order to ease the parsing and display of supported algorithms
in the application, two new arrays are created, which contains
the strings of the different cipher and authentication algorithms,

These lists are used to parse the algorithms from the command line,
and will be used to display crypto information to the user.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
examples/l2fwd-crypto/main.c
lib/librte_cryptodev/rte_crypto_sym.h