projects
/
iotcloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug fixes + tabbing
[iotcloud.git]
/
version2
/
src
/
C
/
Crypto.h
diff --git
a/version2/src/C/Crypto.h
b/version2/src/C/Crypto.h
index 27c5b4c3b8eebb23b0f95920bb531cbae8fd925b..5334335f08e0d97c5a60fdc16d04ed80828cc017 100644
(file)
--- a/
version2/src/C/Crypto.h
+++ b/
version2/src/C/Crypto.h
@@
-1,13
+1,18
@@
#ifndef CRYPTO_H
#define CRYPTO_H
#include "common.h"
#ifndef CRYPTO_H
#define CRYPTO_H
#include "common.h"
+#include "aes.h"
class AESKey {
public:
AESKey(Array<char> *password, Array<char> *salt, int iterationCount, int keyLength);
~AESKey();
class AESKey {
public:
AESKey(Array<char> *password, Array<char> *salt, int iterationCount, int keyLength);
~AESKey();
+ Array<char> *getKey();
+ WORD *getKeySchedule();
+
private:
private:
- Array<char> * key;
+ Array<char> *key;
+ WORD key_schedule[60];
};
#endif
};
#endif