NetBSD/sys/opencrypto
drochner 8588929dc5 Add "consttime_bcmp" and "explicit_bzero" functions for both kernel
abd userland, as proposed on tech-security, with explicit_bzero using
a volatile function pointer as suggested by Alan Barrett.
Both do what the name says. For userland, both are prefixed by "__"
to keep them out of the user namespace.
Change some memset/memcmp uses to the new functions where it makes
sense -- these are just some examples, more to come.
2012-08-30 12:16:48 +00:00
..
Makefile
aesxcbcmac.c
aesxcbcmac.h
criov.c
crypto.c
cryptodev.c Fix memset usage. 2011-07-04 16:06:17 +00:00
cryptodev.h
cryptodev_internal.h
cryptosoft.c Add "consttime_bcmp" and "explicit_bzero" functions for both kernel 2012-08-30 12:16:48 +00:00
cryptosoft.h
cryptosoft_xform.c Remove arc4random() and arc4randbytes() from the kernel API. Replace 2011-11-28 08:05:05 +00:00
deflate.c avoid some uninitialised warning issues GCC 4.5 complains about. 2011-07-03 01:01:06 +00:00
deflate.h
files.opencrypto First step of random number subsystem rework described in 2011-11-19 22:51:18 +00:00
gmac.c
gmac.h
ocryptodev.c
ocryptodev.h
xform.c
xform.h