tclTomMathDecls.h File Reference

#include "tcl.h"

Go to the source code of this file.

Data Structures

struct  TclTomMathStubs

Defines

#define TCLTOMMATH_EPOCH   0
#define TCLTOMMATH_REVISION   0
#define Tcl_TomMath_InitStubs(interp, version)
#define TclBNAlloc(s)   ((void*)ckalloc((size_t)(s)))
#define TclBNRealloc(x, s)   ((void*)ckrealloc((char*)(x),(size_t)(s)))
#define TclBNFree(x)   (ckfree((char*)(x)))
#define XMALLOC(x)   TclBNAlloc(x)
#define XFREE(x)   TclBNFree(x)
#define XREALLOC(x, n)   TclBNRealloc(x,n)
#define XCALLOC(n, x)   TclBNCalloc(n,x)
#define KARATSUBA_MUL_CUTOFF   TclBNKaratsubaMulCutoff
#define KARATSUBA_SQR_CUTOFF   TclBNKaratsubaSqrCutoff
#define TOOM_MUL_CUTOFF   TclBNToomMulCutoff
#define TOOM_SQR_CUTOFF   TclBNToomSqrCutoff
#define bn_reverse   TclBN_reverse
#define fast_s_mp_mul_digs   TclBN_fast_s_mp_mul_digs
#define fast_s_mp_sqr   TclBN_fast_s_mp_sqr
#define mp_add   TclBN_mp_add
#define mp_add_d   TclBN_mp_add_d
#define mp_and   TclBN_mp_and
#define mp_clamp   TclBN_mp_clamp
#define mp_clear   TclBN_mp_clear
#define mp_clear_multi   TclBN_mp_clear_multi
#define mp_cmp   TclBN_mp_cmp
#define mp_cmp_d   TclBN_mp_cmp_d
#define mp_cmp_mag   TclBN_mp_cmp_mag
#define mp_copy   TclBN_mp_copy
#define mp_count_bits   TclBN_mp_count_bits
#define mp_div   TclBN_mp_div
#define mp_div_2   TclBN_mp_div_2
#define mp_div_2d   TclBN_mp_div_2d
#define mp_div_3   TclBN_mp_div_3
#define mp_div_d   TclBN_mp_div_d
#define mp_exch   TclBN_mp_exch
#define mp_expt_d   TclBN_mp_expt_d
#define mp_grow   TclBN_mp_grow
#define mp_init   TclBN_mp_init
#define mp_init_copy   TclBN_mp_init_copy
#define mp_init_multi   TclBN_mp_init_multi
#define mp_init_set   TclBN_mp_init_set
#define mp_init_size   TclBN_mp_init_size
#define mp_karatsuba_mul   TclBN_mp_karatsuba_mul
#define mp_karatsuba_sqr   TclBN_mp_karatsuba_sqr
#define mp_lshd   TclBN_mp_lshd
#define mp_mod   TclBN_mp_mod
#define mp_mod_2d   TclBN_mp_mod_2d
#define mp_mul   TclBN_mp_mul
#define mp_mul_2   TclBN_mp_mul_2
#define mp_mul_2d   TclBN_mp_mul_2d
#define mp_mul_d   TclBN_mp_mul_d
#define mp_neg   TclBN_mp_neg
#define mp_or   TclBN_mp_or
#define mp_radix_size   TclBN_mp_radix_size
#define mp_read_radix   TclBN_mp_read_radix
#define mp_rshd   TclBN_mp_rshd
#define mp_s_rmap   TclBNMpSRmap
#define mp_set   TclBN_mp_set
#define mp_shrink   TclBN_mp_shrink
#define mp_sqr   TclBN_mp_sqr
#define mp_sqrt   TclBN_mp_sqrt
#define mp_sub   TclBN_mp_sub
#define mp_sub_d   TclBN_mp_sub_d
#define mp_to_unsigned_bin   TclBN_mp_to_unsigned_bin
#define mp_to_unsigned_bin_n   TclBN_mp_to_unsigned_bin_n
#define mp_toom_mul   TclBN_mp_toom_mul
#define mp_toom_sqr   TclBN_mp_toom_sqr
#define mp_toradix_n   TclBN_mp_toradix_n
#define mp_unsigned_bin_size   TclBN_mp_unsigned_bin_size
#define mp_xor   TclBN_mp_xor
#define mp_zero   TclBN_mp_zero
#define s_mp_add   TclBN_s_mp_add
#define s_mp_mul_digs   TclBN_s_mp_mul_digs
#define s_mp_sqr   TclBN_s_mp_sqr
#define s_mp_sub   TclBN_s_mp_sub
#define TCL_STORAGE_CLASS   DLLIMPORT
#define TCL_STORAGE_CLASS   DLLIMPORT

