diff options
author | Gilad Ben-Yossef <gilad@benyossef.com> | 2019-04-18 15:38:57 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-04-25 09:38:15 +0200 |
commit | 6825cfd6d6f0054ddc35e220dadb3112350b05ae (patch) | |
tree | eab2a87aee85339b3c98cfd873324efd2d91828b /drivers/crypto/ccree/cc_driver.h | |
parent | crypto: ccree - remove unused defines (diff) | |
download | linux-6825cfd6d6f0054ddc35e220dadb3112350b05ae.tar.xz linux-6825cfd6d6f0054ddc35e220dadb3112350b05ae.zip |
crypto: ccree - simplify fragment ICV detection
The code detecting whether the ICV is fragmented was overly
complex and limited the number of fragments an ICV may be
comprised of with no reason in the current code, casuing the
new testmgr tests to fail.
This patch removes this legacy limitation and greatly simplifies
the code.
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ccree/cc_driver.h')
-rw-r--r-- | drivers/crypto/ccree/cc_driver.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/crypto/ccree/cc_driver.h b/drivers/crypto/ccree/cc_driver.h index c25f0d4d2f1d..695ccbd52ae4 100644 --- a/drivers/crypto/ccree/cc_driver.h +++ b/drivers/crypto/ccree/cc_driver.h @@ -103,7 +103,6 @@ enum cc_std_body { #define MAX_REQUEST_QUEUE_SIZE 4096 #define MAX_MLLI_BUFF_SIZE 2080 -#define MAX_ICV_NENTS_SUPPORTED 2 /* Definitions for HW descriptors DIN/DOUT fields */ #define NS_BIT 1 |