projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
316bfb7
)
Make AES_ENCRYPT and AES_DECRYPT macros instead of static constants.
author
Richard Levitte
<levitte@openssl.org>
Fri, 20 Dec 2002 18:21:35 +0000
(18:21 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Fri, 20 Dec 2002 18:21:35 +0000
(18:21 +0000)
PR: 411
crypto/aes/aes.h
patch
|
blob
|
history
diff --git
a/crypto/aes/aes.h
b/crypto/aes/aes.h
index f708f6f34b17f33e57888a6160d1a5f1a1d8d76e..8294a41a3ad6a7e9e3f4e0e4b9d5992f24651fe2 100644
(file)
--- a/
crypto/aes/aes.h
+++ b/
crypto/aes/aes.h
@@
-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