Functions

EXTERN int TclBN_epoch (void)
EXTERN int TclBN_revision (void)
EXTERN int TclBN_mp_add (mp_int *a, mp_int *b, mp_int *c)
EXTERN int TclBN_mp_add_d (mp_int *a, mp_digit b, mp_int *c)
EXTERN int TclBN_mp_and (mp_int *a, mp_int *b, mp_int *c)
EXTERN void TclBN_mp_clamp (mp_int *a)
EXTERN void TclBN_mp_clear (mp_int *a)
EXTERN void TclBN_mp_clear_multi (mp_int *a,...)
EXTERN int TclBN_mp_cmp (mp_int *a, mp_int *b)
EXTERN int TclBN_mp_cmp_d (mp_int *a, mp_digit b)
EXTERN int TclBN_mp_cmp_mag (mp_int *a, mp_int *b)
EXTERN int TclBN_mp_copy (mp_int *a, mp_int *b)
EXTERN int TclBN_mp_count_bits (mp_int *a)
EXTERN int TclBN_mp_div (mp_int *a, mp_int *b, mp_int *q, mp_int *r)
EXTERN int TclBN_mp_div_d (mp_int *a, mp_digit b, mp_int *q, mp_digit *r)
EXTERN int TclBN_mp_div_2 (mp_int *a, mp_int *q)
EXTERN int TclBN_mp_div_2d (mp_int *a, int b, mp_int *q, mp_int *r)
EXTERN int TclBN_mp_div_3 (mp_int *a, mp_int *q, mp_digit *r)
EXTERN void TclBN_mp_exch (mp_int *a, mp_int *b)
EXTERN int TclBN_mp_expt_d (mp_int *a, mp_digit b, mp_int *c)
EXTERN int TclBN_mp_grow (mp_int *a, int size)
EXTERN int TclBN_mp_init (mp_int *a)
EXTERN int TclBN_mp_init_copy (mp_int *a, mp_int *b)
EXTERN int TclBN_mp_init_multi (mp_int *a,...)
EXTERN int TclBN_mp_init_set (mp_int *a, mp_digit b)
EXTERN int TclBN_mp_init_size (mp_int *a, int size)
EXTERN int TclBN_mp_lshd (mp_int *a, int shift)
EXTERN int TclBN_mp_mod (mp_int *a, mp_int *b, mp_int *r)
EXTERN int TclBN_mp_mod_2d (mp_int *a, int b, mp_int *r)
EXTERN int TclBN_mp_mul (mp_int *a, mp_int *b, mp_int *p)
EXTERN int TclBN_mp_mul_d (mp_int *a, mp_digit b, mp_int *p)
EXTERN int TclBN_mp_mul_2 (mp_int *a, mp_int *p)
EXTERN int TclBN_mp_mul_2d (mp_int *a, int d, mp_int *p)
EXTERN int TclBN_mp_neg (mp_int *a, mp_int *b)
EXTERN int TclBN_mp_or (mp_int *a, mp_int *b, mp_int *c)
EXTERN int TclBN_mp_radix_size (mp_int *a, int radix, int *size)
EXTERN int TclBN_mp_read_radix (mp_int *a, const char *str, int radix)
EXTERN void TclBN_mp_rshd (mp_int *a, int shift)
EXTERN int TclBN_mp_shrink (mp_int *a)
EXTERN void TclBN_mp_set (mp_int *a, mp_digit b)
EXTERN int TclBN_mp_sqr (mp_int *a, mp_int *b)
EXTERN int TclBN_mp_sqrt (mp_int *a, mp_int *b)
EXTERN int TclBN_mp_sub (mp_int *a, mp_int *b, mp_int *c)
EXTERN int TclBN_mp_sub_d (mp_int *a, mp_digit b, mp_int *c)
EXTERN int TclBN_mp_to_unsigned_bin (mp_int *a, unsigned char *b)
EXTERN int TclBN_mp_to_unsigned_bin_n (mp_int *a, unsigned char *b, unsigned long *outlen)
EXTERN int TclBN_mp_toradix_n (mp_int *a, char *str, int radix, int maxlen)
EXTERN int TclBN_mp_unsigned_bin_size (mp_int *a)
EXTERN int TclBN_mp_xor (mp_int *a, mp_int *b, mp_int *c)
EXTERN void TclBN_mp_zero (mp_int *a)
EXTERN void TclBN_reverse (unsigned char *s, int len)
EXTERN int TclBN_fast_s_mp_mul_digs (mp_int *a, mp_int *b, mp_int *c, int digs)
EXTERN int TclBN_fast_s_mp_sqr (mp_int *a, mp_int *b)
EXTERN int TclBN_mp_karatsuba_mul (mp_int *a, mp_int *b, mp_int *c)
EXTERN int TclBN_mp_karatsuba_sqr (mp_int *a, mp_int *b)
EXTERN int TclBN_mp_toom_mul (mp_int *a, mp_int *b, mp_int *c)
EXTERN int TclBN_mp_toom_sqr (mp_int *a, mp_int *b)
EXTERN int TclBN_s_mp_add (mp_int *a, mp_int *b, mp_int *c)
EXTERN int TclBN_s_mp_mul_digs (mp_int *a, mp_int *b, mp_int *c, int digs)
EXTERN int TclBN_s_mp_sqr (mp_int *a, mp_int *b)
EXTERN int TclBN_s_mp_sub (mp_int *a, mp_int *b, mp_int *c)

