ROOT  6.06/09
Reference Guide
Classes | Macros | Typedefs
rsadef.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  rsa_NUMBER
 
struct  rsa_KEY
 
struct  rsa_KEY_export
 

Macros

#define rsa_MAXINT   0xFFFF
 
#define rsa_MAXBIT   16
 
#define rsa_TOINT(x)   ((rsa_INT)(x)) /* ACHTUNG !!!!! */
 
#define rsa_LOWBITS   rsa_MAXBIT
 
#define rsa_MAXLEN   (300*8/(rsa_MAXBIT + 1))
 
#define rsa_STRLEN   (rsa_MAXLEN*rsa_MAXBIT/4)
 
#define rsa_HIGHBIT   (1 << (rsa_MAXBIT-1) )
 
#define rsa_DIVMAX1(x)   ((x) >> rsa_MAXBIT)
 
#define rsa_MODMAX1(x)   ((x) & rsa_MAXINT)
 
#define rsa_MULMAX1(x)   ((x) << rsa_MAXBIT)
 
#define rsa_NUM0P   ((rsa_NUMBER *)0) /* Abkuerzung */
 

Typedefs

typedef unsigned short rsa_INT
 
typedef unsigned long rsa_LONG
 

Macro Definition Documentation

#define rsa_DIVMAX1 (   x)    ((x) >> rsa_MAXBIT)

Definition at line 91 of file rsadef.h.

Referenced by a_mult(), and n_mult().

#define rsa_HIGHBIT   (1 << (rsa_MAXBIT-1) )

Definition at line 88 of file rsadef.h.

Referenced by a_div2(), and n_div().

#define rsa_LOWBITS   rsa_MAXBIT

Definition at line 80 of file rsadef.h.

Referenced by n_bits().

#define rsa_MAXBIT   16

Definition at line 71 of file rsadef.h.

Referenced by a_div(), m_init(), n_div(), rsa_num_sget(), and rsa_num_sput().

#define rsa_MAXINT   0xFFFF

Definition at line 53 of file rsadef.h.

Referenced by a_add(), and n_sub().

#define rsa_MAXLEN   (300*8/(rsa_MAXBIT + 1))

Definition at line 86 of file rsadef.h.

Referenced by a_mult(), and rsa_num_sget().

#define rsa_MODMAX1 (   x)    ((x) & rsa_MAXINT)

Definition at line 92 of file rsadef.h.

#define rsa_MULMAX1 (   x)    ((x) << rsa_MAXBIT)

Definition at line 93 of file rsadef.h.

Referenced by n_bits().

#define rsa_NUM0P   ((rsa_NUMBER *)0) /* Abkuerzung */

Definition at line 109 of file rsadef.h.

Referenced by a_div2(), a_ggt(), inv(), jakobi(), m_mult(), p_prim(), rsa_decode(), and rsa_encode().

#define rsa_STRLEN   (rsa_MAXLEN*rsa_MAXBIT/4)
#define rsa_TOINT (   x)    ((rsa_INT)(x)) /* ACHTUNG !!!!! */

Definition at line 72 of file rsadef.h.

Referenced by a_add(), a_mult(), and n_mult().

Typedef Documentation

typedef unsigned short rsa_INT

Definition at line 37 of file rsadef.h.

typedef unsigned long rsa_LONG

Definition at line 38 of file rsadef.h.