#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "secp256k1.c"
#include "../include/secp256k1.h"
#include "assumptions.h"
#include "group.h"
#include "testrand_impl.h"
#include "ecmult_compute_table_impl.h"
#include "ecmult_gen_compute_table_impl.h"
#include "testutil.h"
#include "util.h"
 
Go to the source code of this file.
 | 
| static SECP256K1_INLINE int  | skip_section (uint64_t *iter) | 
|   | 
| static int  | secp256k1_nonce_function_smallint (unsigned char *nonce32, const unsigned char *msg32, const unsigned char *key32, const unsigned char *algo16, void *data, unsigned int attempt) | 
|   | 
| static void  | test_exhaustive_endomorphism (const secp256k1_ge *group) | 
|   | 
| static void  | test_exhaustive_addition (const secp256k1_ge *group, const secp256k1_gej *groupj) | 
|   | 
| static void  | test_exhaustive_ecmult (const secp256k1_ge *group, const secp256k1_gej *groupj) | 
|   | 
| static int  | ecmult_multi_callback (secp256k1_scalar *sc, secp256k1_ge *pt, size_t idx, void *cbdata) | 
|   | 
| static void  | test_exhaustive_ecmult_multi (const secp256k1_context *ctx, const secp256k1_ge *group) | 
|   | 
| static void  | r_from_k (secp256k1_scalar *r, const secp256k1_ge *group, int k, int *overflow) | 
|   | 
| static void  | test_exhaustive_verify (const secp256k1_context *ctx, const secp256k1_ge *group) | 
|   | 
| static void  | test_exhaustive_sign (const secp256k1_context *ctx, const secp256k1_ge *group) | 
|   | 
| int  | main (int argc, char **argv) | 
|   | 
◆ EXHAUSTIVE_TEST_CURVE_HAS_EVEN_ORDER
◆ EXHAUSTIVE_TEST_ORDER
      
        
          | #define EXHAUSTIVE_TEST_ORDER   13 | 
        
      
 
 
◆ ecmult_multi_callback()
◆ main()
      
        
          | int main  | 
          ( | 
          int  | 
          argc,  | 
        
        
           | 
           | 
          char **  | 
          argv  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ r_from_k()
◆ secp256k1_nonce_function_smallint()
  
  
      
        
          | static int secp256k1_nonce_function_smallint  | 
          ( | 
          unsigned char *  | 
          nonce32,  | 
         
        
           | 
           | 
          const unsigned char *  | 
          msg32,  | 
         
        
           | 
           | 
          const unsigned char *  | 
          key32,  | 
         
        
           | 
           | 
          const unsigned char *  | 
          algo16,  | 
         
        
           | 
           | 
          void *  | 
          data,  | 
         
        
           | 
           | 
          unsigned int  | 
          attempt  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ skip_section()
◆ test_exhaustive_addition()
◆ test_exhaustive_ecmult()
◆ test_exhaustive_ecmult_multi()
◆ test_exhaustive_endomorphism()
  
  
      
        
          | static void test_exhaustive_endomorphism  | 
          ( | 
          const secp256k1_ge *  | 
          group | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ test_exhaustive_sign()
◆ test_exhaustive_verify()
◆ count
◆ num_cores
◆ this_core