ed25519-sha3.h 604 B

123456789101112131415161718192021
  1. #ifndef ED25519_SHA3_H
  2. #define ED25519_SHA3_H
  3. #include "ed25519.h"
  4. #if defined(__cplusplus)
  5. extern "C" {
  6. #endif
  7. void ed25519_publickey_sha3(const ed25519_secret_key sk, ed25519_public_key pk);
  8. int ed25519_sign_open_sha3(const unsigned char *m, size_t mlen, const ed25519_public_key pk, const ed25519_signature RS);
  9. void ed25519_sign_sha3(const unsigned char *m, size_t mlen, const ed25519_secret_key sk, ed25519_signature RS);
  10. int ed25519_scalarmult_sha3(ed25519_public_key res, const ed25519_secret_key sk, const ed25519_public_key pk);
  11. #if defined(__cplusplus)
  12. }
  13. #endif
  14. #endif // ED25519_SHA3_H