aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/oaes_lib.c
diff options
context:
space:
mode:
authorNeozaru <neozaru@mailoo.org>2014-05-21 23:51:45 +0200
committerNeozaru <neozaru@mailoo.org>2014-05-21 23:51:45 +0200
commit7c3783f5b1a955cf55fe184cb622d57aaf2d6477 (patch)
treebbde755545664b2fad7a5f6fc78a2634822f7dc8 /src/crypto/oaes_lib.c
parentAdded 'save_bc' command in daemon for saving blockchain remotely (diff)
parentUpdate CMakeLists.txt (diff)
downloadmonero-7c3783f5b1a955cf55fe184cb622d57aaf2d6477.tar.xz
Merge pull request #1 from monero-project/master
Attempting an online merge in my own repo
Diffstat (limited to 'src/crypto/oaes_lib.c')
-rw-r--r--src/crypto/oaes_lib.c24
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] = {