Bitcoin ABC 0.30.7
P2P Digital Currency
|
#include "modinv32_impl.h"
Go to the source code of this file.
Macros | |
#define | SECP256K1_N_0 ((uint32_t)0xD0364141UL) |
#define | SECP256K1_N_1 ((uint32_t)0xBFD25E8CUL) |
#define | SECP256K1_N_2 ((uint32_t)0xAF48A03BUL) |
#define | SECP256K1_N_3 ((uint32_t)0xBAAEDCE6UL) |
#define | SECP256K1_N_4 ((uint32_t)0xFFFFFFFEUL) |
#define | SECP256K1_N_5 ((uint32_t)0xFFFFFFFFUL) |
#define | SECP256K1_N_6 ((uint32_t)0xFFFFFFFFUL) |
#define | SECP256K1_N_7 ((uint32_t)0xFFFFFFFFUL) |
#define | SECP256K1_N_C_0 (~SECP256K1_N_0 + 1) |
#define | SECP256K1_N_C_1 (~SECP256K1_N_1) |
#define | SECP256K1_N_C_2 (~SECP256K1_N_2) |
#define | SECP256K1_N_C_3 (~SECP256K1_N_3) |
#define | SECP256K1_N_C_4 (1) |
#define | SECP256K1_N_H_0 ((uint32_t)0x681B20A0UL) |
#define | SECP256K1_N_H_1 ((uint32_t)0xDFE92F46UL) |
#define | SECP256K1_N_H_2 ((uint32_t)0x57A4501DUL) |
#define | SECP256K1_N_H_3 ((uint32_t)0x5D576E73UL) |
#define | SECP256K1_N_H_4 ((uint32_t)0xFFFFFFFFUL) |
#define | SECP256K1_N_H_5 ((uint32_t)0xFFFFFFFFUL) |
#define | SECP256K1_N_H_6 ((uint32_t)0xFFFFFFFFUL) |
#define | SECP256K1_N_H_7 ((uint32_t)0x7FFFFFFFUL) |
#define | muladd(a, b) |
Add a*b to the number defined by (c0,c1,c2). More... | |
#define | muladd_fast(a, b) |
Add a*b to the number defined by (c0,c1). More... | |
#define | sumadd(a) |
Add a to the number defined by (c0,c1,c2). More... | |
#define | sumadd_fast(a) |
Add a to the number defined by (c0,c1). More... | |
#define | extract(n) |
Extract the lowest 32 bits of (c0,c1,c2) into n, and left shift the number 32 bits. More... | |
#define | extract_fast(n) |
Extract the lowest 32 bits of (c0,c1,c2) into n, and left shift the number 32 bits. More... | |
Variables | |
static const secp256k1_modinv32_modinfo | secp256k1_const_modinfo_scalar |
#define extract | ( | n | ) |
Extract the lowest 32 bits of (c0,c1,c2) into n, and left shift the number 32 bits.
Definition at line 314 of file scalar_8x32_impl.h.
#define extract_fast | ( | n | ) |
Extract the lowest 32 bits of (c0,c1,c2) into n, and left shift the number 32 bits.
c2 is required to be zero.
Definition at line 322 of file scalar_8x32_impl.h.
#define muladd | ( | a, | |
b | |||
) |
Add a*b to the number defined by (c0,c1,c2).
c2 must never overflow.
Definition at line 268 of file scalar_8x32_impl.h.
#define muladd_fast | ( | a, | |
b | |||
) |
Add a*b to the number defined by (c0,c1).
c1 must never overflow.
Definition at line 283 of file scalar_8x32_impl.h.
#define SECP256K1_N_0 ((uint32_t)0xD0364141UL) |
Definition at line 13 of file scalar_8x32_impl.h.
#define SECP256K1_N_1 ((uint32_t)0xBFD25E8CUL) |
Definition at line 14 of file scalar_8x32_impl.h.
#define SECP256K1_N_2 ((uint32_t)0xAF48A03BUL) |
Definition at line 15 of file scalar_8x32_impl.h.
#define SECP256K1_N_3 ((uint32_t)0xBAAEDCE6UL) |
Definition at line 16 of file scalar_8x32_impl.h.
#define SECP256K1_N_4 ((uint32_t)0xFFFFFFFEUL) |
Definition at line 17 of file scalar_8x32_impl.h.
#define SECP256K1_N_5 ((uint32_t)0xFFFFFFFFUL) |
Definition at line 18 of file scalar_8x32_impl.h.
#define SECP256K1_N_6 ((uint32_t)0xFFFFFFFFUL) |
Definition at line 19 of file scalar_8x32_impl.h.
#define SECP256K1_N_7 ((uint32_t)0xFFFFFFFFUL) |
Definition at line 20 of file scalar_8x32_impl.h.
#define SECP256K1_N_C_0 (~SECP256K1_N_0 + 1) |
Definition at line 23 of file scalar_8x32_impl.h.
#define SECP256K1_N_C_1 (~SECP256K1_N_1) |
Definition at line 24 of file scalar_8x32_impl.h.
#define SECP256K1_N_C_2 (~SECP256K1_N_2) |
Definition at line 25 of file scalar_8x32_impl.h.
#define SECP256K1_N_C_3 (~SECP256K1_N_3) |
Definition at line 26 of file scalar_8x32_impl.h.
#define SECP256K1_N_C_4 (1) |
Definition at line 27 of file scalar_8x32_impl.h.
#define SECP256K1_N_H_0 ((uint32_t)0x681B20A0UL) |
Definition at line 30 of file scalar_8x32_impl.h.
#define SECP256K1_N_H_1 ((uint32_t)0xDFE92F46UL) |
Definition at line 31 of file scalar_8x32_impl.h.
#define SECP256K1_N_H_2 ((uint32_t)0x57A4501DUL) |
Definition at line 32 of file scalar_8x32_impl.h.
#define SECP256K1_N_H_3 ((uint32_t)0x5D576E73UL) |
Definition at line 33 of file scalar_8x32_impl.h.
#define SECP256K1_N_H_4 ((uint32_t)0xFFFFFFFFUL) |
Definition at line 34 of file scalar_8x32_impl.h.
#define SECP256K1_N_H_5 ((uint32_t)0xFFFFFFFFUL) |
Definition at line 35 of file scalar_8x32_impl.h.
#define SECP256K1_N_H_6 ((uint32_t)0xFFFFFFFFUL) |
Definition at line 36 of file scalar_8x32_impl.h.
#define SECP256K1_N_H_7 ((uint32_t)0x7FFFFFFFUL) |
Definition at line 37 of file scalar_8x32_impl.h.
#define sumadd | ( | a | ) |
Add a to the number defined by (c0,c1,c2).
c2 must never overflow.
Definition at line 297 of file scalar_8x32_impl.h.
#define sumadd_fast | ( | a | ) |
Add a to the number defined by (c0,c1).
c1 must never overflow, c2 must be zero.
Definition at line 306 of file scalar_8x32_impl.h.
|
static |
|
static |
Definition at line 141 of file scalar_8x32_impl.h.
|
static |
|
static |
Definition at line 39 of file scalar_8x32_impl.h.
|
static |
Definition at line 632 of file scalar_8x32_impl.h.
|
static |
|
static |
Definition at line 607 of file scalar_8x32_impl.h.
|
static |
Definition at line 647 of file scalar_8x32_impl.h.
|
static |
Definition at line 183 of file scalar_8x32_impl.h.
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 731 of file scalar_8x32_impl.h.
|
static |
Definition at line 222 of file scalar_8x32_impl.h.
|
static |
Definition at line 218 of file scalar_8x32_impl.h.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 329 of file scalar_8x32_impl.h.
|
static |
|
static |
Definition at line 50 of file scalar_8x32_impl.h.
|
static |
Definition at line 572 of file scalar_8x32_impl.h.
|
static |
Definition at line 588 of file scalar_8x32_impl.h.
|
static |
Definition at line 678 of file scalar_8x32_impl.h.
|
static |
Definition at line 698 of file scalar_8x32_impl.h.