1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-31 22:42:57 -07:00
libsodium/test/default/sodium_core.c

20 lines
396 B
C
Raw Normal View History

2013-04-25 22:37:15 -07:00
#define TEST_NAME "sodium_core"
#include "cmptest.h"
2017-02-23 03:24:48 -07:00
int
main(void)
2013-04-25 22:37:15 -07:00
{
2014-09-14 11:32:55 -07:00
printf("%d\n", sodium_init());
2013-04-25 22:37:15 -07:00
2017-02-23 03:24:48 -07:00
(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();
2014-09-13 14:47:29 -07:00
return 0;
2013-04-25 22:37:15 -07:00
}