Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

bench_ecdh.c File Reference
#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 void bench_ecdh ( void *  arg)
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 void bench_ecdh_setup ( void *  arg)
static

◆ main()

int main ( void  )

Definition at line 49 of file bench_ecdh.c.

References bench_ecdh(), bench_ecdh_setup(), and run_benchmark().

Released under the MIT license