freebsd-dev/sys/opencrypto
Bjoern A. Zeeb df4dece102 In case the compression result is the same size as the orignal version,
the compression was useless as well.  Make sure to not update the data
and return, else we would waste resources when decompressing.

This also avoids the copyback() changing data other consumers like
xform_ipcomp.c would have ignored because of no win and sent out without
noting that compression was used, resulting in invalid packets at the
receiver.

MFC after:	5 days
2009-11-29 17:53:57 +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 In case the compression result is the same size as the orignal version, 2009-11-29 17:53:57 +00:00
cryptosoft.h Overhaul driver/subsystem api's: 2007-03-21 03:42:51 +00:00
deflate.c Add SDT iter probes forgotten in r199885. 2009-11-29 17:46:40 +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