mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-05-17 04:41:48 +02:00
add config options to disable aes/avx
This commit is contained in:
parent
b1f4c71765
commit
8e5392784d
7 changed files with 24 additions and 18 deletions
libi2pd
|
@ -1345,9 +1345,9 @@ namespace crypto
|
|||
}
|
||||
}*/
|
||||
|
||||
void InitCrypto (bool precomputation)
|
||||
void InitCrypto (bool precomputation, bool aesni, bool avx)
|
||||
{
|
||||
i2p::cpu::Detect ();
|
||||
i2p::cpu::Detect (aesni, avx);
|
||||
#if LEGACY_OPENSSL
|
||||
SSL_library_init ();
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue