]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit93cfcd8a9ab824dfdc019fde5f2f0a0ea13afef3
treedf050e93fbacc7b0e5973bbcf4075eabdd9d875e
parent44b01f8c0c25cea72ea3caf636ff42c9f223e435
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