crypto: compress - Return produced bytes in crypto_{,de}compress_{update,final}
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Wed, 27 May 2009 05:05:02 +0000 (15:05 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 2 Jun 2009 04:04:56 +0000 (14:04 +1000)
commit3ce858cb04de8bc83449eac707c8012a1944daca
tree0bdf275d63a6f53f01703255d52a6129df9fd3dc
parente9736c16da9077728802f42393d18258e6685428
crypto: compress - Return produced bytes in crypto_{,de}compress_{update,final}

If crypto_{,de}compress_{update,final}() succeed, return the actual number of
bytes produced instead of zero, so their users don't have to calculate that
theirselves.

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.c
crypto/zlib.c