--- zzzz-none-000/linux-4.19.183/include/linux/crypto.h 2021-03-24 10:07:39.000000000 +0000 +++ bcm63-7530ax-756/linux-4.19.183/include/linux/crypto.h 2023-06-28 08:54:20.000000000 +0000 @@ -117,6 +117,10 @@ */ #define CRYPTO_NOLOAD 0x00008000 +#if defined(CONFIG_BLOG) && defined(CONFIG_BCM_KF_BLOG) +#define CRYPTO_ALG_BLOG 0x80000000 +#endif + /* * Transform masks and values (for crt_flags). */ @@ -128,6 +132,9 @@ #define CRYPTO_TFM_REQ_WEAK_KEY 0x00000100 #define CRYPTO_TFM_REQ_MAY_SLEEP 0x00000200 #define CRYPTO_TFM_REQ_MAY_BACKLOG 0x00000400 +#if defined(CONFIG_BLOG) && defined(CONFIG_BCM_KF_BLOG) +#define CRYPTO_TFM_REQ_MAY_BLOG 0x00080000 +#endif #define CRYPTO_TFM_RES_WEAK_KEY 0x00100000 #define CRYPTO_TFM_RES_BAD_KEY_LEN 0x00200000 #define CRYPTO_TFM_RES_BAD_KEY_SCHED 0x00400000