mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
crypto: caam/qi2 - lower the algorithm priority
Lower the priority to 100, as done for QAT in commit
8024774190 ("crypto: qat - lower priority for skcipher and aead algorithms").
The SEC stays reachable by driver name, and user space can raise its
priority through the crypto_user interface.
Suggested-by: Herbert Xu <herbert@gondor.apana.org.au>
Link: https://lore.kernel.org/r/aruvJECCDNdguMdw@gondor.apana.org.au
Signed-off-by: Vincent Jardin <vjardin@free.fr>
Reviewed-by: Sahil Malhotra <sahil.malhotra@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
2b91570f72
commit
611b15d344
|
|
@ -26,7 +26,7 @@
|
|||
#include <crypto/xts.h>
|
||||
#include <linux/unaligned.h>
|
||||
|
||||
#define CAAM_CRA_PRIORITY 2000
|
||||
#define CAAM_CRA_PRIORITY 100
|
||||
|
||||
/* max key is sum of AES_MAX_KEY_SIZE, max split key size */
|
||||
#define CAAM_MAX_KEY_SIZE (AES_MAX_KEY_SIZE + CTR_RFC3686_NONCE_SIZE + \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user