diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-08-26 10:56:22 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-08-26 10:56:22 -0400 |
commit | 8b36bb92998d4081ae99ea733a8f4ec57c0a8f04 (patch) | |
tree | 40ab9566a7e5ac75365ff6a82ef3acb187302d54 /src/ext/ed25519/ref10/ed25519_ref10.h | |
parent | 8594e97c0350abb2a0214c848b712e6e68cde3e5 (diff) | |
download | tor-8b36bb92998d4081ae99ea733a8f4ec57c0a8f04.tar.gz tor-8b36bb92998d4081ae99ea733a8f4ec57c0a8f04.zip |
Add headers as needed to make ed25519_ref10 compile.
Diffstat (limited to 'src/ext/ed25519/ref10/ed25519_ref10.h')
-rw-r--r-- | src/ext/ed25519/ref10/ed25519_ref10.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ext/ed25519/ref10/ed25519_ref10.h b/src/ext/ed25519/ref10/ed25519_ref10.h new file mode 100644 index 0000000000..fc10a26700 --- /dev/null +++ b/src/ext/ed25519/ref10/ed25519_ref10.h @@ -0,0 +1,16 @@ +/* Added for Tor */ +#ifndef SRC_EXT_ED25519_REF10_H_INCLUDED_ +#define SRC_EXT_ED25519_REF10_H_INCLUDED_ +#include <torint.h> + +int ed25519_ref10_keygen(unsigned char *pk,unsigned char *sk); +int ed25519_ref10_open( + unsigned char *m,uint64_t *mlen, + const unsigned char *sm,uint64_t smlen, + const unsigned char *pk); +int ed25519_ref10_sign( + unsigned char *sm,uint64_t *smlen, + const unsigned char *m,uint64_t mlen, + const unsigned char *sk); + +#endif |