serval-dna/test/default/sodium_core.c
Andrew Bettison fc5c87e213 Squashed 'libsodium/' content from commit 60329a84
git-subtree-dir: libsodium
git-subtree-split: 60329a84ef7edb278b949c53c640031e44ce0157
2017-09-19 10:15:28 +09:30

20 lines
396 B
C

#define TEST_NAME "sodium_core"
#include "cmptest.h"
int
main(void)
{
printf("%d\n", sodium_init());
(void) sodium_runtime_has_neon();
(void) sodium_runtime_has_sse2();
(void) sodium_runtime_has_sse3();
(void) sodium_runtime_has_ssse3();
(void) sodium_runtime_has_sse41();
(void) sodium_runtime_has_pclmul();
(void) sodium_runtime_has_aesni();
return 0;
}