NetBSD/sys/opencrypto
drochner 8b3e490633 Don't panic, just truncate, if the iov is too short in a COPYBACK.
This case can be triggered from userland cryptodev if the buffer
for decompressed data is too small.
(It would look cleaner if the lengths would be passed explicitely
everywhere, but that would thwart the abstraction done by COPYDATA/COPYBACK
which allows to treat mbufs and iovs the same way.)
2011-02-24 19:28:03 +00:00
..
Makefile
criov.c Don't panic, just truncate, if the iov is too short in a COPYBACK. 2011-02-24 19:28:03 +00:00
crypto.c
cryptodev.c make the compatibility code conditional on COMPAT_50 2011-02-19 16:26:34 +00:00
cryptodev.h
cryptodev_internal.h make the compatibility code conditional on COMPAT_50 2011-02-19 16:26:34 +00:00
cryptosoft.c Don't store temporary values in the opencrypto session data struct which 2011-02-10 21:00:42 +00:00
cryptosoft.h Don't store temporary values in the opencrypto session data struct which 2011-02-10 21:00:42 +00:00
cryptosoft_xform.c more "const" 2011-02-18 19:56:01 +00:00
deflate.c redo result buffer allocation, to avoid dynamic allocations: 2011-02-18 22:02:09 +00:00
deflate.h -avoid allocation of an extra result buffer and data copy in case 2011-02-16 19:08:57 +00:00
files.opencrypto make the compatibility code conditional on COMPAT_50 2011-02-19 16:26:34 +00:00
ocryptodev.c make the compatibility code conditional on COMPAT_50 2011-02-19 16:26:34 +00:00
ocryptodev.h make the compatibility code conditional on COMPAT_50 2011-02-19 16:26:34 +00:00
xform.c
xform.h