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)
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>

No differences found