diff options
author | NoodleDoodleNoodleDoodleNoodleDoodleNoo <xeven77@outlook.com> | 2014-05-17 16:22:07 -0700 |
---|---|---|
committer | NoodleDoodleNoodleDoodleNoodleDoodleNoo <xeven77@outlook.com> | 2014-05-17 16:22:07 -0700 |
commit | e4f7b92ff98ab5a552275f74747c56465c55ce8a (patch) | |
tree | 68fd458ffc985c1d236c8f6542ae7d409de55181 /src/crypto/oaes_lib.c | |
parent | Update oaes_lib.h (diff) | |
download | monero-e4f7b92ff98ab5a552275f74747c56465c55ce8a.tar.xz |
Update oaes_lib.c
1. Moved structs oaes_ctx and oaes_key into oeas_lib header.
Diffstat (limited to '')
-rw-r--r-- | src/crypto/oaes_lib.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/crypto/oaes_lib.c b/src/crypto/oaes_lib.c index 126f0a2f6..96f038600 100644 --- a/src/crypto/oaes_lib.c +++ b/src/crypto/oaes_lib.c @@ -64,30 +64,6 @@ static const char _NR[] = { # define min(a,b) (((a)<(b)) ? (a) : (b)) #endif /* min */ -typedef struct _oaes_key -{ - size_t data_len; - uint8_t *data; - size_t exp_data_len; - uint8_t *exp_data; - size_t num_keys; - size_t key_base; -} oaes_key; - -typedef struct _oaes_ctx -{ -#ifdef OAES_HAVE_ISAAC - randctx * rctx; -#endif // OAES_HAVE_ISAAC - -#ifdef OAES_DEBUG - oaes_step_cb step_cb; -#endif // OAES_DEBUG - - oaes_key * key; - OAES_OPTION options; - uint8_t iv[OAES_BLOCK_SIZE]; -} oaes_ctx; // "OAES<8-bit header version><8-bit type><16-bit options><8-bit flags><56-bit reserved>" static uint8_t oaes_header[OAES_BLOCK_SIZE] = { |