zfs/module/icp
Jorgen Lundman c9e319faae
Replace sprintf()->snprintf() and strcpy()->strlcpy()
The strcpy() and sprintf() functions are deprecated on some platforms.
Care is needed to ensure correct size is used.  If some platforms
miss snprintf, we can add a #define to sprintf, likewise strlcpy().

The biggest change is adding a size parameter to zfs_id_to_fuidstr().

The various *_impl_get() functions are only used on linux and have
not yet been updated.

Reviewed by: Sean Eric Fagan <sef@ixsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Jorgen Lundman <lundman@lundman.net>
Closes #10400
2020-06-07 11:42:12 -07:00
..
algs Replace sprintf()->snprintf() and strcpy()->strlcpy() 2020-06-07 11:42:12 -07:00
api Remove checks for null out value in encryption paths 2020-03-26 10:41:57 -07:00
asm-x86_64 ICP: gcm-avx: Support architectures lacking the MOVBE instruction 2020-03-17 10:24:38 -07:00
core Remove checks for null out value in encryption paths 2020-03-26 10:41:57 -07:00
include Remove checks for null out value in encryption paths 2020-03-26 10:41:57 -07:00
io Remove checks for null out value in encryption paths 2020-03-26 10:41:57 -07:00
os Replace sprintf()->snprintf() and strcpy()->strlcpy() 2020-06-07 11:42:12 -07:00
spi Fix strdup conflict on other platforms 2019-10-10 09:47:06 -07:00
Makefile.in Fix icp include directories for in-tree build 2020-02-20 08:10:47 -08:00
illumos-crypto.c Fix typos in modules/icp/ 2019-08-30 14:26:07 -07:00