freebsd-dev/sys/opencrypto
Bjoern A. Zeeb 6f443bec58 Change memory managment from a fixed size array to a list.
This is needed to avoid running into out of buffer situations
where we cannot alloc a new buffer because we hit the array size
limit (ZBUF).
Use a combined allocation for the struct and the actual data buffer
to not increase the number of malloc calls. [1]

Defer initialization of zbuf until we actually need it.

Make sure the output buffer will be large enough in all cases.

Details discussed with:	kib [1]
Reviewed by:		kib [1]
MFC after:		6 days
2009-11-28 21:08:19 +00:00
..
cast.c Quiet warnings. These do not appear to be actually used uninitialized, 2007-07-05 06:59:14 +00:00
cast.h
castsb.h
criov.c - Replace COPYDATA() and COPYBACK() macros with crypto_copydata() and 2006-06-04 22:15:13 +00:00
crypto.c Define an SDT provider for "opencrypto". 2009-11-28 16:54:18 +00:00
cryptodev_if.m add missing file from last commit that overhauls crypto/driver api's 2007-03-21 03:43:33 +00:00
cryptodev.c If crypto operation is finished with EAGAIN, don't repeat operation from 2009-09-04 09:48:18 +00:00
cryptodev.h Integrate the Camellia Block Cipher. For more information see RFC 4132 2007-05-09 19:37:02 +00:00
cryptosoft.c Fix return type for detach routine (should be int) 2009-02-05 17:43:12 +00:00
cryptosoft.h Overhaul driver/subsystem api's: 2007-03-21 03:42:51 +00:00
deflate.c Change memory managment from a fixed size array to a list. 2009-11-28 21:08:19 +00:00
deflate.h Change memory managment from a fixed size array to a list. 2009-11-28 21:08:19 +00:00
rmd160.c
rmd160.h
skipjack.c
skipjack.h
xform.c Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
xform.h Integrate the Camellia Block Cipher. For more information see RFC 4132 2007-05-09 19:37:02 +00:00