From c83be946a6aa352173e41f033639cf64d3d95506 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 29 Jul 2018 22:36:05 -1100 Subject: [PATCH] Curve25519 --- src/cc/dice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cc/dice.cpp b/src/cc/dice.cpp index 9bf610a87..21f0147ac 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -61,8 +61,8 @@ uint256 DiceHashEntropy(uint256 &entropy,uint256 _txidpriv) // max 1 vout per tx fprintf(stderr,"%02x",mypub.bytes[i]); fprintf(stderr," mypub\n"); - ssecret = curve25519_shared(txidpub,mypriv); - ssecret2 = curve25519_shared(mypub,txidpriv); + ssecret = curve25519(txidpub,mypriv); + ssecret2 = curve25519(mypub,txidpriv); if ( memcmp(ssecret.bytes,ssecret2.bytes,32) == 0 ) { vcalc_sha256(0,(uint8_t *)&_entropy,ssecret.bytes,32);