projects
/
umurmur.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup of the byteorder patch
[umurmur.git]
/
src
/
crypt.h
diff --git
a/src/crypt.h
b/src/crypt.h
index e19009396d3802ff0f0121ddda9744e9cfacfa23..0a4030c8b6c462a768c3097d513332fdc9a56a5d 100644
(file)
--- a/
src/crypt.h
+++ b/
src/crypt.h
@@
-31,9
+31,8
@@
#ifndef CRYPTSTATE_H_34564356
#define CRYPTSTATE_H_34564356
#ifndef CRYPTSTATE_H_34564356
#define CRYPTSTATE_H_34564356
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "byteorder.h"
+#include "config.h"
#ifdef USE_POLARSSL
#include <polarssl/havege.h>
#ifdef USE_POLARSSL
#include <polarssl/havege.h>
@@
-53,12
+52,12
@@
typedef struct CryptState {
uint8_t encrypt_iv[AES_BLOCK_SIZE];
uint8_t decrypt_iv[AES_BLOCK_SIZE];
uint8_t decrypt_history[0x100];
uint8_t encrypt_iv[AES_BLOCK_SIZE];
uint8_t decrypt_iv[AES_BLOCK_SIZE];
uint8_t decrypt_history[0x100];
-
+
unsigned int uiGood;
unsigned int uiLate;
unsigned int uiLost;
unsigned int uiResync;
unsigned int uiGood;
unsigned int uiLate;
unsigned int uiLost;
unsigned int uiResync;
-
+
unsigned int uiRemoteGood;
unsigned int uiRemoteLate;
unsigned int uiRemoteLost;
unsigned int uiRemoteGood;
unsigned int uiRemoteLate;
unsigned int uiRemoteLost;
@@
-72,7
+71,7
@@
typedef struct CryptState {
#endif
etimer_t tLastGood;
etimer_t tLastRequest;
#endif
etimer_t tLastGood;
etimer_t tLastRequest;
- bool_t bInit;
+ bool_t bInit;
} cryptState_t;
void CryptState_init(cryptState_t *cs);
} cryptState_t;
void CryptState_init(cryptState_t *cs);