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:
eec136f3c54f ("aesni_gcm: add driver for AES-GCM crypto operations")
Fixes:
924e84f87306 ("aesni_mb: add driver for multi buffer based crypto")
Fixes:
0f548b50a160 ("crypto/aesni_mb: process crypto op on dequeue")
Fixes:
169ca3db550c ("crypto/armv8: add PMD optimized for ARMv8 processors")
Fixes:
2773c86d061a ("crypto/kasumi: add driver for KASUMI library")
Fixes:
94b0ad8e0aa5 ("null_crypto: add driver for null crypto operations")
Fixes:
d61f70b4c918 ("crypto/libcrypto: add driver for OpenSSL library")
Fixes:
3aafc423cf4d ("snow3g: add driver for SNOW 3G library")
Fixes:
cf7685d68f00 ("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>