Variables

TclTomMathStubstclTomMathStubsPtr


Define Documentation

#define bn_reverse   TclBN_reverse

Definition at line 56 of file tclTomMathDecls.h.

#define fast_s_mp_mul_digs   TclBN_fast_s_mp_mul_digs

Definition at line 57 of file tclTomMathDecls.h.

#define fast_s_mp_sqr   TclBN_fast_s_mp_sqr

Definition at line 58 of file tclTomMathDecls.h.

#define KARATSUBA_MUL_CUTOFF   TclBNKaratsubaMulCutoff

Definition at line 51 of file tclTomMathDecls.h.

#define KARATSUBA_SQR_CUTOFF   TclBNKaratsubaSqrCutoff

Definition at line 52 of file tclTomMathDecls.h.

#define mp_add   TclBN_mp_add

Definition at line 59 of file tclTomMathDecls.h.

Referenced by TclDoubleDigits(), TclExecuteByteCode(), and TclIncrObj().

#define mp_add_d   TclBN_mp_add_d

Definition at line 60 of file tclTomMathDecls.h.

Referenced by TclBignumToDouble(), TclCeil(), and TclParseNumber().

#define mp_and   TclBN_mp_and

Definition at line 61 of file tclTomMathDecls.h.

Referenced by TclExecuteByteCode().

#define mp_clamp   TclBN_mp_clamp

Definition at line 62 of file tclTomMathDecls.h.

