crypto/openssl: init GCM key at session creation
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 21 Sep 2017 13:11:18 +0000 (14:11 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 12 Oct 2017 14:15:21 +0000 (15:15 +0100)
commitb4b86b09f2c0ecdd00ba87c48b55ef5801ba602d
treeb32d84653096d71157384bcda7e3da8a2edb0d30
parent0d21bc3872ae1769cd4908d125e6666a0e04baae
crypto/openssl: init GCM key at session creation

When creating a session for AES-GCM, since the key is going
to be constant, the OpenSSL context can initialize the key
at that moment, leaving the setting of the IV for the
operation handling.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
drivers/crypto/openssl/rte_openssl_pmd.c