crypto/openssl: update key and algo during session init
authorAkhil Goyal <akhil.goyal@nxp.com>
Tue, 5 Sep 2017 05:57:49 +0000 (11:27 +0530)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 12 Oct 2017 13:37:20 +0000 (14:37 +0100)
commitefd42d2e0eb6bfb557c62485dfe02fb965a50c70
tree0a6b109b040b67176bfc6d4548c21886aa272581
parent3d0243feccca57081aabb8bd309a1e4776e1d01a
crypto/openssl: update key and algo during session init

Key and algo are added in the openssl ctx during
session initialization instead of adding it for
each packet, since it remains constant for that session,
improving the performance.

Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
Reviewed-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
drivers/crypto/openssl/rte_openssl_pmd.c