crypto: caam - add support for givencrypt cbc(aes) and rfc3686(ctr(aes))
authorCatalin Vasile <catalin.vasile@freescale.com>
Fri, 31 Oct 2014 10:45:38 +0000 (12:45 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 6 Nov 2014 15:15:05 +0000 (23:15 +0800)
commit7222d1a3410388c8e21a5028ba2beb498938b57f
tree189c73374692a432c49b528ba51d87064d0db100
parentdaebc465858867f48ee86a88f56020c3fe0d96f6
crypto: caam - add support for givencrypt cbc(aes) and rfc3686(ctr(aes))

Add support for one-shot givencrypt algorithms.
Givencrypt algorithms will generate their IV and encrypt data
within the same shared job descriptors.
Current algorithms merged from ablkcipher to givencrypt are:
 - AES Cipher Block Chaining (CBC)
 - AES Counter Mode (CTR) compliant with RFC3686

Signed-off-by: Catalin Vasile <catalin.vasile@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamalg.c