]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: caam - set DK (Decrypt Key) bit only for AES accelerator
authorHoria Geanta <horia.geanta@freescale.com>
Fri, 11 Jul 2014 12:46:58 +0000 (15:46 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 23 Jul 2014 13:31:36 +0000 (21:31 +0800)
commit7d0582a0363733095801d74c885b00d8492c1098
tree8b66c6996a651bb32b47428cb7d2a6743d659211
parentc84576ab7ded644d68f64dd59ee8ecf1301e60b3
crypto: caam - set DK (Decrypt Key) bit only for AES accelerator

AES currently shares descriptor creation functions with DES and 3DES.
DK bit is set in all cases, however it is valid only for
the AES accelerator.

Signed-off-by: Horia Geanta <horia.geanta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamalg.c