提交 aa18245f 编写于 作者: R Richard Levitte

Make AES_ENCRYPT and AES_DECRYPT macros instead of static constants.

PR: 411
上级 316bfb77
......@@ -56,8 +56,9 @@
#error AES is disabled.
#endif
static const int AES_DECRYPT = 0;
static const int AES_ENCRYPT = 1;
#define AES_ENCRYPT 1
#define AES_DECRYPT 0
/* Because array size can't be a const in C, the following two are macros.
Both sizes are in bytes. */
#define AES_MAXNR 14
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册