#include <stdio.h>
#include <stdlib.h>
#include "secp256k1.c"
#include "testrand_impl.h"
Go to the source code of this file.
|
| void | random_field_element_test (secp256k1_fe_t *fe) |
| |
| void | random_field_element_magnitude (secp256k1_fe_t *fe) |
| |
| void | random_group_element_test (secp256k1_ge_t *ge) |
| |
| void | random_group_element_jacobian_test (secp256k1_gej_t *gej, const secp256k1_ge_t *ge) |
| |
| void | random_scalar_order_test (secp256k1_scalar_t *num) |
| |
| void | random_scalar_order (secp256k1_scalar_t *num) |
| |
| void | random_num_negate (secp256k1_num_t *num) |
| |
| void | random_num_order_test (secp256k1_num_t *num) |
| |
| void | random_num_order (secp256k1_num_t *num) |
| |
| void | test_num_negate (void) |
| |
| void | test_num_add_sub (void) |
| |
| void | run_num_smalltests (void) |
| |
| void | scalar_test (void) |
| |
| void | run_scalar_tests (void) |
| |
| void | random_fe (secp256k1_fe_t *x) |
| |
| void | random_fe_non_zero (secp256k1_fe_t *nz) |
| |
| void | random_fe_non_square (secp256k1_fe_t *ns) |
| |
| int | check_fe_equal (const secp256k1_fe_t *a, const secp256k1_fe_t *b) |
| |
| int | check_fe_inverse (const secp256k1_fe_t *a, const secp256k1_fe_t *ai) |
| |
| void | run_field_inv (void) |
| |
| void | run_field_inv_var (void) |
| |
| void | run_field_inv_all (void) |
| |
| void | run_field_inv_all_var (void) |
| |
| void | run_sqr (void) |
| |
| void | test_sqrt (const secp256k1_fe_t *a, const secp256k1_fe_t *k) |
| |
| void | run_sqrt (void) |
| |
| int | ge_equals_ge (const secp256k1_ge_t *a, const secp256k1_ge_t *b) |
| |
| void | ge_equals_gej (const secp256k1_ge_t *a, const secp256k1_gej_t *b) |
| |
| void | gej_equals_gej (const secp256k1_gej_t *a, const secp256k1_gej_t *b) |
| |
| void | test_ge (void) |
| |
| void | run_ge (void) |
| |
| void | run_ecmult_chain (void) |
| |
| void | test_point_times_order (const secp256k1_gej_t *point) |
| |
| void | run_point_times_order (void) |
| |
| void | test_wnaf (const secp256k1_scalar_t *number, int w) |
| |
| void | run_wnaf (void) |
| |
| void | random_sign (secp256k1_ecdsa_sig_t *sig, const secp256k1_scalar_t *key, const secp256k1_scalar_t *msg, int *recid) |
| |
| void | test_ecdsa_sign_verify (void) |
| |
| void | run_ecdsa_sign_verify (void) |
| |
| void | test_ecdsa_end_to_end (void) |
| |
| void | run_ecdsa_end_to_end (void) |
| |
| void | test_ecdsa_edge_cases (void) |
| |
| void | run_ecdsa_edge_cases (void) |
| |
| int | main (int argc, char **argv) |
| |
◆ check_fe_equal()
◆ check_fe_inverse()
◆ ge_equals_ge()
◆ ge_equals_gej()
◆ gej_equals_gej()
◆ main()
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ random_fe()
◆ random_fe_non_square()
◆ random_fe_non_zero()
◆ random_field_element_magnitude()
◆ random_field_element_test()
◆ random_group_element_jacobian_test()
◆ random_group_element_test()
◆ random_num_negate()
◆ random_num_order()
◆ random_num_order_test()
◆ random_scalar_order()
◆ random_scalar_order_test()
◆ random_sign()
◆ run_ecdsa_edge_cases()
| void run_ecdsa_edge_cases |
( |
void |
| ) |
|
◆ run_ecdsa_end_to_end()
| void run_ecdsa_end_to_end |
( |
void |
| ) |
|
◆ run_ecdsa_sign_verify()
| void run_ecdsa_sign_verify |
( |
void |
| ) |
|
◆ run_ecmult_chain()
| void run_ecmult_chain |
( |
void |
| ) |
|
◆ run_field_inv()
| void run_field_inv |
( |
void |
| ) |
|
◆ run_field_inv_all()
| void run_field_inv_all |
( |
void |
| ) |
|
◆ run_field_inv_all_var()
| void run_field_inv_all_var |
( |
void |
| ) |
|
◆ run_field_inv_var()
| void run_field_inv_var |
( |
void |
| ) |
|
◆ run_ge()
◆ run_num_smalltests()
| void run_num_smalltests |
( |
void |
| ) |
|
◆ run_point_times_order()
| void run_point_times_order |
( |
void |
| ) |
|
◆ run_scalar_tests()
| void run_scalar_tests |
( |
void |
| ) |
|
◆ run_sqr()
◆ run_sqrt()
◆ run_wnaf()
◆ scalar_test()
| void scalar_test |
( |
void |
| ) |
|
◆ test_ecdsa_edge_cases()
| void test_ecdsa_edge_cases |
( |
void |
| ) |
|
◆ test_ecdsa_end_to_end()
| void test_ecdsa_end_to_end |
( |
void |
| ) |
|
◆ test_ecdsa_sign_verify()
| void test_ecdsa_sign_verify |
( |
void |
| ) |
|
◆ test_ge()
◆ test_num_add_sub()
| void test_num_add_sub |
( |
void |
| ) |
|
◆ test_num_negate()
| void test_num_negate |
( |
void |
| ) |
|
◆ test_point_times_order()
◆ test_sqrt()
◆ test_wnaf()