diff options
author | George Kadianakis <desnacked@riseup.net> | 2017-04-25 15:19:41 +0300 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-06-27 17:17:58 -0400 |
commit | 559658ff1ca1492543ad60d10b7101c70a62eaa2 (patch) | |
tree | aff61610becaeb0ae6702277907f7f2cace9f483 /src/ext/ed25519/ref10/ed25519_ref10.h | |
parent | 39b5dca7201bb3f30606be199f4d234c86fcaded (diff) | |
download | tor-559658ff1ca1492543ad60d10b7101c70a62eaa2.tar.gz tor-559658ff1ca1492543ad60d10b7101c70a62eaa2.zip |
ed25519: Add func that checks for torsion component in pubkeys.
See https://lists.torproject.org/pipermail/tor-dev/2017-April/012213.html .
Diffstat (limited to 'src/ext/ed25519/ref10/ed25519_ref10.h')
-rw-r--r-- | src/ext/ed25519/ref10/ed25519_ref10.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ext/ed25519/ref10/ed25519_ref10.h b/src/ext/ed25519/ref10/ed25519_ref10.h index af7e21a2ad..5965694977 100644 --- a/src/ext/ed25519/ref10/ed25519_ref10.h +++ b/src/ext/ed25519/ref10/ed25519_ref10.h @@ -27,4 +27,8 @@ int ed25519_ref10_blind_public_key(unsigned char *out, const unsigned char *inp, const unsigned char *param); +int +ed25519_ref10_scalarmult_with_group_order(unsigned char *out, + const unsigned char *pubkey); + #endif |