summaryrefslogtreecommitdiffstats
path: root/src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.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/ec25519_fhmqvc.c
parentbc6650141cfa7970e4f6e5e94abe2618f84313da (diff)
downloadfastd-cefdc338d800ba057c6de45dc3d64ce83babe014.tar
fastd-cefdc338d800ba057c6de45dc3d64ce83babe014.zip
ec25519_fhmqvc: update to follow new libuecc recommendations
Diffstat (limited to 'src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.c')
-rw-r--r--src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.c b/src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.c
index 1af2c47..a80021a 100644
--- a/src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.c
+++ b/src/protocols/ec25519_fhmqvc/ec25519_fhmqvc.c
@@ -68,7 +68,7 @@ static fastd_protocol_config_t * protocol_init(void) {
exit_error("invalid secret key");
ecc_25519_work_t work;
- ecc_25519_scalarmult(&work, &protocol_config->key.secret, &ecc_25519_work_base_legacy);
+ ecc_25519_scalarmult_base(&work, &protocol_config->key.secret);
ecc_25519_store_packed_legacy(&protocol_config->key.public.int256, &work);
if (!divide_key(&protocol_config->key.secret))