numam-dpdk/drivers/crypto/null
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
..
Makefile mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
null_crypto_pmd_ops.c drivers/crypto: use snprintf return value correctly 2017-10-12 15:22:39 +01:00
null_crypto_pmd_private.h cryptodev: remove crypto device driver name 2017-07-06 22:34:53 +02:00
null_crypto_pmd.c cryptodev: allocate driver structure statically 2017-10-12 15:10:40 +01:00
rte_pmd_null_crypto_version.map null_crypto: add driver for null crypto operations 2016-03-11 02:16:18 +01:00