crypto: caam - add support for acipher xts(aes)
authorCatalin Vasile <catalin.vasile@freescale.com>
Fri, 2 Oct 2015 10:13:18 +0000 (13:13 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 8 Oct 2015 13:42:20 +0000 (21:42 +0800)
commitc6415a6016bff0b547c13cadb1d5e50e9ace2be3
treedf806da1d3c109e8f482dafe5a3ba209c8c42917
parentfea40451530fea9ed3efd31eb932d1855a3a6e2d
crypto: caam - add support for acipher xts(aes)

Add support for AES working in XEX-based Tweaked-codebook mode with
ciphertext Stealing (XTS)

sector index - HW limitation: CAAM device supports sector index of only
8 bytes to be used for sector index inside IV, instead of whole 16 bytes
received on request. This represents 2 ^ 64 = 16,777,216 Tera of possible
values for sector index.

Signed-off-by: Cristian Hristea <cristi.hristea@gmail.com>
Signed-off-by: Horia Geanta <horia.geanta@freescale.com>
Signed-off-by: Alex Porosanu <alexandru.porosanu@freescale.com>
Signed-off-by: Catalin Vasile <catalin.vasile@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamalg.c