summaryrefslogtreecommitdiff
path: root/selftest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'selftest.cpp')
-rw-r--r--selftest.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/selftest.cpp b/selftest.cpp
index a0b3c951..27c81c25 100644
--- a/selftest.cpp
+++ b/selftest.cpp
@@ -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);