mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
49bb43f662
Using the full path including the repo name.
39 lines
668 B
C
39 lines
668 B
C
#ifndef C_TOXCORE_TOXENCRYPTSAVE_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_RUNTIME_H
|
|
#define C_TOXCORE_TOXENCRYPTSAVE_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_RUNTIME_H
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
#include "config.h"
|
|
#endif
|
|
#ifdef VANILLA_NACL /* toxcore only uses this when libsodium is unavailable */
|
|
|
|
#ifndef __SODIUM_RUNTIME_H__
|
|
#define __SODIUM_RUNTIME_H__ 1
|
|
|
|
#include "export.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
SODIUM_EXPORT
|
|
int sodium_runtime_get_cpu_features(void);
|
|
|
|
SODIUM_EXPORT
|
|
int sodium_runtime_has_neon(void);
|
|
|
|
SODIUM_EXPORT
|
|
int sodium_runtime_has_sse2(void);
|
|
|
|
SODIUM_EXPORT
|
|
int sodium_runtime_has_sse3(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|