Bitcoin ABC 0.30.5
P2P Digital Currency
Classes | Functions
modinv32_impl.h File Reference
#include "modinv32.h"
#include "util.h"
#include <stdlib.h>
Include dependency graph for modinv32_impl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  secp256k1_modinv32_trans2x2
 

Functions

static void secp256k1_modinv32_normalize_30 (secp256k1_modinv32_signed30 *r, int32_t sign, const secp256k1_modinv32_modinfo *modinfo)
 
static int32_t secp256k1_modinv32_divsteps_30 (int32_t eta, uint32_t f0, uint32_t g0, secp256k1_modinv32_trans2x2 *t)
 
static int32_t secp256k1_modinv32_divsteps_30_var (int32_t eta, uint32_t f0, uint32_t g0, secp256k1_modinv32_trans2x2 *t)
 
static void secp256k1_modinv32_update_de_30 (secp256k1_modinv32_signed30 *d, secp256k1_modinv32_signed30 *e, const secp256k1_modinv32_trans2x2 *t, const secp256k1_modinv32_modinfo *modinfo)
 
static void secp256k1_modinv32_update_fg_30 (secp256k1_modinv32_signed30 *f, secp256k1_modinv32_signed30 *g, const secp256k1_modinv32_trans2x2 *t)
 
static void secp256k1_modinv32_update_fg_30_var (int len, secp256k1_modinv32_signed30 *f, secp256k1_modinv32_signed30 *g, const secp256k1_modinv32_trans2x2 *t)
 
static void secp256k1_modinv32 (secp256k1_modinv32_signed30 *x, const secp256k1_modinv32_modinfo *modinfo)
 
static void secp256k1_modinv32_var (secp256k1_modinv32_signed30 *x, const secp256k1_modinv32_modinfo *modinfo)
 

Function Documentation

◆ secp256k1_modinv32()

static void secp256k1_modinv32 ( secp256k1_modinv32_signed30 x,
const secp256k1_modinv32_modinfo modinfo 
)
static

Definition at line 455 of file modinv32_impl.h.

Here is the call graph for this function:

◆ secp256k1_modinv32_divsteps_30()

static int32_t secp256k1_modinv32_divsteps_30 ( int32_t  eta,
uint32_t  f0,
uint32_t  g0,
secp256k1_modinv32_trans2x2 t 
)
static

Definition at line 181 of file modinv32_impl.h.

Here is the caller graph for this function:

◆ secp256k1_modinv32_divsteps_30_var()

static int32_t secp256k1_modinv32_divsteps_30_var ( int32_t  eta,
uint32_t  f0,
uint32_t  g0,
secp256k1_modinv32_trans2x2 t 
)
static

Definition at line 245 of file modinv32_impl.h.

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

◆ secp256k1_modinv32_normalize_30()

static void secp256k1_modinv32_normalize_30 ( secp256k1_modinv32_signed30 r,
int32_t  sign,
const secp256k1_modinv32_modinfo modinfo 
)
static

Definition at line 63 of file modinv32_impl.h.

Here is the caller graph for this function:

◆ secp256k1_modinv32_update_de_30()

static void secp256k1_modinv32_update_de_30 ( secp256k1_modinv32_signed30 d,
secp256k1_modinv32_signed30 e,
const secp256k1_modinv32_trans2x2 t,
const secp256k1_modinv32_modinfo modinfo 
)
static

Definition at line 327 of file modinv32_impl.h.

Here is the caller graph for this function:

◆ secp256k1_modinv32_update_fg_30()

static void secp256k1_modinv32_update_fg_30 ( secp256k1_modinv32_signed30 f,
secp256k1_modinv32_signed30 g,
const secp256k1_modinv32_trans2x2 t 
)
static

Definition at line 389 of file modinv32_impl.h.

Here is the caller graph for this function:

◆ secp256k1_modinv32_update_fg_30_var()

static void secp256k1_modinv32_update_fg_30_var ( int  len,
secp256k1_modinv32_signed30 f,
secp256k1_modinv32_signed30 g,
const secp256k1_modinv32_trans2x2 t 
)
static

Definition at line 424 of file modinv32_impl.h.

Here is the caller graph for this function:

◆ secp256k1_modinv32_var()

static void secp256k1_modinv32_var ( secp256k1_modinv32_signed30 x,
const secp256k1_modinv32_modinfo modinfo 
)
static

Definition at line 508 of file modinv32_impl.h.

Here is the call graph for this function: