diff options
author | Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | 2008-11-28 13:51:28 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-12-25 01:02:04 +0100 |
commit | b812eb0076235743872b5c9d18714d2324cc668d (patch) | |
tree | 77fb3008160e5fedd67464c2656506f81d21da48 /Kbuild | |
parent | crypto: remove uses of __constant_{endian} helpers (diff) | |
download | linux-b812eb0076235743872b5c9d18714d2324cc668d.tar.xz linux-b812eb0076235743872b5c9d18714d2324cc668d.zip |
crypto: testmgr - Validate output length in (de)compression tests
When self-testing (de)compression algorithms, make sure the actual size of
the (de)compressed output data matches the expected output size.
Otherwise, in case the actual output size would be smaller than the expected
output size, the subsequent buffer compare test would still succeed, and no
error would be reported.
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions