mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-26 16:21:09 +00:00
33 lines
1.7 KiB
C
33 lines
1.7 KiB
C
|
#ifndef crypto_scalarmult_curve25519_H
|
||
|
#define crypto_scalarmult_curve25519_H
|
||
|
|
||
|
#define crypto_scalarmult_curve25519_ref_BYTES 32
|
||
|
#define crypto_scalarmult_curve25519_ref_SCALARBYTES 32
|
||
|
#ifdef __cplusplus
|
||
|
#include <string>
|
||
|
extern std::string crypto_scalarmult_curve25519_ref(const std::string &,const std::string &);
|
||
|
extern std::string crypto_scalarmult_curve25519_ref_base(const std::string &);
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
extern int crypto_scalarmult_curve25519_ref(unsigned char *,const unsigned char *,const unsigned char *);
|
||
|
extern int crypto_scalarmult_curve25519_ref_base(unsigned char *,const unsigned char *);
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#define crypto_scalarmult_curve25519 crypto_scalarmult_curve25519_ref
|
||
|
/* POTATO crypto_scalarmult_curve25519_ref crypto_scalarmult_curve25519_ref crypto_scalarmult_curve25519 */
|
||
|
#define crypto_scalarmult_curve25519_base crypto_scalarmult_curve25519_ref_base
|
||
|
/* POTATO crypto_scalarmult_curve25519_ref_base crypto_scalarmult_curve25519_ref crypto_scalarmult_curve25519 */
|
||
|
#define crypto_scalarmult_curve25519_BYTES crypto_scalarmult_curve25519_ref_BYTES
|
||
|
/* POTATO crypto_scalarmult_curve25519_ref_BYTES crypto_scalarmult_curve25519_ref crypto_scalarmult_curve25519 */
|
||
|
#define crypto_scalarmult_curve25519_SCALARBYTES crypto_scalarmult_curve25519_ref_SCALARBYTES
|
||
|
/* POTATO crypto_scalarmult_curve25519_ref_SCALARBYTES crypto_scalarmult_curve25519_ref crypto_scalarmult_curve25519 */
|
||
|
#define crypto_scalarmult_curve25519_IMPLEMENTATION "crypto_scalarmult/curve25519/ref"
|
||
|
#ifndef crypto_scalarmult_curve25519_ref_VERSION
|
||
|
#define crypto_scalarmult_curve25519_ref_VERSION "-"
|
||
|
#endif
|
||
|
#define crypto_scalarmult_curve25519_VERSION crypto_scalarmult_curve25519_ref_VERSION
|
||
|
|
||
|
#endif
|