Merge pull request #8740 from douzzer/20250506-linuxkm-lkcapi-default-priority-100000

20250506-linuxkm-lkcapi-default-priority-100000
pull/8742/head
philljj 2025-05-06 20:04:19 -05:00 committed by GitHub
commit a69039b40d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 1 deletions

View File

@ -56,8 +56,14 @@
#ifndef WOLFSSL_LINUXKM_LKCAPI_PRIORITY
/* Larger number means higher priority. The highest in-tree priority is
* 4001, in the Cavium driver.
*
* Note bene, when the kernel dynamically constructs compound algorithms, it
* computes their priorities by multiplying the priority of the base
* algorithm by up to 10, and/or adding to it the priority of a second base
* algorithm, or a constant up to 200, so it's not safe to use a value near
* INT_MAX here.
*/
#define WOLFSSL_LINUXKM_LKCAPI_PRIORITY INT_MAX
#define WOLFSSL_LINUXKM_LKCAPI_PRIORITY 100000
#endif
#ifdef CONFIG_CRYPTO_MANAGER_EXTRA_TESTS