Bitcoin Core  0.20.99
P2P Digital Currency
Classes | Functions
bench_internal.c File Reference
#include <stdio.h>
#include "include/secp256k1.h"
#include "assumptions.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, int iters)
 
void bench_scalar_negate (void *arg, int iters)
 
void bench_scalar_sqr (void *arg, int iters)
 
void bench_scalar_mul (void *arg, int iters)
 
void bench_scalar_split (void *arg, int iters)
 
void bench_scalar_inverse (void *arg, int iters)
 
void bench_scalar_inverse_var (void *arg, int iters)
 
void bench_field_normalize (void *arg, int iters)
 
void bench_field_normalize_weak (void *arg, int iters)
 
void bench_field_mul (void *arg, int iters)
 
void bench_field_sqr (void *arg, int iters)
 
void bench_field_inverse (void *arg, int iters)
 
void bench_field_inverse_var (void *arg, int iters)
 
void bench_field_sqrt (void *arg, int iters)
 
void bench_group_double_var (void *arg, int iters)
 
void bench_group_add_var (void *arg, int iters)
 
void bench_group_add_affine (void *arg, int iters)
 
void bench_group_add_affine_var (void *arg, int iters)
 
void bench_group_jacobi_var (void *arg, int iters)
 
void bench_group_to_affine_var (void *arg, int iters)
 
void bench_ecmult_wnaf (void *arg, int iters)
 
void bench_wnaf_const (void *arg, int iters)
 
void bench_sha256 (void *arg, int iters)
 
void bench_hmac_sha256 (void *arg, int iters)
 
void bench_rfc6979_hmac_sha256 (void *arg, int iters)
 
void bench_context_verify (void *arg, int iters)
 
void bench_context_sign (void *arg, int iters)
 
void bench_num_jacobi (void *arg, int iters)
 
int main (int argc, char **argv)
 

Function Documentation

◆ bench_context_sign()

void bench_context_sign ( void *  arg,
int  iters 
)

Definition at line 364 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_context_verify()

void bench_context_verify ( void *  arg,
int  iters 
)

Definition at line 356 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_ecmult_wnaf()

void bench_ecmult_wnaf ( void *  arg,
int  iters 
)

Definition at line 296 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_field_inverse()

void bench_field_inverse ( void *  arg,
int  iters 
)

Definition at line 189 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_field_inverse_var()

void bench_field_inverse_var ( void *  arg,
int  iters 
)

Definition at line 199 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_field_mul()

void bench_field_mul ( void *  arg,
int  iters 
)

Definition at line 171 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_field_normalize()

void bench_field_normalize ( void *  arg,
int  iters 
)

Definition at line 153 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_field_normalize_weak()

void bench_field_normalize_weak ( void *  arg,
int  iters 
)

Definition at line 162 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_field_sqr()

void bench_field_sqr ( void *  arg,
int  iters 
)

Definition at line 180 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_field_sqrt()

void bench_field_sqrt ( void *  arg,
int  iters 
)

Definition at line 209 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_group_add_affine()

void bench_group_add_affine ( void *  arg,
int  iters 
)

Definition at line 240 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_group_add_affine_var()

void bench_group_add_affine_var ( void *  arg,
int  iters 
)

Definition at line 249 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_group_add_var()

void bench_group_add_var ( void *  arg,
int  iters 
)

Definition at line 231 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_group_double_var()

void bench_group_double_var ( void *  arg,
int  iters 
)

Definition at line 222 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_group_jacobi_var()

void bench_group_jacobi_var ( void *  arg,
int  iters 
)

Definition at line 258 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_group_to_affine_var()

void bench_group_to_affine_var ( void *  arg,
int  iters 
)

Definition at line 278 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_hmac_sha256()

void bench_hmac_sha256 ( void *  arg,
int  iters 
)

Definition at line 333 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_num_jacobi()

void bench_num_jacobi ( void *  arg,
int  iters 
)

Definition at line 373 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_rfc6979_hmac_sha256()

void bench_rfc6979_hmac_sha256 ( void *  arg,
int  iters 
)

Definition at line 345 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_scalar_add()

void bench_scalar_add ( void *  arg,
int  iters 
)

Definition at line 83 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_scalar_inverse()

void bench_scalar_inverse ( void *  arg,
int  iters 
)

Definition at line 131 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_scalar_inverse_var()

void bench_scalar_inverse_var ( void *  arg,
int  iters 
)

Definition at line 142 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_scalar_mul()

void bench_scalar_mul ( void *  arg,
int  iters 
)

Definition at line 111 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_scalar_negate()

void bench_scalar_negate ( void *  arg,
int  iters 
)

Definition at line 93 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_scalar_split()

void bench_scalar_split ( void *  arg,
int  iters 
)

Definition at line 120 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_scalar_sqr()

void bench_scalar_sqr ( void *  arg,
int  iters 
)

Definition at line 102 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_setup()

void bench_setup ( void *  arg)

Definition at line 31 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_sha256()

void bench_sha256 ( void *  arg,
int  iters 
)

Definition at line 321 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_wnaf_const()

void bench_wnaf_const ( void *  arg,
int  iters 
)

Definition at line 308 of file bench_internal.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 390 of file bench_internal.c.

Here is the call graph for this function: