Re: [PATCH V2] crypto/nx842: Add CRC and validation support

2015-10-08 Thread Herbert Xu
On Sat, Oct 03, 2015 at 09:35:31PM -0700, Haren Myneni wrote: > > diff --git a/lib/842/842_decompress.c b/lib/842/842_decompress.c > index 5446ff0..b0db568 100644 > --- a/lib/842/842_decompress.c > +++ b/lib/842/842_decompress.c > @@ -285,6 +285,7 @@ int sw842_decompress(const u8 *in, unsigned int

[PATCH V2] crypto/nx842: Add CRC and validation support

2015-10-03 Thread Haren Myneni
This patch adds CRC generation and validation support for nx-842. Add CRC flag so that nx842 coprocessor includes CRC during compression and validates during decompression. Also changes in 842 SW compression to append CRC value at the end of template and checks during decompression. Signed-off-b