Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
#include <string.h>#include "include/secp256k1.h"#include "include/secp256k1_ecdh.h"#include "util.h"#include "bench.h"
Include dependency graph for bench_ecdh.c:Go to the source code of this file.
Classes | |
| struct | bench_ecdh_data |
Functions | |
| static void | bench_ecdh_setup (void *arg) |
| static void | bench_ecdh (void *arg) |
| int | main (void) |
Function Documentation
◆ bench_ecdh()
|
static |
Definition at line 39 of file bench_ecdh.c.
References CHECK, bench_ecdh_data::ctx, bench_ecdh_data::point, bench_ecdh_data::scalar, and secp256k1_ecdh().
Referenced by main().
◆ bench_ecdh_setup()
|
static |
Definition at line 20 of file bench_ecdh.c.
References CHECK, bench_ecdh_data::ctx, bench_ecdh_data::point, bench_ecdh_data::scalar, secp256k1_context_create(), secp256k1_ec_pubkey_parse(), and SECP256K1_FLAGS_TYPE_CONTEXT.
Referenced by main().
◆ main()
| int main | ( | void | ) |
Definition at line 49 of file bench_ecdh.c.
References bench_ecdh(), bench_ecdh_setup(), and run_benchmark().

