summaryrefslogtreecommitdiffstats
path: root/src/protocols/ec25519_fhmqvc/util.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-10-25 18:20:56 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-10-25 18:20:56 +0100
commitf5a723399dfc3969bdb712b22616721ec740f818 (patch)
treefa01c15187091d3f4ed105f657c5fc50ebf83b59 /src/protocols/ec25519_fhmqvc/util.c
parent11bca5a7af4b448ee0a37cd243e34ecd0e652b3d (diff)
downloadfastd-f5a723399dfc3969bdb712b22616721ec740f818.tar
fastd-f5a723399dfc3969bdb712b22616721ec740f818.zip
Update libuecc dependency to v6 and remove use of deprecated API
Diffstat (limited to 'src/protocols/ec25519_fhmqvc/util.c')
-rw-r--r--src/protocols/ec25519_fhmqvc/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocols/ec25519_fhmqvc/util.c b/src/protocols/ec25519_fhmqvc/util.c
index 6ee1a39..11aa0ef 100644
--- a/src/protocols/ec25519_fhmqvc/util.c
+++ b/src/protocols/ec25519_fhmqvc/util.c
@@ -53,8 +53,8 @@ void fastd_protocol_ec25519_fhmqvc_generate_key(void) {
ecc_25519_gf_sanitize_secret(&secret_key, &secret_key);
ecc_25519_work_t work;
- ecc_25519_scalarmult_base(&work, &secret_key);
- ecc_25519_store_packed(&public_key, &work);
+ ecc_25519_scalarmult(&work, &secret_key, &ecc_25519_work_base_legacy);
+ ecc_25519_store_packed_legacy(&public_key, &work);
if (conf.machine_readable) {
print_hexdump("", secret_key.p);