--- zzzz-none-000/linux-4.1.38/include/linux/crypto.h 2017-01-18 18:48:06.000000000 +0000 +++ bcm63-7582-715/linux-4.1.38/include/linux/crypto.h 2020-11-25 10:06:48.000000000 +0000 @@ -100,6 +100,10 @@ */ #define CRYPTO_ALG_INTERNAL 0x00002000 +#if defined(CONFIG_BLOG) && defined(CONFIG_BCM_KF_BLOG) +#define CRYPTO_ALG_BLOG 0x80000000 +#endif + /* * Transform masks and values (for crt_flags). */ @@ -197,7 +201,15 @@ struct scatterlist *assoc; struct scatterlist *src; struct scatterlist *dst; - +#if defined(CONFIG_BCM_KF_SPU) && (defined(CONFIG_BCM_SPU) || defined(CONFIG_BCM_SPU_MODULE)) +#if defined(CONFIG_BCM_RDPA) || defined(CONFIG_BCM_RDPA_MODULE) + unsigned int data_offset; + u8 next_hdr; +#else + int alloc_buff_spu; + int headerLen; +#endif +#endif void *__ctx[] CRYPTO_MINALIGN_ATTR; };