numam-dpdk/drivers
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
..
bus bus/dpaa: scan for DPAA Crypto devices 2017-10-12 15:22:39 +01:00
crypto drivers/crypto: use snprintf return value correctly 2017-10-12 15:22:39 +01:00
event event/octeontx: introduce specialized mbox message copy 2017-10-12 01:36:57 +01:00
mempool mempool/dpaa2: improve error handling 2017-10-12 03:47:49 +02:00
net net/ixgbe: fix uninitialized variable 2017-10-12 01:52:50 +01:00
Makefile crypto/dpaa_sec: add crypto driver for NXP DPAA platform 2017-10-12 15:22:39 +01:00