Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

bench_internal.c File Reference
#include <stdio.h>
#include "include/secp256k1.h"
#include "util.h"
#include "hash_impl.h"
#include "num_impl.h"
#include "field_impl.h"
#include "group_impl.h"
#include "scalar_impl.h"
#include "ecmult_const_impl.h"
#include "ecmult_impl.h"
#include "bench.h"
#include "secp256k1.c"
+ Include dependency graph for bench_internal.c:

Go to the source code of this file.

Classes

struct  bench_inv
 

Functions

void bench_setup (void *arg)
 
void bench_scalar_add (void *arg)
 
void bench_scalar_negate (void *arg)
 
void bench_scalar_sqr (void *arg)
 
void bench_scalar_mul (void *arg)
 
void bench_scalar_inverse (void *arg)
 
void bench_scalar_inverse_var (void *arg)
 
void bench_field_normalize (void *arg)
 
void bench_field_normalize_weak (void *arg)
 
void bench_field_mul (void *arg)
 
void bench_field_sqr (void *arg)
 
void bench_field_inverse (void *arg)
 
void bench_field_inverse_var (void *arg)
 
void bench_field_sqrt (void *arg)
 
void bench_group_double_var (void *arg)
 
void bench_group_add_var (void *arg)
 
void bench_group_add_affine (void *arg)
 
void bench_group_add_affine_var (void *arg)
 
void bench_group_jacobi_var (void *arg)
 
void bench_ecmult_wnaf (void *arg)
 
void bench_wnaf_const (void *arg)
 
void bench_sha256 (void *arg)
 
void bench_hmac_sha256 (void *arg)
 
void bench_rfc6979_hmac_sha256 (void *arg)
 
void bench_context_verify (void *arg)
 
void bench_context_sign (void *arg)
 
void bench_num_jacobi (void *arg)
 
int main (int argc, char **argv)
 

Function Documentation

◆ bench_context_sign()

void bench_context_sign ( void *  arg)

Definition at line 305 of file bench_internal.c.

References secp256k1_context_create(), secp256k1_context_destroy(), and SECP256K1_CONTEXT_SIGN.

Referenced by main().

◆ bench_context_verify()

void bench_context_verify ( void *  arg)

Definition at line 297 of file bench_internal.c.

References secp256k1_context_create(), secp256k1_context_destroy(), and SECP256K1_CONTEXT_VERIFY.

Referenced by main().

◆ bench_ecmult_wnaf()

void bench_ecmult_wnaf ( void *  arg)

◆ bench_field_inverse()

void bench_field_inverse ( void *  arg)

Definition at line 164 of file bench_internal.c.

References bench_inv::fe_x, bench_inv::fe_y, secp256k1_fe_add(), and secp256k1_fe_inv().

Referenced by main().

◆ bench_field_inverse_var()

void bench_field_inverse_var ( void *  arg)

Definition at line 174 of file bench_internal.c.

References bench_inv::fe_x, bench_inv::fe_y, secp256k1_fe_add(), and secp256k1_fe_inv_var().

Referenced by main().

◆ bench_field_mul()

void bench_field_mul ( void *  arg)

Definition at line 146 of file bench_internal.c.

References bench_inv::fe_x, bench_inv::fe_y, and secp256k1_fe_mul().

Referenced by main().

◆ bench_field_normalize()

void bench_field_normalize ( void *  arg)

Definition at line 128 of file bench_internal.c.

References bench_inv::fe_x, and secp256k1_fe_normalize().

Referenced by main().

◆ bench_field_normalize_weak()

void bench_field_normalize_weak ( void *  arg)

Definition at line 137 of file bench_internal.c.

References bench_inv::fe_x, and secp256k1_fe_normalize_weak().

Referenced by main().

◆ bench_field_sqr()

void bench_field_sqr ( void *  arg)

Definition at line 155 of file bench_internal.c.

References bench_inv::fe_x, and secp256k1_fe_sqr().

Referenced by main().

◆ bench_field_sqrt()

void bench_field_sqrt ( void *  arg)

Definition at line 184 of file bench_internal.c.

References bench_inv::fe_x, bench_inv::fe_y, secp256k1_fe_add(), and secp256k1_fe_sqrt().

Referenced by main().

◆ bench_group_add_affine()

void bench_group_add_affine ( void *  arg)

Definition at line 214 of file bench_internal.c.

References bench_inv::ge_y, bench_inv::gej_x, and secp256k1_gej_add_ge().

Referenced by main().

◆ bench_group_add_affine_var()

void bench_group_add_affine_var ( void *  arg)

Definition at line 223 of file bench_internal.c.

References bench_inv::ge_y, bench_inv::gej_x, and secp256k1_gej_add_ge_var().

Referenced by main().

◆ bench_group_add_var()

void bench_group_add_var ( void *  arg)

Definition at line 205 of file bench_internal.c.

References bench_inv::gej_x, bench_inv::gej_y, and secp256k1_gej_add_var().

Referenced by main().

◆ bench_group_double_var()

void bench_group_double_var ( void *  arg)

Definition at line 196 of file bench_internal.c.

References bench_inv::gej_x, and secp256k1_gej_double_var().

Referenced by main().

◆ bench_group_jacobi_var()

void bench_group_jacobi_var ( void *  arg)

Definition at line 232 of file bench_internal.c.

References bench_inv::gej_x, and secp256k1_gej_has_quad_y_var().

Referenced by main().

◆ bench_hmac_sha256()

void bench_hmac_sha256 ( void *  arg)

◆ bench_num_jacobi()

void bench_num_jacobi ( void *  arg)

◆ bench_rfc6979_hmac_sha256()

void bench_rfc6979_hmac_sha256 ( void *  arg)

◆ bench_scalar_add()

void bench_scalar_add ( void *  arg)

Definition at line 59 of file bench_internal.c.

References bench_inv::scalar_x, bench_inv::scalar_y, and secp256k1_scalar_add().

Referenced by main().

◆ bench_scalar_inverse()

void bench_scalar_inverse ( void *  arg)

◆ bench_scalar_inverse_var()

void bench_scalar_inverse_var ( void *  arg)

◆ bench_scalar_mul()

void bench_scalar_mul ( void *  arg)

Definition at line 86 of file bench_internal.c.

References bench_inv::scalar_x, bench_inv::scalar_y, and secp256k1_scalar_mul().

Referenced by main().

◆ bench_scalar_negate()

void bench_scalar_negate ( void *  arg)

Definition at line 68 of file bench_internal.c.

References bench_inv::scalar_x, and secp256k1_scalar_negate().

Referenced by main().

◆ bench_scalar_sqr()

void bench_scalar_sqr ( void *  arg)

Definition at line 77 of file bench_internal.c.

References bench_inv::scalar_x, and secp256k1_scalar_sqr().

Referenced by main().

◆ bench_setup()

◆ bench_sha256()

void bench_sha256 ( void *  arg)

◆ bench_wnaf_const()

void bench_wnaf_const ( void *  arg)

◆ main()

Released under the MIT license