Warning, file /include/sodium/runtime.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002 #ifndef sodium_runtime_H
0003 #define sodium_runtime_H
0004
0005 #include "export.h"
0006
0007 #ifdef __cplusplus
0008 extern "C" {
0009 #endif
0010
0011 SODIUM_EXPORT_WEAK
0012 int sodium_runtime_has_neon(void);
0013
0014 SODIUM_EXPORT_WEAK
0015 int sodium_runtime_has_armcrypto(void);
0016
0017 SODIUM_EXPORT_WEAK
0018 int sodium_runtime_has_sse2(void);
0019
0020 SODIUM_EXPORT_WEAK
0021 int sodium_runtime_has_sse3(void);
0022
0023 SODIUM_EXPORT_WEAK
0024 int sodium_runtime_has_ssse3(void);
0025
0026 SODIUM_EXPORT_WEAK
0027 int sodium_runtime_has_sse41(void);
0028
0029 SODIUM_EXPORT_WEAK
0030 int sodium_runtime_has_avx(void);
0031
0032 SODIUM_EXPORT_WEAK
0033 int sodium_runtime_has_avx2(void);
0034
0035 SODIUM_EXPORT_WEAK
0036 int sodium_runtime_has_avx512f(void);
0037
0038 SODIUM_EXPORT_WEAK
0039 int sodium_runtime_has_pclmul(void);
0040
0041 SODIUM_EXPORT_WEAK
0042 int sodium_runtime_has_aesni(void);
0043
0044 SODIUM_EXPORT_WEAK
0045 int sodium_runtime_has_rdrand(void);
0046
0047
0048
0049 int _sodium_runtime_get_cpu_features(void);
0050
0051 #ifdef __cplusplus
0052 }
0053 #endif
0054
0055 #endif