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 /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
cast.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
castsb.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
criov.c /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
crypto_if.m /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
crypto.c /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
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 /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
cryptosoft.c refer opencrypto/cast.h directly. 2005-03-11 12:37:07 +00:00
cryptosoft.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
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 /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
rmd160.c /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
rmd160.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
skipjack.c /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
skipjack.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
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 /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00