Originally discussed at https://github.com/bitcoin-core/secp256k1/pull/710/commits/4f720541eb3bdc0bc597fe62cbde52e5b35e96eb#r371029012 (github fails to link to the discussion; scroll through https://github.com/bitcoin-core/secp256k1/pull/710 instead). See https://github.com/rust-bitcoin/rust-secp256k1/blob/master/src/ecdh.rs#L162, where it seems behavior relies on seeing the return value of the hash function propagated up to the signing return value. The documentation for hash functions specifies that it should return 1 or 0, and similarly, `secp256k1_ecdh` will return 0 or 1.