1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/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
cast.h
castsb.h
criov.c
crypto.c Define an SDT provider for "opencrypto". 2009-11-28 16:54:18 +00:00
cryptodev_if.m
cryptodev.c If crypto operation is finished with EAGAIN, don't repeat operation from 2009-09-04 09:48:18 +00:00
cryptodev.h
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
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
xform.h