diff options
Diffstat (limited to 'toxencryptsave/crypto_pwhash_scryptsalsa208sha256/runtime.h')
-rw-r--r-- | toxencryptsave/crypto_pwhash_scryptsalsa208sha256/runtime.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/toxencryptsave/crypto_pwhash_scryptsalsa208sha256/runtime.h b/toxencryptsave/crypto_pwhash_scryptsalsa208sha256/runtime.h new file mode 100644 index 00000000..874915ef --- /dev/null +++ b/toxencryptsave/crypto_pwhash_scryptsalsa208sha256/runtime.h | |||
@@ -0,0 +1,33 @@ | |||
1 | #ifdef HAVE_CONFIG_H | ||
2 | #include "config.h" | ||
3 | #endif | ||
4 | #ifdef VANILLA_NACL /* toxcore only uses this when libsodium is unavailable */ | ||
5 | |||
6 | #ifndef __SODIUM_RUNTIME_H__ | ||
7 | #define __SODIUM_RUNTIME_H__ 1 | ||
8 | |||
9 | #include "export.h" | ||
10 | |||
11 | #ifdef __cplusplus | ||
12 | extern "C" { | ||
13 | #endif | ||
14 | |||
15 | SODIUM_EXPORT | ||
16 | int sodium_runtime_get_cpu_features(void); | ||
17 | |||
18 | SODIUM_EXPORT | ||
19 | int sodium_runtime_has_neon(void); | ||
20 | |||
21 | SODIUM_EXPORT | ||
22 | int sodium_runtime_has_sse2(void); | ||
23 | |||
24 | SODIUM_EXPORT | ||
25 | int sodium_runtime_has_sse3(void); | ||
26 | |||
27 | #ifdef __cplusplus | ||
28 | } | ||
29 | #endif | ||
30 | |||
31 | #endif | ||
32 | |||
33 | #endif | ||