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

Go to the source code of this file.

Classes

struct  secp256k1_modinv64_trans2x2
 

Functions

static void secp256k1_modinv64_normalize_62 (secp256k1_modinv64_signed62 *r, int64_t sign, const secp256k1_modinv64_modinfo *modinfo)
 
static int64_t secp256k1_modinv64_divsteps_62 (int64_t eta, uint64_t f0, uint64_t g0, secp256k1_modinv64_trans2x2 *t)
 
static int64_t secp256k1_modinv64_divsteps_62_var (int64_t eta, uint64_t f0, uint64_t g0, secp256k1_modinv64_trans2x2 *t)
 
static void secp256k1_modinv64_update_de_62 (secp256k1_modinv64_signed62 *d, secp256k1_modinv64_signed62 *e, const secp256k1_modinv64_trans2x2 *t, const secp256k1_modinv64_modinfo *modinfo)
 
static void secp256k1_modinv64_update_fg_62 (secp256k1_modinv64_signed62 *f, secp256k1_modinv64_signed62 *g, const secp256k1_modinv64_trans2x2 *t)
 
static void secp256k1_modinv64_update_fg_62_var (int len, secp256k1_modinv64_signed62 *f, secp256k1_modinv64_signed62 *g, const secp256k1_modinv64_trans2x2 *t)
 
static void secp256k1_modinv64 (secp256k1_modinv64_signed62 *x, const secp256k1_modinv64_modinfo *modinfo)
 
static void secp256k1_modinv64_var (secp256k1_modinv64_signed62 *x, const secp256k1_modinv64_modinfo *modinfo)
 

Function Documentation

◆ secp256k1_modinv64()

static void secp256k1_modinv64 ( secp256k1_modinv64_signed62 x,
const secp256k1_modinv64_modinfo modinfo 
)
static

Definition at line 457 of file modinv64_impl.h.

Here is the call graph for this function:

◆ secp256k1_modinv64_divsteps_62()

static int64_t secp256k1_modinv64_divsteps_62 ( int64_t  eta,
uint64_t  f0,
uint64_t  g0,
secp256k1_modinv64_trans2x2 t 
)
static

Definition at line 158 of file modinv64_impl.h.

Here is the caller graph for this function:

◆ secp256k1_modinv64_divsteps_62_var()

static int64_t secp256k1_modinv64_divsteps_62_var ( int64_t  eta,
uint64_t  f0,
uint64_t  g0,
secp256k1_modinv64_trans2x2 t 
)
static

Definition at line 222 of file modinv64_impl.h.

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

◆ secp256k1_modinv64_normalize_62()

static void secp256k1_modinv64_normalize_62 ( secp256k1_modinv64_signed62 r,
int64_t  sign,
const secp256k1_modinv64_modinfo modinfo 
)
static

Definition at line 69 of file modinv64_impl.h.

Here is the caller graph for this function:

◆ secp256k1_modinv64_update_de_62()

static void secp256k1_modinv64_update_de_62 ( secp256k1_modinv64_signed62 d,
secp256k1_modinv64_signed62 e,
const secp256k1_modinv64_trans2x2 t,
const secp256k1_modinv64_modinfo modinfo 
)
static

Definition at line 300 of file modinv64_impl.h.

Here is the caller graph for this function:

◆ secp256k1_modinv64_update_fg_62()

static void secp256k1_modinv64_update_fg_62 ( secp256k1_modinv64_signed62 f,
secp256k1_modinv64_signed62 g,
const secp256k1_modinv64_trans2x2 t 
)
static

Definition at line 383 of file modinv64_impl.h.

Here is the caller graph for this function:

◆ secp256k1_modinv64_update_fg_62_var()

static void secp256k1_modinv64_update_fg_62_var ( int  len,
secp256k1_modinv64_signed62 f,
secp256k1_modinv64_signed62 g,
const secp256k1_modinv64_trans2x2 t 
)
static

Definition at line 426 of file modinv64_impl.h.

Here is the caller graph for this function:

◆ secp256k1_modinv64_var()

static void secp256k1_modinv64_var ( secp256k1_modinv64_signed62 x,
const secp256k1_modinv64_modinfo modinfo 
)
static

Definition at line 510 of file modinv64_impl.h.

Here is the call graph for this function: