ed25519_sha3.h 651 B

1234567891011121314151617181920212223242526272829303132
  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(
  9. const unsigned char* m,
  10. size_t mlen,
  11. const ed25519_public_key pk,
  12. const ed25519_signature RS);
  13. void ed25519_sign_sha3(
  14. const unsigned char* m,
  15. size_t mlen,
  16. const ed25519_secret_key sk,
  17. ed25519_signature RS);
  18. int ed25519_scalarmult_sha3(
  19. ed25519_public_key res,
  20. const ed25519_secret_key sk,
  21. const ed25519_public_key pk);
  22. #if defined(__cplusplus)
  23. }
  24. #endif
  25. #endif // ED25519_SHA3_H