freebsd-nq/sys/opencrypto
Pawel Jakub Dawidek e6d944d7c3 Fix bogus check. It was possible to panic the kernel by giving 0 length.
This is actually a local DoS, as every user can use /dev/crypto if there
is crypto hardware in the system and cryptodev.ko is loaded (or compiled
into the kernel).

Reported by:	Mike Tancsa <mike@sentex.net>
MFC after:	1 day
2005-08-18 11:58:03 +00:00
..
cast.c
cast.h
castsb.h
criov.c
crypto_if.m
crypto.c
cryptodev.c Fix bogus check. It was possible to panic the kernel by giving 0 length. 2005-08-18 11:58:03 +00:00
cryptodev.h
cryptosoft.c refer opencrypto/cast.h directly. 2005-03-11 12:37:07 +00:00
cryptosoft.h
deflate.c malloc.h relies on param.h for a definition of MAXCPU. I guess that there is 2005-05-30 05:01:44 +00:00
deflate.h
rmd160.c
rmd160.h
skipjack.c
skipjack.h
xform.c Check key size for rijndael, as invalid key size can lead to kernel panic. 2005-08-16 18:59:00 +00:00
xform.h