TclTomMathStubs Struct Reference

#include <tclTomMathDecls.h>


Data Fields

int magic
TclTomMathStubHooks * hooks
int(* tclBN_epoch )(void)
int(* tclBN_revision )(void)
int(* tclBN_mp_add )(mp_int *a, mp_int *b, mp_int *c)
int(* tclBN_mp_add_d )(mp_int *a, mp_digit b, mp_int *c)
int(* tclBN_mp_and )(mp_int *a, mp_int *b, mp_int *c)
void(* tclBN_mp_clamp )(mp_int *a)
void(* tclBN_mp_clear )(mp_int *a)
void(* tclBN_mp_clear_multi )(mp_int *a,...)
int(* tclBN_mp_cmp )(mp_int *a, mp_int *b)
int(* tclBN_mp_cmp_d )(mp_int *a, mp_digit b)
int(* tclBN_mp_cmp_mag )(mp_int *a, mp_int *b)
int(* tclBN_mp_copy )(mp_int *a, mp_int *b)
int(* tclBN_mp_count_bits )(mp_int *a)
int(* tclBN_mp_div )(mp_int *a, mp_int *b, mp_int *q, mp_int *r)
int(* tclBN_mp_div_d )(mp_int *a, mp_digit b, mp_int *q, mp_digit *r)
int(* tclBN_mp_div_2 )(mp_int *a, mp_int *q)
int(* tclBN_mp_div_2d )(mp_int *a, int b, mp_int *q, mp_int *r)
int(* tclBN_mp_div_3 )(mp_int *a, mp_int *q, mp_digit *r)
void(* tclBN_mp_exch )(mp_int *a, mp_int *b)
int(* tclBN_mp_expt_d )(mp_int *a, mp_digit b, mp_int *c)
int(* tclBN_mp_grow )(mp_int *a, int size)
int(* tclBN_mp_init )(mp_int *a)
int(* tclBN_mp_init_copy )(mp_int *a, mp_int *b)
int(* tclBN_mp_init_multi )(mp_int *a,...)
int(* tclBN_mp_init_set )(mp_int *a, mp_digit b)
int(* tclBN_mp_init_size )(mp_int *a, int size)
int(* tclBN_mp_lshd )(mp_int *a, int shift)
int(* tclBN_mp_mod )(mp_int *a, mp_int *b, mp_int *r)
int(* tclBN_mp_mod_2d )(mp_int *a, int b, mp_int *r)
int(* tclBN_mp_mul )(mp_int *a, mp_int *b, mp_int *p)
int(* tclBN_mp_mul_d )(mp_int *a, mp_digit b, mp_int *p)
int(* tclBN_mp_mul_2 )(mp_int *a, mp_int *p)
int(* tclBN_mp_mul_2d )(mp_int *a, int d, mp_int *p)
int(* tclBN_mp_neg )(mp_int *a, mp_int *b)
int(* tclBN_mp_or )(mp_int *a, mp_int *b, mp_int *c)
int(* tclBN_mp_radix_size )(mp_int *a, int radix, int *size)
int(* tclBN_mp_read_radix )(mp_int *a, const char *str, int radix)
void(* tclBN_mp_rshd )(mp_int *a, int shift)
int(* tclBN_mp_shrink )(mp_int *a)
void(* tclBN_mp_set )(mp_int *a, mp_digit b)
int(* tclBN_mp_sqr )(mp_int *a, mp_int *b)
int(* tclBN_mp_sqrt )(mp_int *a, mp_int *b)
int(* tclBN_mp_sub )(mp_int *a, mp_int *b, mp_int *c)
int(* tclBN_mp_sub_d )(mp_int *a, mp_digit b, mp_int *c)
int(* tclBN_mp_to_unsigned_bin )(mp_int *a, unsigned char *b)
int(* tclBN_mp_to_unsigned_bin_n )(mp_int *a, unsigned char *b, unsigned long *outlen)
int(* tclBN_mp_toradix_n )(mp_int *a, char *str, int radix, int maxlen)
int(* tclBN_mp_unsigned_bin_size )(mp_int *a)
int(* tclBN_mp_xor )(mp_int *a, mp_int *b, mp_int *c)
void(* tclBN_mp_zero )(mp_int *a)
void(* tclBN_reverse )(unsigned char *s, int len)
int(* tclBN_fast_s_mp_mul_digs )(mp_int *a, mp_int *b, mp_int *c, int digs)
int(* tclBN_fast_s_mp_sqr )(mp_int *a, mp_int *b)
int(* tclBN_mp_karatsuba_mul )(mp_int *a, mp_int *b, mp_int *c)
int(* tclBN_mp_karatsuba_sqr )(mp_int *a, mp_int *b)
int(* tclBN_mp_toom_mul )(mp_int *a, mp_int *b, mp_int *c)
int(* tclBN_mp_toom_sqr )(mp_int *a, mp_int *b)
int(* tclBN_s_mp_add )(mp_int *a, mp_int *b, mp_int *c)
int(* tclBN_s_mp_mul_digs )(mp_int *a, mp_int *b, mp_int *c, int digs)
int(* tclBN_s_mp_sqr )(mp_int *a, mp_int *b)
int(* tclBN_s_mp_sub )(mp_int *a, mp_int *b, mp_int *c)


Detailed Description

Definition at line 456 of file tclTomMathDecls.h.


Field Documentation

Definition at line 457 of file tclTomMathDecls.h.

struct TclTomMathStubHooks* TclTomMathStubs::hooks

Definition at line 458 of file tclTomMathDecls.h.

int(* TclTomMathStubs::tclBN_mp_grow)(mp_int *a, int size)

int(* TclTomMathStubs::tclBN_mp_lshd)(mp_int *a, int shift)

int(* TclTomMathStubs::tclBN_mp_radix_size)(mp_int *a, int radix, int *size)

int(* TclTomMathStubs::tclBN_mp_read_radix)(mp_int *a, const char *str, int radix)

void(* TclTomMathStubs::tclBN_mp_rshd)(mp_int *a, int shift)

int(* TclTomMathStubs::tclBN_mp_to_unsigned_bin)(mp_int *a, unsigned char *b)

int(* TclTomMathStubs::tclBN_mp_to_unsigned_bin_n)(mp_int *a, unsigned char *b, unsigned long *outlen)

int(* TclTomMathStubs::tclBN_mp_toradix_n)(mp_int *a, char *str, int radix, int maxlen)

void(* TclTomMathStubs::tclBN_reverse)(unsigned char *s, int len)


The documentation for this struct was generated from the following file:



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