#define mp_clear   TclBN_mp_clear

#define mp_clear_multi   TclBN_mp_clear_multi

Definition at line 64 of file tclTomMathDecls.h.

Referenced by TclDoubleDigits().

#define mp_cmp   TclBN_mp_cmp

Definition at line 65 of file tclTomMathDecls.h.

Referenced by TclExecuteByteCode().

#define mp_cmp_d   TclBN_mp_cmp_d

Definition at line 66 of file tclTomMathDecls.h.

Referenced by Tcl_AppendFormatToObj(), TclCeil(), TclExecuteByteCode(), and TclFloor().

#define mp_cmp_mag   TclBN_mp_cmp_mag

Definition at line 67 of file tclTomMathDecls.h.

Referenced by TclDoubleDigits().

#define mp_copy   TclBN_mp_copy

Definition at line 68 of file tclTomMathDecls.h.

Referenced by TclBignumToDouble(), TclCeil(), TclExecuteByteCode(), and TclFloor().

#define mp_count_bits   TclBN_mp_count_bits

Definition at line 69 of file tclTomMathDecls.h.

Referenced by TclBignumToDouble(), TclCeil(), and TclFloor().

#define mp_div   TclBN_mp_div

Definition at line 70 of file tclTomMathDecls.h.

Referenced by TclDoubleDigits(), and TclExecuteByteCode().

#define mp_div_2   TclBN_mp_div_2

Definition at line 71 of file tclTomMathDecls.h.

#define mp_div_2d   TclBN_mp_div_2d

#define mp_div_3   TclBN_mp_div_3

Definition at line 73 of file tclTomMathDecls.h.

#define mp_div_d   TclBN_mp_div_d

Definition at line 74 of file tclTomMathDecls.h.

#define mp_exch   TclBN_mp_exch

Definition at line 75 of file tclTomMathDecls.h.

#define mp_expt_d   TclBN_mp_expt_d

Definition at line 76 of file tclTomMathDecls.h.

Referenced by TclExecuteByteCode().

#define mp_grow   TclBN_mp_grow

Definition at line 77 of file tclTomMathDecls.h.

#define mp_init   TclBN_mp_init

#define mp_init_copy   TclBN_mp_init_copy

Definition at line 79 of file tclTomMathDecls.h.

Referenced by TclDoubleDigits().

#define mp_init_multi   TclBN_mp_init_multi

Definition at line 80 of file tclTomMathDecls.h.

#define mp_init_set   TclBN_mp_init_set

Definition at line 81 of file tclTomMathDecls.h.

Referenced by TclDoubleDigits().

#define mp_init_size   TclBN_mp_init_size

Definition at line 82 of file tclTomMathDecls.h.

Referenced by TclBNInitBignumFromLong(), and TclBNInitBignumFromWideUInt().

#define mp_karatsuba_mul   TclBN_mp_karatsuba_mul

Definition at line 83 of file tclTomMathDecls.h.

#define mp_karatsuba_sqr   TclBN_mp_karatsuba_sqr

Definition at line 84 of file tclTomMathDecls.h.

#define mp_lshd   TclBN_mp_lshd

Definition at line 85 of file tclTomMathDecls.h.

#define mp_mod   TclBN_mp_mod

Definition at line 86 of file tclTomMathDecls.h.

#define mp_mod_2d   TclBN_mp_mod_2d

Definition at line 87 of file tclTomMathDecls.h.

Referenced by Tcl_AppendFormatToObj(), and TclExecuteByteCode().

#define mp_mul   TclBN_mp_mul

Definition at line 88 of file tclTomMathDecls.h.

Referenced by TclDoubleDigits(), and TclExecuteByteCode().

#define mp_mul_2   TclBN_mp_mul_2

Definition at line 89 of file tclTomMathDecls.h.

#define mp_mul_2d   TclBN_mp_mul_2d

