linux/drivers/crypto
Kim Phillips ddbb80884a crypto: caam - fix decryption shared vs. non-shared key setting
Key sharing is enabled by default in the shared descriptor.

Using CBC decrypt, AES has to alter the key in order to decrypt.
During high traffic decryption rates, i.e, when sharing starts to
take place, we need to use a different OPERATION option to tell AES
that the key was already altered by the PRIOR descriptor - we need
the following kind of logic:

if ( shared )
    operation where AES uses decryption key (DK=1)
else
    operation where AES uses encryption key (DK=0)

this patch implements this logic using a conditional and
a non-conditional local jump within the decryption job
descriptor.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2011-05-19 14:37:59 +10:00
..
amcc dt/powerpc: Eliminate users of of_platform_{,un}register_driver 2011-02-28 01:36:39 -07:00
caam crypto: caam - fix decryption shared vs. non-shared key setting 2011-05-19 14:37:59 +10:00
geode-aes.c
geode-aes.h
hifn_795x.c
ixp4xx_crypto.c
Kconfig crypto: s390 - add System z hardware support for CTR mode 2011-05-04 15:09:44 +10:00
Makefile crypto: s5p-sss - add S5PV210 advanced crypto engine support 2011-04-08 20:40:51 +08:00
mv_cesa.c crypto: mv_cesa - make count_sgs() null-pointer proof 2011-05-11 15:06:22 +10:00
mv_cesa.h
n2_asm.S
n2_core.c dt/sparc: Eliminate users of of_platform_{,un}register_driver 2011-02-28 01:36:39 -07:00
n2_core.h
omap-aes.c crypto: omap-aes - don't treat NULL clk as an error 2011-01-29 15:57:32 +11:00
omap-sham.c crypto: omap-sham - hmac calculation bug fix for sha1 base hash 2011-04-26 16:45:38 +10:00
padlock-aes.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2011-01-13 10:25:58 -08:00
padlock-sha.c crypto: padlock - Add SHA-1/256 module for VIA Nano 2011-03-27 10:45:18 +08:00
picoxcell_crypto_regs.h crypto: picoxcell - add support for the picoxcell crypto engines 2011-02-21 22:42:40 +11:00
picoxcell_crypto.c crypto: picoxcell - fix possible status FIFO overflow 2011-03-27 10:48:29 +08:00
s5p-sss.c crypto: s5p-sss - add S5PV210 advanced crypto engine support 2011-04-08 20:40:51 +08:00
talitos.c dt: Eliminate of_platform_{,un}register_driver 2011-02-28 13:22:46 -07:00
talitos.h