2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 14:43:58 +08:00
linux-next/drivers/crypto/ccp
Hook, Gary 89646fdda4 crypto: ccp - Fix 3DES complaint from ccp-crypto module
Crypto self-tests reveal an error:

alg: skcipher: cbc-des3-ccp encryption test failed (wrong output IV) on test vector 0, cfg="in-place"

The offset value should not be recomputed when retrieving the context.
Also, a code path exists which makes decisions based on older (version 3)
hardware; a v3 device deosn't support 3DES so remove this check.

Fixes: 990672d485 ('crypto: ccp - Enable 3DES function on v5 CCPs')

Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2019-05-23 14:01:07 +08:00
..
ccp-crypto-aes-cmac.c crypto: ccp - Update copyright notices and dates 2019-01-11 14:16:56 +08:00
ccp-crypto-aes-galois.c crypto: drivers - remove duplicate includes 2017-12-22 19:29:01 +11:00
ccp-crypto-aes-xts.c crypto: ccp - Remove VLA usage of skcipher 2018-09-28 12:46:08 +08:00
ccp-crypto-aes.c crypto: ccp - fix AES CFB error exposed by new test vectors 2019-05-23 14:01:07 +08:00
ccp-crypto-des3.c crypto: ccp - Forbid 2-key 3DES in FIPS mode 2019-04-18 22:14:59 +08:00
ccp-crypto-main.c crypto: ccp - use -ENOSPC for transient busy indication 2017-11-03 22:11:16 +08:00
ccp-crypto-rsa.c crypto: rsa - unimplement sign/verify for raw RSA backends 2019-04-18 22:15:02 +08:00
ccp-crypto-sha.c crypto: shash - remove shash_desc::flags 2019-04-25 15:38:12 +08:00
ccp-crypto.h crypto: ccp - Remove VLA usage of skcipher 2018-09-28 12:46:08 +08:00
ccp-debugfs.c crypto: ccp - no need to check return value of debugfs_create functions 2019-02-01 14:42:03 +08:00
ccp-dev-v3.c csrypto: ccp - Expand RSA support for a v5 ccp 2017-07-28 17:58:06 +08:00
ccp-dev-v5.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
ccp-dev.c crypto: ccp - use -ENOSPC for transient busy indication 2017-11-03 22:11:16 +08:00
ccp-dev.h crypto: ccp - Fix XTS-AES-128 support on v5 CCPs 2017-08-04 09:27:41 +08:00
ccp-dmaengine.c crypto: ccp - Make function ccp_get_dma_chan_attr static 2018-02-15 23:26:56 +08:00
ccp-ops.c crypto: ccp - Fix 3DES complaint from ccp-crypto module 2019-05-23 14:01:07 +08:00
Kconfig crypto: ccp: Add Platform Security Processor (PSP) device support 2017-12-04 10:57:28 -06:00
Makefile crypto: ccp: Add Platform Security Processor (PSP) device support 2017-12-04 10:57:28 -06:00
psp-dev.c crypto: ccp - Do not free psp_master when PLATFORM_INIT fails 2019-04-18 22:14:58 +08:00
psp-dev.h crypto: ccp - Update copyright notices and dates 2019-01-11 14:16:56 +08:00
sp-dev.c crypto: ccp - Update copyright notices and dates 2019-01-11 14:16:56 +08:00
sp-dev.h crypto: ccp - Update copyright notices and dates 2019-01-11 14:16:56 +08:00
sp-pci.c crypto: ccp - Update driver messages to remove some confusion 2019-02-22 12:47:27 +08:00
sp-platform.c crypto: ccp - Update copyright notices and dates 2019-01-11 14:16:56 +08:00