mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-28 22:21:15 -07:00
20 lines
396 B
C
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;
|
|
}
|