crypto/openssl: fix extra bytes written at end of data
authorPiotr Azarewicz <piotrx.t.azarewicz@intel.com>
Wed, 7 Dec 2016 10:45:54 +0000 (11:45 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 18 Jan 2017 20:45:15 +0000 (21:45 +0100)
commit6b283a03216e120a697a0006341b3ab633e6a82c
tree65432826e36a035b59a092ef841eeefec00d52ea
parent96ec5f904590f6fb2b1c467b9094c4c8fedb8d5a
crypto/openssl: fix extra bytes written at end of data

Extra bytes are being written at end of data while process standard
openssl cipher encryption. This behaviour is unexpected.

This patch disable the padding feature in openssl library, which is
causing the problem.

Fixes: d61f70b4c918 ("crypto/libcrypto: add driver for OpenSSL library")

Signed-off-by: Piotr Azarewicz <piotrx.t.azarewicz@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
drivers/crypto/openssl/rte_openssl_pmd.c