crypto: nx - Removing CTR mode from NX driver
authorLeonidas Da Silva Barbosa <leosilva@linux.vnet.ibm.com>
Sat, 8 Aug 2015 21:31:01 +0000 (18:31 -0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 10 Aug 2015 15:22:22 +0000 (23:22 +0800)
commit9cfaf082b8775e9f99fa5f2e8b2ae0ca8baff785
treedf050e93fbacc7b0e5973bbcf4075eabdd9d875e
parent4cd38750632b864dd56d94e675f5f91ce7723749
crypto: nx - Removing CTR mode from NX driver

CTR hardware implementation does not match with kernel spec causing a counter bug
where just low 8 bytes are used for counter, when should be all 16bytes.

Since we already have other counter modes working according with specs
not worth to keep CTR itself on NX.

Signed-off-by: Leonidas S. Barbosa <leosilva@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/nx/nx-aes-ctr.c
drivers/crypto/nx/nx.c
drivers/crypto/nx/nx.h