ed25519-keccak.h 618 B

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