numam-dpdk/drivers/crypto
Tomasz Duszynski 6ab25e634f drivers/crypto: use snprintf return value correctly
snprintf return value is the length of was encoded into destination
array excluding '\0'. Thus return value equal to the length of the
destination array or more means truncation.

This commit fixes improper use of the return value.

Fixes: eec136f3c5 ("aesni_gcm: add driver for AES-GCM crypto operations")
Fixes: 924e84f873 ("aesni_mb: add driver for multi buffer based crypto")
Fixes: 0f548b50a1 ("crypto/aesni_mb: process crypto op on dequeue")
Fixes: 169ca3db55 ("crypto/armv8: add PMD optimized for ARMv8 processors")
Fixes: 2773c86d06 ("crypto/kasumi: add driver for KASUMI library")
Fixes: 94b0ad8e0a ("null_crypto: add driver for null crypto operations")
Fixes: d61f70b4c9 ("crypto/libcrypto: add driver for OpenSSL library")
Fixes: 3aafc423cf ("snow3g: add driver for SNOW 3G library")
Fixes: cf7685d68f ("crypto/zuc: add driver for ZUC library")
Cc: stable@dpdk.org

Signed-off-by: Tomasz Duszynski <tdu@semihalf.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2017-10-12 15:22:39 +01:00
..
aesni_gcm drivers/crypto: use snprintf return value correctly 2017-10-12 15:22:39 +01:00
aesni_mb drivers/crypto: use snprintf return value correctly 2017-10-12 15:22:39 +01:00
armv8 drivers/crypto: use snprintf return value correctly 2017-10-12 15:22:39 +01:00
dpaa2_sec cryptodev: allocate driver structure statically 2017-10-12 15:10:40 +01:00
dpaa_sec crypto/dpaa_sec: add crypto driver for NXP DPAA platform 2017-10-12 15:22:39 +01:00
kasumi drivers/crypto: use snprintf return value correctly 2017-10-12 15:22:39 +01:00
null drivers/crypto: use snprintf return value correctly 2017-10-12 15:22:39 +01:00
openssl drivers/crypto: use snprintf return value correctly 2017-10-12 15:22:39 +01:00
qat crypto/qat: support AES-CCM 2017-10-12 15:22:30 +01:00
scheduler cryptodev: allocate driver structure statically 2017-10-12 15:10:40 +01:00
snow3g drivers/crypto: use snprintf return value correctly 2017-10-12 15:22:39 +01:00
zuc drivers/crypto: use snprintf return value correctly 2017-10-12 15:22:39 +01:00
Makefile crypto/dpaa_sec: add crypto driver for NXP DPAA platform 2017-10-12 15:22:39 +01:00