add config options to disable aes/avx

This commit is contained in:
R4SAS 2020-11-11 14:59:57 +03:00
parent b1f4c71765
commit 8e5392784d
7 changed files with 24 additions and 18 deletions
libi2pd

View file

@ -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