projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added encryptio boolena indicator to silc_cipher_set_key.
[silc.git]
/
lib
/
silccrypt
/
rijndael_internal.h
diff --git
a/lib/silccrypt/rijndael_internal.h
b/lib/silccrypt/rijndael_internal.h
index bd6051fd3771bb5eb5141e13d9a7628412316867..e6dcb1c3a4a5fa9dca85a4d7bcbec681625581e6 100644
(file)
--- a/
lib/silccrypt/rijndael_internal.h
+++ b/
lib/silccrypt/rijndael_internal.h
@@
-52,8
+52,10
@@
typedef struct {
} aes_decrypt_ctx;
typedef struct {
- aes_encrypt_ctx enc;
- aes_decrypt_ctx dec;
+ union {
+ aes_encrypt_ctx enc;
+ aes_decrypt_ctx dec;
+ } u;
} AesContext;
#define AES_RETURN void