#define mp_mul_d   TclBN_mp_mul_d

Definition at line 91 of file tclTomMathDecls.h.

Referenced by TclDoubleDigits().

#define mp_neg   TclBN_mp_neg

#define mp_or   TclBN_mp_or

Definition at line 93 of file tclTomMathDecls.h.

Referenced by TclExecuteByteCode().

#define mp_radix_size   TclBN_mp_radix_size

Definition at line 94 of file tclTomMathDecls.h.

#define mp_read_radix   TclBN_mp_read_radix

Definition at line 95 of file tclTomMathDecls.h.

#define mp_rshd   TclBN_mp_rshd

Definition at line 96 of file tclTomMathDecls.h.

#define mp_s_rmap   TclBNMpSRmap

Definition at line 97 of file tclTomMathDecls.h.

#define mp_set   TclBN_mp_set

Definition at line 98 of file tclTomMathDecls.h.

Referenced by TclInitDoubleConversion().

#define mp_shrink   TclBN_mp_shrink

Definition at line 99 of file tclTomMathDecls.h.

#define mp_sqr   TclBN_mp_sqr

Definition at line 100 of file tclTomMathDecls.h.

Referenced by TclInitDoubleConversion().

#define mp_sqrt   TclBN_mp_sqrt

Definition at line 101 of file tclTomMathDecls.h.

#define mp_sub   TclBN_mp_sub

Definition at line 102 of file tclTomMathDecls.h.

Referenced by TclExecuteByteCode().

#define mp_sub_d   TclBN_mp_sub_d

Definition at line 103 of file tclTomMathDecls.h.

Referenced by TclExecuteByteCode().

#define mp_to_unsigned_bin   TclBN_mp_to_unsigned_bin

Definition at line 104 of file tclTomMathDecls.h.

#define mp_to_unsigned_bin_n   TclBN_mp_to_unsigned_bin_n

Definition at line 105 of file tclTomMathDecls.h.

Referenced by Tcl_GetLongFromObj(), Tcl_GetWideIntFromObj(), and Tcl_SetBignumObj().

#define mp_toom_mul   TclBN_mp_toom_mul

Definition at line 106 of file tclTomMathDecls.h.

#define mp_toom_sqr   TclBN_mp_toom_sqr

Definition at line 107 of file tclTomMathDecls.h.

#define mp_toradix_n   TclBN_mp_toradix_n

Definition at line 108 of file tclTomMathDecls.h.

#define mp_unsigned_bin_size   TclBN_mp_unsigned_bin_size

Definition at line 109 of file tclTomMathDecls.h.

#define mp_xor   TclBN_mp_xor

Definition at line 110 of file tclTomMathDecls.h.

Referenced by TclExecuteByteCode().

#define mp_zero   TclBN_mp_zero

Definition at line 111 of file tclTomMathDecls.h.

Referenced by Tcl_InitBignumFromDouble().

#define s_mp_add   TclBN_s_mp_add

Definition at line 112 of file tclTomMathDecls.h.

#define s_mp_mul_digs   TclBN_s_mp_mul_digs

Definition at line 113 of file tclTomMathDecls.h.

#define s_mp_sqr   TclBN_s_mp_sqr

Definition at line 114 of file tclTomMathDecls.h.

#define s_mp_sub   TclBN_s_mp_sub

Definition at line 115 of file tclTomMathDecls.h.

#define TCL_STORAGE_CLASS   DLLIMPORT

Definition at line 787 of file tclTomMathDecls.h.

#define TCL_STORAGE_CLASS   DLLIMPORT

Definition at line 787 of file tclTomMathDecls.h.

#define Tcl_TomMath_InitStubs ( interp,
version   ) 

Value:

Definition at line 29 of file tclTomMathDecls.h.

#define TclBNAlloc (  )     ((void*)ckalloc((size_t)(s)))

Definition at line 36 of file tclTomMathDecls.h.

#define TclBNFree (  )     (ckfree((char*)(x)))

Definition at line 40 of file tclTomMathDecls.h.

#define TclBNRealloc ( x,
 )     ((void*)ckrealloc((char*)(x),(size_t)(s)))

Definition at line 38 of file tclTomMathDecls.h.

#define TCLTOMMATH_EPOCH   0

Definition at line 26 of file tclTomMathDecls.h.

Referenced by TclBN_epoch().

#define TCLTOMMATH_REVISION   0

Definition at line 27 of file tclTomMathDecls.h.

Referenced by TclBN_revision().

#define TOOM_MUL_CUTOFF   TclBNToomMulCutoff

Definition at line 53 of file tclTomMathDecls.h.

#define TOOM_SQR_CUTOFF   TclBNToomSqrCutoff

Definition at line 54 of file tclTomMathDecls.h.

#define XCALLOC ( n,
 )     TclBNCalloc(n,x)

Definition at line 47 of file tclTomMathDecls.h.

#define XFREE (  )     TclBNFree(x)

Definition at line 45 of file tclTomMathDecls.h.

#define XMALLOC (  )     TclBNAlloc(x)

Definition at line 44 of file tclTomMathDecls.h.

#define XREALLOC ( x,
 )     TclBNRealloc(x,n)

Definition at line 46 of file tclTomMathDecls.h.


Function Documentation

EXTERN int TclBN_epoch ( void   ) 

Definition at line 69 of file tclTomMathInterface.c.

References TCLTOMMATH_EPOCH.

EXTERN int TclBN_fast_s_mp_mul_digs ( mp_int a,
mp_int b,
mp_int c,
int  digs 
)

EXTERN int TclBN_fast_s_mp_sqr ( mp_int a,
mp_int b 
)

EXTERN int TclBN_mp_add ( mp_int a,
mp_int b,
mp_int c 
)

EXTERN int TclBN_mp_add_d ( mp_int a,
mp_digit  b,
mp_int c 
)

EXTERN int TclBN_mp_and ( mp_int a,
mp_int b,
mp_int c 
)

EXTERN void TclBN_mp_clamp ( mp_int a  ) 

EXTERN void TclBN_mp_clear ( mp_int a  ) 

EXTERN void TclBN_mp_clear_multi ( mp_int a,
  ... 
)

EXTERN int TclBN_mp_cmp ( mp_int a,
mp_int b 
)

EXTERN int TclBN_mp_cmp_d ( mp_int a,
mp_digit  b 
)

EXTERN int TclBN_mp_cmp_mag ( mp_int a,
mp_int b 
)

EXTERN int TclBN_mp_copy ( mp_int a,
mp_int b 
)

EXTERN int TclBN_mp_count_bits ( mp_int a  ) 

EXTERN int TclBN_mp_div ( mp_int a,
mp_int b,
mp_int q,
mp_int r 
)

EXTERN int TclBN_mp_div_2 ( mp_int a,
mp_int q 
)

EXTERN int TclBN_mp_div_2d ( mp_int a,
int  b,
mp_int q,
mp_int r 
)

EXTERN int TclBN_mp_div_3 ( mp_int a,
mp_int q,
mp_digit r 
)

EXTERN int TclBN_mp_div_d ( mp_int a,
mp_digit  b,
mp_int q,
mp_digit r 
)

EXTERN void TclBN_mp_exch ( mp_int a,
mp_int b 
)

EXTERN int TclBN_mp_expt_d ( mp_int a,
mp_digit  b,
mp_int c 
)

EXTERN int TclBN_mp_grow ( mp_int a,
int  size 
)

EXTERN int TclBN_mp_init ( mp_int a  ) 

EXTERN int TclBN_mp_init_copy ( mp_int a,
mp_int b 
)

EXTERN int TclBN_mp_init_multi ( mp_int a,
  ... 
)

