mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-23 15:02:27 +00:00
34 lines
1.4 KiB
C++
34 lines
1.4 KiB
C++
#ifndef crypto_core_salsa20_H
|
|
#define crypto_core_salsa20_H
|
|
|
|
#define crypto_core_salsa20_ref_OUTPUTBYTES 64
|
|
#define crypto_core_salsa20_ref_INPUTBYTES 16
|
|
#define crypto_core_salsa20_ref_KEYBYTES 32
|
|
#define crypto_core_salsa20_ref_CONSTBYTES 16
|
|
#ifdef __cplusplus
|
|
#include <string>
|
|
extern "C" {
|
|
#endif
|
|
extern int crypto_core_salsa20_ref(unsigned char *,const unsigned char *,const unsigned char *,const unsigned char *);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#define crypto_core_salsa20 crypto_core_salsa20_ref
|
|
/* POTATO crypto_core_salsa20_ref crypto_core_salsa20_ref crypto_core_salsa20 */
|
|
#define crypto_core_salsa20_OUTPUTBYTES crypto_core_salsa20_ref_OUTPUTBYTES
|
|
/* POTATO crypto_core_salsa20_ref_OUTPUTBYTES crypto_core_salsa20_ref crypto_core_salsa20 */
|
|
#define crypto_core_salsa20_INPUTBYTES crypto_core_salsa20_ref_INPUTBYTES
|
|
/* POTATO crypto_core_salsa20_ref_INPUTBYTES crypto_core_salsa20_ref crypto_core_salsa20 */
|
|
#define crypto_core_salsa20_KEYBYTES crypto_core_salsa20_ref_KEYBYTES
|
|
/* POTATO crypto_core_salsa20_ref_KEYBYTES crypto_core_salsa20_ref crypto_core_salsa20 */
|
|
#define crypto_core_salsa20_CONSTBYTES crypto_core_salsa20_ref_CONSTBYTES
|
|
/* POTATO crypto_core_salsa20_ref_CONSTBYTES crypto_core_salsa20_ref crypto_core_salsa20 */
|
|
#define crypto_core_salsa20_IMPLEMENTATION "crypto_core/salsa20/ref"
|
|
#ifndef crypto_core_salsa20_ref_VERSION
|
|
#define crypto_core_salsa20_ref_VERSION "-"
|
|
#endif
|
|
#define crypto_core_salsa20_VERSION crypto_core_salsa20_ref_VERSION
|
|
|
|
#endif
|