NetBSD/sys/lib/libkern
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
..
arch If earm*, compile new aeabi runtime routines. 2012-08-06 02:14:57 +00:00
__main.c
arc4random.c Add a spin mutex to the rndsink structure; it is used to avoid lock 2012-04-10 14:02:27 +00:00
bcd.c
crc32.c
crc32.h
imax.c
imin.c
intoa.c
kern_assert.c
libkern.h Add "consttime_bcmp" and "explicit_bzero" functions for both kernel 2012-08-30 12:16:48 +00:00
lmax.c
lmin.c
Makefile
Makefile.inc Deal with optional HAVE_GCC. 2012-08-10 16:05:26 +00:00
Makefile.libkern Add "consttime_bcmp" and "explicit_bzero" functions for both kernel 2012-08-30 12:16:48 +00:00
max.c
mertwist.c
milieu.h
min.c
pmatch.c
rngtest.c
scanc.c
skpc.c
softfloat-macros.h
softfloat-specialize.h
softfloat.c
softfloat.h
ulmax.c
ulmin.c
xlat_mbr_fstype.c