You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
2.0 KiB
34 lines
2.0 KiB
#ifndef crypto_stream_salsa208_H |
|
#define crypto_stream_salsa208_H |
|
|
|
#define crypto_stream_salsa208_amd64_xmm6_KEYBYTES 32 |
|
#define crypto_stream_salsa208_amd64_xmm6_NONCEBYTES 8 |
|
#ifdef __cplusplus |
|
#include <string> |
|
extern std::string crypto_stream_salsa208_amd64_xmm6(size_t,const std::string &,const std::string &); |
|
extern std::string crypto_stream_salsa208_amd64_xmm6_xor(const std::string &,const std::string &,const std::string &); |
|
extern "C" { |
|
#endif |
|
extern int crypto_stream_salsa208_amd64_xmm6(unsigned char *,unsigned long long,const unsigned char *,const unsigned char *); |
|
extern int crypto_stream_salsa208_amd64_xmm6_xor(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned char *); |
|
extern int crypto_stream_salsa208_amd64_xmm6_beforenm(unsigned char *,const unsigned char *); |
|
extern int crypto_stream_salsa208_amd64_xmm6_afternm(unsigned char *,unsigned long long,const unsigned char *,const unsigned char *); |
|
extern int crypto_stream_salsa208_amd64_xmm6_xor_afternm(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *,const unsigned char *); |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
#define crypto_stream_salsa208 crypto_stream_salsa208_amd64_xmm6 |
|
#define crypto_stream_salsa208_xor crypto_stream_salsa208_amd64_xmm6_xor |
|
#define crypto_stream_salsa208_beforenm crypto_stream_salsa208_amd64_xmm6_beforenm |
|
#define crypto_stream_salsa208_afternm crypto_stream_salsa208_amd64_xmm6_afternm |
|
#define crypto_stream_salsa208_xor_afternm crypto_stream_salsa208_amd64_xmm6_xor_afternm |
|
#define crypto_stream_salsa208_KEYBYTES crypto_stream_salsa208_amd64_xmm6_KEYBYTES |
|
#define crypto_stream_salsa208_NONCEBYTES crypto_stream_salsa208_amd64_xmm6_NONCEBYTES |
|
#define crypto_stream_salsa208_BEFORENMBYTES crypto_stream_salsa208_amd64_xmm6_BEFORENMBYTES |
|
#define crypto_stream_salsa208_IMPLEMENTATION "crypto_stream/salsa208/amd64_xmm6" |
|
#ifndef crypto_stream_salsa208_amd64_xmm6_VERSION |
|
#define crypto_stream_salsa208_amd64_xmm6_VERSION "-" |
|
#endif |
|
#define crypto_stream_salsa208_VERSION crypto_stream_salsa208_amd64_xmm6_VERSION |
|
|
|
#endif
|
|
|