| commit | 3ce858cb04de8bc83449eac707c8012a1944daca | [log] [tgz] |
|---|---|---|
| author | Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | Wed May 27 15:05:02 2009 +1000 |
| committer | Herbert Xu <herbert@gondor.apana.org.au> | Tue Jun 02 14:04:56 2009 +1000 |
| tree | 0bdf275d63a6f53f01703255d52a6129df9fd3dc | |
| parent | e9736c16da9077728802f42393d18258e6685428 [diff] |
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>