Closed jangko closed 1 year ago
In preparation to fix https://github.com/status-im/nim-eth/issues/222, ecdhRaw is removed and ecdh with custom hash function is exported.
ecdhRaw
ecdh
Also remove doAssert in ecdh and replace it with SkResult.
Also fix secp256k1_ecdh_hash_function signature by adding cint return type.
secp256k1_ecdh_hash_function
cint
In preparation to fix https://github.com/status-im/nim-eth/issues/222,
ecdhRaw
is removed andecdh
with custom hash function is exported.Also remove doAssert in ecdh and replace it with SkResult.
Also fix
secp256k1_ecdh_hash_function
signature by addingcint
return type.