summaryrefslogtreecommitdiffstats
path: root/src/protocols/ec25519_fhmqvc/state.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2016-03-19 14:51:30 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2016-03-19 14:51:30 +0100
commitcefdc338d800ba057c6de45dc3d64ce83babe014 (patch)
tree4acd0b731416422d5998f9f25f0ff97a52f6992b /src/protocols/ec25519_fhmqvc/state.c
parentbc6650141cfa7970e4f6e5e94abe2618f84313da (diff)
downloadfastd-cefdc338d800ba057c6de45dc3d64ce83babe014.tar
fastd-cefdc338d800ba057c6de45dc3d64ce83babe014.zip
ec25519_fhmqvc: update to follow new libuecc recommendations
Diffstat (limited to 'src/protocols/ec25519_fhmqvc/state.c')
-rw-r--r--src/protocols/ec25519_fhmqvc/state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/ec25519_fhmqvc/state.c b/src/protocols/ec25519_fhmqvc/state.c
index fc55276..3147a78 100644
--- a/src/protocols/ec25519_fhmqvc/state.c
+++ b/src/protocols/ec25519_fhmqvc/state.c
@@ -50,7 +50,7 @@ static void new_handshake_key(keypair_t *key) {
ecc_25519_gf_sanitize_secret(&key->secret, &key->secret);
ecc_25519_work_t work;
- ecc_25519_scalarmult(&work, &key->secret, &ecc_25519_work_base_legacy);
+ ecc_25519_scalarmult_base(&work, &key->secret);
ecc_25519_store_packed_legacy(&key->public.int256, &work);
if (!divide_key(&key->secret))