This avoids having to remove trailing NUL bytes in the nonce function
secp256k1_xonly_pubkey_cmp
secp256k1_ec_pubkey_cmp