Bitcoin ABC 0.30.7
P2P Digital Currency
Functions
field_5x52_asm_impl.h File Reference

Go to the source code of this file.

Functions

static SECP256K1_INLINE void secp256k1_fe_mul_inner (uint64_t *r, const uint64_t *a, const uint64_t *SECP256K1_RESTRICT b)
 Changelog: More...
 
static SECP256K1_INLINE void secp256k1_fe_sqr_inner (uint64_t *r, const uint64_t *a)
 

Function Documentation

◆ secp256k1_fe_mul_inner()

static SECP256K1_INLINE void secp256k1_fe_mul_inner ( uint64_t *  r,
const uint64_t *  a,
const uint64_t *SECP256K1_RESTRICT  b 
)
static

Changelog:

  • March 2013, Diederik Huys: original version
  • November 2014, Pieter Wuille: updated to use Peter Dettman's parallel multiplication algorithm
  • December 2014, Pieter Wuille: converted from YASM to GCC inline assembly

Registers: rdx:rax = multiplication accumulator r9:r8 = c r15:rcx = d r10-r14 = a0-a4 rbx = b rdi = r rsi = a / t?

Definition at line 17 of file field_5x52_asm_impl.h.

◆ secp256k1_fe_sqr_inner()

static SECP256K1_INLINE void secp256k1_fe_sqr_inner ( uint64_t *  r,
const uint64_t *  a 
)
static

Registers: rdx:rax = multiplication accumulator r9:r8 = c rcx:rbx = d r10-r14 = a0-a4 r15 = M (0xfffffffffffff) rdi = r rsi = a / t?

Definition at line 287 of file field_5x52_asm_impl.h.