2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 14:14:01 +08:00
linux-next/drivers/crypto/ccp
Hook, Gary c3b359d656 crypto: ccp - fix AES CFB error exposed by new test vectors
Updated testmgr will exhibit this error message when loading the
ccp-crypto module:

alg: skcipher: cfb-aes-ccp encryption failed with err -22 on test vector 3, cfg="in-place"

Update the CCP crypto driver to correctly treat CFB as a streaming mode
cipher (instead of block mode). Update the configuration for CFB to
specify the block size as a single byte;

Fixes: 2b789435d7 ('crypto: ccp - CCP AES crypto API support')

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 - AES CFB mode is a stream cipher 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