2017-05-16 18:22:24 +00:00
|
|
|
#ifndef ED25519_SHA3_H
|
|
|
|
#define ED25519_SHA3_H
|
|
|
|
|
|
|
|
#include "ed25519.h"
|
|
|
|
|
|
|
|
#if defined(__cplusplus)
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
void ed25519_publickey_sha3(const ed25519_secret_key sk, ed25519_public_key pk);
|
|
|
|
|
|
|
|
int ed25519_sign_open_sha3(const unsigned char *m, size_t mlen, const ed25519_public_key pk, const ed25519_signature RS);
|
2022-06-23 16:00:31 +00:00
|
|
|
void ed25519_sign_sha3(const unsigned char *m, size_t mlen, const ed25519_secret_key sk, ed25519_signature RS);
|
2017-05-16 18:22:24 +00:00
|
|
|
|
2017-06-01 15:08:55 +00:00
|
|
|
int ed25519_scalarmult_sha3(ed25519_public_key res, const ed25519_secret_key sk, const ed25519_public_key pk);
|
|
|
|
|
2017-05-16 18:22:24 +00:00
|
|
|
#if defined(__cplusplus)
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // ED25519_SHA3_H
|