mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
optional elgamal precomputation for x64
This commit is contained in:
parent
bce2a63772
commit
aff8cd478c
5 changed files with 63 additions and 25 deletions
6
api.cpp
6
api.cpp
|
@ -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 ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue