diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-10-25 18:20:56 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-10-25 18:20:56 +0100 |
commit | f5a723399dfc3969bdb712b22616721ec740f818 (patch) | |
tree | fa01c15187091d3f4ed105f657c5fc50ebf83b59 /src/protocols/ec25519_fhmqvc/state.c | |
parent | 11bca5a7af4b448ee0a37cd243e34ecd0e652b3d (diff) | |
download | fastd-f5a723399dfc3969bdb712b22616721ec740f818.tar fastd-f5a723399dfc3969bdb712b22616721ec740f818.zip |
Update libuecc dependency to v6 and remove use of deprecated API
Diffstat (limited to 'src/protocols/ec25519_fhmqvc/state.c')
-rw-r--r-- | src/protocols/ec25519_fhmqvc/state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocols/ec25519_fhmqvc/state.c b/src/protocols/ec25519_fhmqvc/state.c index 855df77..463b2ef 100644 --- a/src/protocols/ec25519_fhmqvc/state.c +++ b/src/protocols/ec25519_fhmqvc/state.c @@ -50,8 +50,8 @@ 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_base(&work, &key->secret); - ecc_25519_store_packed(&key->public.int256, &work); + ecc_25519_scalarmult(&work, &key->secret, &ecc_25519_work_base_legacy); + ecc_25519_store_packed_legacy(&key->public.int256, &work); if (!divide_key(&key->secret)) exit_bug("generated invalid ephemeral key"); |