optional elgamal precomputation for x64

This commit is contained in:
orignal 2016-04-17 16:57:58 -04:00
parent bce2a63772
commit aff8cd478c
5 changed files with 63 additions and 25 deletions

View file

@ -28,7 +28,11 @@ namespace api
i2p::fs::DetectDataDir(datadir, false);
i2p::fs::Init();
i2p::crypto::InitCrypto ();
#if defined(__x86_64__)
i2p::crypto::InitCrypto (false);
#else
i2p::crypto::InitCrypto (true);
#endif
i2p::context.Init ();
}