crypto: chcr - Increase priority of AEAD algos.
templates(gcm,ccm etc) inherit priority value of driver to calculate its priority. In some cases template priority becomes more than driver priority for same algo. Without this patch we will not be able to use driver authenc algos. It will be good if it pushed in stable kernel. Signed-off-by: Harsh Jain <harsh@chelsio.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Esse commit está contido em:
@@ -48,8 +48,8 @@
|
||||
* giving the processed data
|
||||
*/
|
||||
|
||||
#define CHCR_CRA_PRIORITY 3000
|
||||
|
||||
#define CHCR_CRA_PRIORITY 500
|
||||
#define CHCR_AEAD_PRIORITY 6000
|
||||
#define CHCR_AES_MAX_KEY_LEN (2 * (AES_MAX_KEY_SIZE)) /* consider xts */
|
||||
#define CHCR_MAX_CRYPTO_IV_LEN 16 /* AES IV len */
|
||||
|
||||
|
Referência em uma nova issue
Block a user