Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
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 "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_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)
 
int main (int argc, char **argv)
 

Function Documentation

◆ bench_context_sign()

void bench_context_sign ( void arg,
int  iters 
)

Definition at line 354 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 346 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 286 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 179 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 189 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 161 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 143 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 152 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 170 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 199 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 230 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 239 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 221 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 212 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 248 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 268 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 323 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 335 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 82 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 121 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 132 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 101 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 92 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 110 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 30 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 311 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 298 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 362 of file bench_internal.c.

Here is the call graph for this function: