ReactOS 0.4.16-dev-297-gc569aee
bn_mul.h File Reference

Multi-precision integer library. More...

#include "config.h"
#include "bignum.h"
Include dependency graph for bn_mul.h:

Go to the source code of this file.

Macros

#define MBEDTLS_BYTES_TO_T_UINT_4(a, b, c, d)
 
#define MBEDTLS_BYTES_TO_T_UINT_2(a, b)    MBEDTLS_BYTES_TO_T_UINT_4( a, b, 0, 0 )
 
#define MBEDTLS_BYTES_TO_T_UINT_8(a, b, c, d, e, f, g, h)
 
#define asm   __asm
 
#define MULADDC_INIT
 
#define MULADDC_CORE
 
#define MULADDC_STOP   }
 

Detailed Description

Multi-precision integer library.

Definition in file bn_mul.h.

Macro Definition Documentation

◆ asm

#define asm   __asm

Definition at line 117 of file bn_mul.h.

◆ MBEDTLS_BYTES_TO_T_UINT_2

#define MBEDTLS_BYTES_TO_T_UINT_2 (   a,
  b 
)     MBEDTLS_BYTES_TO_T_UINT_4( a, b, 0, 0 )

Definition at line 87 of file bn_mul.h.

◆ MBEDTLS_BYTES_TO_T_UINT_4

#define MBEDTLS_BYTES_TO_T_UINT_4 (   a,
  b,
  c,
  d 
)
Value:
( (mbedtls_mpi_uint) (a) << 0 ) | \
( (mbedtls_mpi_uint) (b) << 8 ) | \
( (mbedtls_mpi_uint) (c) << 16 ) | \
( (mbedtls_mpi_uint) (d) << 24 )
uint32_t mbedtls_mpi_uint
Definition: bignum.h:196
const GLubyte * c
Definition: glext.h:8905
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
#define d
Definition: ke_i.h:81
#define b
Definition: ke_i.h:79

Definition at line 81 of file bn_mul.h.

◆ MBEDTLS_BYTES_TO_T_UINT_8

#define MBEDTLS_BYTES_TO_T_UINT_8 (   a,
  b,
  c,
  d,
  e,
  f,
  g,
  h 
)
Value:
MBEDTLS_BYTES_TO_T_UINT_4( e, f, g, h )
#define MBEDTLS_BYTES_TO_T_UINT_4(a, b, c, d)
Definition: bn_mul.h:81
GLfloat f
Definition: glext.h:7540
GLboolean GLboolean GLboolean b
Definition: glext.h:6204
GLboolean GLboolean g
Definition: glext.h:6204
GLfloat GLfloat GLfloat GLfloat h
Definition: glext.h:7723
#define e
Definition: ke_i.h:82

Definition at line 90 of file bn_mul.h.

◆ MULADDC_CORE

#define MULADDC_CORE
Value:
r = *(s++) * (mbedtls_t_udbl) b; \
r0 = (mbedtls_mpi_uint) r; \
r1 = (mbedtls_mpi_uint)( r >> biL ); \
r0 += c; r1 += (r0 < c); \
r0 += *d; r1 += (r0 < *d); \
c = r1; *(d++) = r0;
uint64_t mbedtls_t_udbl
Definition: bignum.h:198
GLdouble s
Definition: gl.h:2039
GLdouble GLdouble GLdouble r
Definition: gl.h:2055
#define c
Definition: ke_i.h:80
static DNS_RECORDW r1
Definition: record.c:37

Definition at line 942 of file bn_mul.h.

◆ MULADDC_INIT

#define MULADDC_INIT
Value:

Definition at line 937 of file bn_mul.h.

◆ MULADDC_STOP

#define MULADDC_STOP   }

Definition at line 950 of file bn_mul.h.