Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
secp256k1_ecdh.h
Go to the documentation of this file.
49 ) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3) SECP256K1_ARG_NONNULL(4);
#define SECP256K1_WARN_UNUSED_RESULT
Warning attributes NONNULL is not used if SECP256K1_BUILD is set to avoid the compiler optimizing out...
Definition: secp256k1.h:149
SECP256K1_API const secp256k1_ecdh_hash_function secp256k1_ecdh_hash_function_sha256
An implementation of SHA256 hash function that applies to compressed public key.
Definition: main_impl.h:26
Definition: secp256k1.c:52
SECP256K1_API const secp256k1_ecdh_hash_function secp256k1_ecdh_hash_function_default
A default ecdh hash function (currently equal to secp256k1_ecdh_hash_function_sha256).
Definition: main_impl.h:27
SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_ecdh(const secp256k1_context *ctx, unsigned char *output, const secp256k1_pubkey *pubkey, const unsigned char *privkey, secp256k1_ecdh_hash_function hashfp, void *data) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3) SECP256K1_ARG_NONNULL(4)
Compute an EC Diffie-Hellman secret in constant time Returns: 1: exponentiation was successful 0: sca...
Definition: main_impl.h:29
int(* secp256k1_ecdh_hash_function)(unsigned char *output, const unsigned char *x, const unsigned char *y, void *data)
A pointer to a function that applies hash function to a point.
Definition: secp256k1_ecdh.h:18
Opaque data structure that holds a parsed and valid public key.
Definition: secp256k1.h:66