mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-19 13:17:56 +00:00
34 lines
1.5 KiB
C++
34 lines
1.5 KiB
C++
#ifndef crypto_core_salsa208_H
|
|
#define crypto_core_salsa208_H
|
|
|
|
#define crypto_core_salsa208_ref_OUTPUTBYTES 64
|
|
#define crypto_core_salsa208_ref_INPUTBYTES 16
|
|
#define crypto_core_salsa208_ref_KEYBYTES 32
|
|
#define crypto_core_salsa208_ref_CONSTBYTES 16
|
|
#ifdef __cplusplus
|
|
#include <string>
|
|
extern "C" {
|
|
#endif
|
|
extern int crypto_core_salsa208_ref(unsigned char *,const unsigned char *,const unsigned char *,const unsigned char *);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#define crypto_core_salsa208 crypto_core_salsa208_ref
|
|
/* POTATO crypto_core_salsa208_ref crypto_core_salsa208_ref crypto_core_salsa208 */
|
|
#define crypto_core_salsa208_OUTPUTBYTES crypto_core_salsa208_ref_OUTPUTBYTES
|
|
/* POTATO crypto_core_salsa208_ref_OUTPUTBYTES crypto_core_salsa208_ref crypto_core_salsa208 */
|
|
#define crypto_core_salsa208_INPUTBYTES crypto_core_salsa208_ref_INPUTBYTES
|
|
/* POTATO crypto_core_salsa208_ref_INPUTBYTES crypto_core_salsa208_ref crypto_core_salsa208 */
|
|
#define crypto_core_salsa208_KEYBYTES crypto_core_salsa208_ref_KEYBYTES
|
|
/* POTATO crypto_core_salsa208_ref_KEYBYTES crypto_core_salsa208_ref crypto_core_salsa208 */
|
|
#define crypto_core_salsa208_CONSTBYTES crypto_core_salsa208_ref_CONSTBYTES
|
|
/* POTATO crypto_core_salsa208_ref_CONSTBYTES crypto_core_salsa208_ref crypto_core_salsa208 */
|
|
#define crypto_core_salsa208_IMPLEMENTATION "crypto_core/salsa208/ref"
|
|
#ifndef crypto_core_salsa208_ref_VERSION
|
|
#define crypto_core_salsa208_ref_VERSION "-"
|
|
#endif
|
|
#define crypto_core_salsa208_VERSION crypto_core_salsa208_ref_VERSION
|
|
|
|
#endif
|