diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-08-26 21:35:25 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-09-25 15:08:31 -0400 |
commit | 006e6d3b6f52e193b14dc17db4502e14f9ffeb82 (patch) | |
tree | 0f7dc82793ca9191eb2d455f776d9957c77cb549 /src/ext/ed25519/ref10/ed25519_ref10.h | |
parent | 9e43ee5b4ca3650ecd9c4ee8a1b77843b273d480 (diff) | |
download | tor-006e6d3b6f52e193b14dc17db4502e14f9ffeb82.tar.gz tor-006e6d3b6f52e193b14dc17db4502e14f9ffeb82.zip |
Another ed25519 tweak: store secret keys in expanded format
This will be needed/helpful for the key blinding of prop224, I
believe.
Diffstat (limited to 'src/ext/ed25519/ref10/ed25519_ref10.h')
-rw-r--r-- | src/ext/ed25519/ref10/ed25519_ref10.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ext/ed25519/ref10/ed25519_ref10.h b/src/ext/ed25519/ref10/ed25519_ref10.h index bd1e46133f..cd0244f306 100644 --- a/src/ext/ed25519/ref10/ed25519_ref10.h +++ b/src/ext/ed25519/ref10/ed25519_ref10.h @@ -4,6 +4,7 @@ #include <torint.h> int ed25519_ref10_seckey(unsigned char *sk); +int ed25519_ref10_seckey_expand(unsigned char *sk, const unsigned char *sk_seed); int ed25519_ref10_pubkey(unsigned char *pk,const unsigned char *sk); int ed25519_ref10_keygen(unsigned char *pk,unsigned char *sk); int ed25519_ref10_open( |