|
@ -198,6 +198,9 @@ bool Secp256k1::verifySecret(Secret const& _s, Public& _p) |
|
|
|
|
|
|
|
|
void Secp256k1::agree(Secret const& _s, Public const& _r, h256& o_s) |
|
|
void Secp256k1::agree(Secret const& _s, Public const& _r, h256& o_s) |
|
|
{ |
|
|
{ |
|
|
|
|
|
(void)_s; |
|
|
|
|
|
(void)_r; |
|
|
|
|
|
(void)o_s; |
|
|
ECDH<ECP>::Domain d(m_oid); |
|
|
ECDH<ECP>::Domain d(m_oid); |
|
|
assert(d.AgreedValueLength() == sizeof(o_s)); |
|
|
assert(d.AgreedValueLength() == sizeof(o_s)); |
|
|
byte remote[65] = {0x04}; |
|
|
byte remote[65] = {0x04}; |
|
|