Skip to content

Commit

Permalink
Update sm4_cl.c
Browse files Browse the repository at this point in the history
  • Loading branch information
guanzhi committed Mar 31, 2024
1 parent d8bd899 commit 89c6ec9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sm4_cl.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <stdlib.h>
#include <stdint.h>
#include <gmssl/sm4.h>

#include <gmssl/error.h>

#define MACOS
#ifdef MACOS
Expand Down Expand Up @@ -282,7 +282,7 @@ int test_sm4_cl_encrypt(void)


#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,
Expand Down

0 comments on commit 89c6ec9

Please sign in to comment.