summaryrefslogtreecommitdiffstats
path: root/src/protocols/ec25519_fhmqvc/util.c
diff options
context:
space:
mode:
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);