]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: 842 - Add CRC and validation support
authorHaren Myneni <haren@linux.vnet.ibm.com>
Thu, 8 Oct 2015 20:45:51 +0000 (13:45 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 14 Oct 2015 14:23:17 +0000 (22:23 +0800)
commit42af392cde523c04cbef174e00b5dcc959c8d343
treeb0134466a5b790d4091dc16065257a00ea24bf00
parentd2b8a0f608a8aea6d668b45d0a19872de5b92195
crypto: 842 - Add CRC and validation support

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-by: Haren Myneni <haren@us.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/nx/nx-842-powernv.c
drivers/crypto/nx/nx-842-pseries.c
lib/842/842.h
lib/842/842_compress.c
lib/842/842_decompress.c