ReactOS  0.4.15-dev-3453-gff89651
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 )
#define b
Definition: ke_i.h:79
const GLubyte * c
Definition: glext.h:8905
uint32_t mbedtls_mpi_uint
Definition: bignum.h:196
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
#define d
Definition: ke_i.h:81

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 )
GLfloat GLfloat GLfloat GLfloat h
Definition: glext.h:7723
#define e
Definition: ke_i.h:82
GLboolean GLboolean g
Definition: glext.h:6204
GLfloat f
Definition: glext.h:7540
GLboolean GLboolean GLboolean b
Definition: glext.h:6204
#define MBEDTLS_BYTES_TO_T_UINT_4(a, b, c, d)
Definition: bn_mul.h:81
const GLubyte * c
Definition: glext.h:8905
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
#define d
Definition: ke_i.h:81

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;
GLdouble GLdouble GLdouble r
Definition: gl.h:2055
static DNS_RECORDW r1
Definition: record.c:37
uint64_t mbedtls_t_udbl
Definition: bignum.h:198
#define b
Definition: ke_i.h:79
uint32_t mbedtls_mpi_uint
Definition: bignum.h:196
GLdouble s
Definition: gl.h:2039
#define c
Definition: ke_i.h:80
#define d
Definition: ke_i.h:81

Definition at line 942 of file bn_mul.h.

◆ MULADDC_INIT

#define MULADDC_INIT
Value:
{ \
mbedtls_t_udbl r; \
mbedtls_mpi_uint r0, r1;
GLdouble GLdouble GLdouble r
Definition: gl.h:2055
static DNS_RECORDW r1
Definition: record.c:37

Definition at line 937 of file bn_mul.h.

◆ MULADDC_STOP

#define MULADDC_STOP   }

Definition at line 950 of file bn_mul.h.