Sha256: 5f618794bfa316c338bc166ffd21f00e5711a0ebf94aaa19440c88b0c94be023

Contents?: true

Size: 889 Bytes

Versions: 3

Compression:

Stored size: 889 Bytes

Contents

#ifndef sodium_runtime_H
#define sodium_runtime_H

#include "export.h"

#ifdef __cplusplus
extern "C" {
#endif

SODIUM_EXPORT_WEAK
int sodium_runtime_has_neon(void);

SODIUM_EXPORT_WEAK
int sodium_runtime_has_sse2(void);

SODIUM_EXPORT_WEAK
int sodium_runtime_has_sse3(void);

SODIUM_EXPORT_WEAK
int sodium_runtime_has_ssse3(void);

SODIUM_EXPORT_WEAK
int sodium_runtime_has_sse41(void);

SODIUM_EXPORT_WEAK
int sodium_runtime_has_avx(void);

SODIUM_EXPORT_WEAK
int sodium_runtime_has_avx2(void);

SODIUM_EXPORT_WEAK
int sodium_runtime_has_avx512f(void);

SODIUM_EXPORT_WEAK
int sodium_runtime_has_pclmul(void);

SODIUM_EXPORT_WEAK
int sodium_runtime_has_aesni(void);

SODIUM_EXPORT_WEAK
int sodium_runtime_has_rdrand(void);

/* ------------------------------------------------------------------------- */

int _sodium_runtime_get_cpu_features(void);

#ifdef __cplusplus
}
#endif

#endif

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
laag-libsodium-1.0.16.2 vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/runtime.h
laag-libsodium-1.0.16.0 vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/runtime.h
rbnacl-libsodium-1.0.16 vendor/libsodium/src/libsodium/include/sodium/runtime.h