Bitcoin Core 28.99.0
P2P Digital Currency
Functions
testutil.h File Reference
#include "field.h"
#include "group.h"
#include "testrand.h"
#include "util.h"
Include dependency graph for testutil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static void testutil_random_fe (secp256k1_fe *x)
 
static void testutil_random_fe_non_zero (secp256k1_fe *nz)
 
static void testutil_random_fe_magnitude (secp256k1_fe *fe, int m)
 
static void testutil_random_fe_test (secp256k1_fe *x)
 
static void testutil_random_fe_non_zero_test (secp256k1_fe *fe)
 
static void testutil_random_ge_x_magnitude (secp256k1_ge *ge)
 
static void testutil_random_ge_y_magnitude (secp256k1_ge *ge)
 
static void testutil_random_gej_x_magnitude (secp256k1_gej *gej)
 
static void testutil_random_gej_y_magnitude (secp256k1_gej *gej)
 
static void testutil_random_gej_z_magnitude (secp256k1_gej *gej)
 
static void testutil_random_ge_test (secp256k1_ge *ge)
 
static void testutil_random_ge_jacobian_test (secp256k1_gej *gej, const secp256k1_ge *ge)
 
static void testutil_random_gej_test (secp256k1_gej *gej)
 
static void testutil_random_pubkey_test (secp256k1_pubkey *pk)
 
static void testutil_random_scalar_order_test (secp256k1_scalar *num)
 
static void testutil_random_scalar_order (secp256k1_scalar *num)
 
static void testutil_random_scalar_order_b32 (unsigned char *b32)
 

Function Documentation

◆ testutil_random_fe()

static void testutil_random_fe ( secp256k1_fe x)
static

Definition at line 14 of file testutil.h.

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

◆ testutil_random_fe_magnitude()

static void testutil_random_fe_magnitude ( secp256k1_fe fe,
int  m 
)
static

Definition at line 30 of file testutil.h.

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

◆ testutil_random_fe_non_zero()

static void testutil_random_fe_non_zero ( secp256k1_fe nz)
static

Definition at line 24 of file testutil.h.

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

◆ testutil_random_fe_non_zero_test()

static void testutil_random_fe_non_zero_test ( secp256k1_fe fe)
static

Definition at line 56 of file testutil.h.

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

◆ testutil_random_fe_test()

static void testutil_random_fe_test ( secp256k1_fe x)
static

Definition at line 46 of file testutil.h.

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

◆ testutil_random_ge_jacobian_test()

static void testutil_random_ge_jacobian_test ( secp256k1_gej gej,
const secp256k1_ge ge 
)
static

Definition at line 94 of file testutil.h.

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

◆ testutil_random_ge_test()

static void testutil_random_ge_test ( secp256k1_ge ge)
static

Definition at line 82 of file testutil.h.

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

◆ testutil_random_ge_x_magnitude()

static void testutil_random_ge_x_magnitude ( secp256k1_ge ge)
static

Definition at line 62 of file testutil.h.

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

◆ testutil_random_ge_y_magnitude()

static void testutil_random_ge_y_magnitude ( secp256k1_ge ge)
static

Definition at line 66 of file testutil.h.

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

◆ testutil_random_gej_test()

static void testutil_random_gej_test ( secp256k1_gej gej)
static

Definition at line 104 of file testutil.h.

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

◆ testutil_random_gej_x_magnitude()

static void testutil_random_gej_x_magnitude ( secp256k1_gej gej)
static

Definition at line 70 of file testutil.h.

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

◆ testutil_random_gej_y_magnitude()

static void testutil_random_gej_y_magnitude ( secp256k1_gej gej)
static

Definition at line 74 of file testutil.h.

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

◆ testutil_random_gej_z_magnitude()

static void testutil_random_gej_z_magnitude ( secp256k1_gej gej)
static

Definition at line 78 of file testutil.h.

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

◆ testutil_random_pubkey_test()

static void testutil_random_pubkey_test ( secp256k1_pubkey pk)
static

Definition at line 110 of file testutil.h.

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

◆ testutil_random_scalar_order()

static void testutil_random_scalar_order ( secp256k1_scalar num)
static

Definition at line 129 of file testutil.h.

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

◆ testutil_random_scalar_order_b32()

static void testutil_random_scalar_order_b32 ( unsigned char *  b32)
static

Definition at line 142 of file testutil.h.

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

◆ testutil_random_scalar_order_test()

static void testutil_random_scalar_order_test ( secp256k1_scalar num)
static

Definition at line 116 of file testutil.h.

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