EXTERN int TclBN_mp_init_set ( mp_int a,
mp_digit  b 
)

EXTERN int TclBN_mp_init_size ( mp_int a,
int  size 
)

EXTERN int TclBN_mp_karatsuba_mul ( mp_int a,
mp_int b,
mp_int c 
)

EXTERN int TclBN_mp_karatsuba_sqr ( mp_int a,
mp_int b 
)

EXTERN int TclBN_mp_lshd ( mp_int a,
int  shift 
)

EXTERN int TclBN_mp_mod ( mp_int a,
mp_int b,
mp_int r 
)

EXTERN int TclBN_mp_mod_2d ( mp_int a,
int  b,
mp_int r 
)

EXTERN int TclBN_mp_mul ( mp_int a,
mp_int b,
mp_int p 
)

EXTERN int TclBN_mp_mul_2 ( mp_int a,
mp_int p 
)

EXTERN int TclBN_mp_mul_2d ( mp_int a,
int  d,
mp_int p 
)

EXTERN int TclBN_mp_mul_d ( mp_int a,
mp_digit  b,
mp_int p 
)

EXTERN int TclBN_mp_neg ( mp_int a,
mp_int b 
)

EXTERN int TclBN_mp_or ( mp_int a,
mp_int b,
mp_int c 
)

EXTERN int TclBN_mp_radix_size ( mp_int a,
int  radix,
int *  size 
)

EXTERN int TclBN_mp_read_radix ( mp_int a,
const char *  str,
int  radix 
)

EXTERN void TclBN_mp_rshd ( mp_int a,
int  shift 
)

EXTERN void TclBN_mp_set ( mp_int a,
mp_digit  b 
)

EXTERN int TclBN_mp_shrink ( mp_int a  ) 

EXTERN int TclBN_mp_sqr ( mp_int a,
mp_int b 
)

EXTERN int TclBN_mp_sqrt ( mp_int a,
mp_int b 
)

EXTERN int TclBN_mp_sub ( mp_int a,
mp_int b,
mp_int c 
)

EXTERN int TclBN_mp_sub_d ( mp_int a,
mp_digit  b,
mp_int c 
)

EXTERN int TclBN_mp_to_unsigned_bin ( mp_int a,
unsigned char *  b 
)

EXTERN int TclBN_mp_to_unsigned_bin_n ( mp_int a,
unsigned char *  b,
unsigned long *  outlen 
)

EXTERN int TclBN_mp_toom_mul ( mp_int a,
mp_int b,
mp_int c 
)

EXTERN int TclBN_mp_toom_sqr ( mp_int a,
mp_int b 
)

EXTERN int TclBN_mp_toradix_n ( mp_int a,
char *  str,
int  radix,
int  maxlen 
)

EXTERN int TclBN_mp_unsigned_bin_size ( mp_int a  ) 

EXTERN int TclBN_mp_xor ( mp_int a,
mp_int b,
mp_int c 
)

EXTERN void TclBN_mp_zero ( mp_int a  ) 

EXTERN void TclBN_reverse ( unsigned char *  s,
int  len 
)

EXTERN int TclBN_revision ( void   ) 

Definition at line 91 of file tclTomMathInterface.c.

References TCLTOMMATH_REVISION.

EXTERN int TclBN_s_mp_add ( mp_int a,
mp_int b,
mp_int c 
)

EXTERN int TclBN_s_mp_mul_digs ( mp_int a,
mp_int b,
mp_int c,
int  digs 
)

EXTERN int TclBN_s_mp_sqr ( mp_int a,
mp_int b 
)

EXTERN int TclBN_s_mp_sub ( mp_int a,
mp_int b,
mp_int c 
)


Variable Documentation

Definition at line 38 of file tclStubLib.c.

Referenced by TclTomMathInitializeStubs().



Generated on Wed Mar 12 12:18:34 2008 by  doxygen 1.5.1