cryptodev: add algorithm string parsers
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 27 Feb 2017 14:38:44 +0000 (14:38 +0000)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 5 Apr 2017 22:17:44 +0000 (00:17 +0200)
commitafe605006075cc0c56db489b625d82b3a4bcde10
tree695a53b9beabe199a725318050edad4745cf8e42
parente26690f4fcc4b15f5b7a20485cf8a18f7e101583
cryptodev: add algorithm string parsers

Adds functions to get the cipher/authentication
algorithm enums, given a string. This is useful for applications
which gets the algorithm required from the user, to have a common
string-enum mapping.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
lib/librte_cryptodev/rte_cryptodev.c
lib/librte_cryptodev/rte_cryptodev.h
lib/librte_cryptodev/rte_cryptodev_version.map