diff --git a/src/sm4_cl.c b/src/sm4_cl.c index b60732f4..5fbe0b3b 100644 --- a/src/sm4_cl.c +++ b/src/sm4_cl.c @@ -3,7 +3,7 @@ #include #include #include - +#include #define MACOS #ifdef MACOS @@ -282,7 +282,7 @@ end: #define KERNEL(...) #__VA_ARGS__ -const char *sm4_cl_src = KERNEL( +static const char *sm4_cl_src = KERNEL( __constant unsigned char SBOX[256] = { 0xd6, 0x90, 0xe9, 0xfe, 0xcc, 0xe1, 0x3d, 0xb7, 0x16, 0xb6, 0x14, 0xc2, 0x28, 0xfb, 0x2c, 0x05,