freebsd-dev/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
cryptodev.h
cryptosoft.c
cryptosoft.h
deflate.c
deflate.h
rmd160.c
rmd160.h
skipjack.c
skipjack.h
xform.c
xform.h