This commit is contained in:
Warlock-Dalbaeb 2017-08-15 01:03:17 +07:00
parent 06f7eab4c6
commit a65bd8fbaf
2 changed files with 13 additions and 4 deletions

View file

@ -11,6 +11,9 @@
#include <vector>
#include <mutex>
static std::mutex thread_mutex;
static i2p::data::SigningKeyType type;
//static i2p::data::PrivateKeys keys;
@ -24,5 +27,8 @@ static uint8_t * KeyBuf;
//static uint8_t * PaddingBuf;
static unsigned long long hashescounter;
unsigned short count_cpu __attribute__((__mode__(QI))); // 1 byte
#ifdef MODES
unsigned short count_cpu __attribute__((__mode__(QI))); // 1 byte i think don't usefful
#else
unsigned short count_cpu;
#endif

View file

@ -67,8 +67,11 @@ For idea and example ^-^
Orignal is sensei of crypto ;)
*/
std::cout << "Thread " << id_thread << " binded" << std::endl;
uint8_t b[391]; __attribute__((__mode__(SI))); // 4 byte == 32 bits, not usefull. i think.
#ifdef MODES
uint8_t b[391] __attribute__((__mode__(SI))); // 4 byte == 32 bits, not usefull. i think.
#else
uint8_t b[391];
#endif
memcpy (b, buf, 391);
int len = strlen (prefix);