Apply @marning suggested SSE auto-detect to make builds easier on non-x86 platforms: aa2fd044cb
This commit is contained in:
parent
d7344871e6
commit
a9a390a930
5 changed files with 12 additions and 45 deletions
|
@ -187,6 +187,12 @@ static int testCrypto()
|
|||
}
|
||||
std::cout << "PASS" << std::endl;
|
||||
|
||||
#ifdef ZT_SALSA20_SSE
|
||||
std::cout << "[crypto] Salsa20 SSE: ENABLED" << std::endl;
|
||||
#else
|
||||
std::cout << "[crypto] Salsa20 SSE: DISABLED" << std::endl;
|
||||
#endif
|
||||
|
||||
std::cout << "[crypto] Benchmarking Salsa20/12... "; std::cout.flush();
|
||||
{
|
||||
unsigned char *bb = (unsigned char *)::malloc(1234567);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue