ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
rsaaux.h File Reference
#include "rsadef.h"
Include dependency graph for rsaaux.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void a_add (rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)
 
void a_assign (rsa_NUMBER *, rsa_NUMBER *)
 
int a_cmp (rsa_NUMBER *, rsa_NUMBER *)
 
void a_div (rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)
 
void a_div2 (rsa_NUMBER *)
 
void a_ggt (rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)
 
void a_imult (rsa_NUMBER *, rsa_INT, rsa_NUMBER *)
 
void a_mult (rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)
 
void a_sub (rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)
 
void m_init (rsa_NUMBER *, rsa_NUMBER *)
 
void m_add (rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)
 
void m_mult (rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)
 
void m_exp (rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)
 
int n_bits (rsa_NUMBER *, int)
 
void n_div (rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)
 
int n_cmp (rsa_INT *, rsa_INT *, int)
 
int n_mult (rsa_INT *, rsa_INT, rsa_INT *, int)
 
int n_sub (rsa_INT *, rsa_INT *, rsa_INT *, int, int)
 
int n_bitlen (rsa_NUMBER *)
 
int p_prim (rsa_NUMBER *, int)
 
void inv (rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)
 
void gen_number (int, rsa_NUMBER *)
 
void init_rnd (void)
 
void do_crypt (char *, char *, int, rsa_NUMBER *)
 

Variables

rsa_NUMBER a_one
 
rsa_NUMBER a_two
 

Function Documentation

void a_add ( rsa_NUMBER ,
rsa_NUMBER ,
rsa_NUMBER  
)

Definition at line 263 of file rsaaux.cxx.

Referenced by m_add(), num_init(), rsa_genprim(), and rsa_num_sget().

void a_assign ( rsa_NUMBER ,
rsa_NUMBER  
)
int a_cmp ( rsa_NUMBER ,
rsa_NUMBER  
)

Definition at line 233 of file rsaaux.cxx.

Referenced by a_ggt(), inv(), jakobi(), m_add(), m_init(), n_bitlen(), p_prim(), rsa_genrsa(), and rsa_num_sput().

void a_div ( rsa_NUMBER ,
rsa_NUMBER ,
rsa_NUMBER ,
rsa_NUMBER  
)

Definition at line 540 of file rsaaux.cxx.

Referenced by a_div2(), a_ggt(), inv(), jakobi(), and rsa_num_sput().

void a_div2 ( rsa_NUMBER )

Definition at line 560 of file rsaaux.cxx.

Referenced by jakobi(), m_exp(), and p_prim().

void a_ggt ( rsa_NUMBER ,
rsa_NUMBER ,
rsa_NUMBER  
)

Definition at line 668 of file rsaaux.cxx.

Referenced by p_prim(), and rsa_genrsa().

void a_imult ( rsa_NUMBER ,
rsa_INT  ,
rsa_NUMBER  
)

Definition at line 401 of file rsaaux.cxx.

Referenced by a_div(), and m_init().

void a_mult ( rsa_NUMBER ,
rsa_NUMBER ,
rsa_NUMBER  
)

Definition at line 414 of file rsaaux.cxx.

Referenced by m_mult(), n_bitlen(), rsa_genprim(), rsa_genrsa(), and rsa_num_sget().

void a_sub ( rsa_NUMBER ,
rsa_NUMBER ,
rsa_NUMBER  
)

Definition at line 369 of file rsaaux.cxx.

Referenced by inv(), m_add(), m_exp(), p_prim(), rsa_genrsa(), and rsa_num_sput().

void do_crypt ( char *  ,
char *  ,
int  ,
rsa_NUMBER  
)

Definition at line 1092 of file rsaaux.cxx.

Referenced by rsa_decode(), and rsa_encode().

void gen_number ( int  ,
rsa_NUMBER  
)

Definition at line 994 of file rsaaux.cxx.

Referenced by rsa_genprim(), and rsa_genrsa().

void init_rnd ( void  )

Definition at line 1016 of file rsaaux.cxx.

void inv ( rsa_NUMBER ,
rsa_NUMBER ,
rsa_NUMBER  
)

Definition at line 949 of file rsaaux.cxx.

void m_add ( rsa_NUMBER ,
rsa_NUMBER ,
rsa_NUMBER  
)

Definition at line 631 of file rsaaux.cxx.

Referenced by inv().

void m_exp ( rsa_NUMBER ,
rsa_NUMBER ,
rsa_NUMBER  
)

Definition at line 647 of file rsaaux.cxx.

Referenced by do_crypt(), and p_prim().

void m_init ( rsa_NUMBER ,
rsa_NUMBER  
)

Definition at line 616 of file rsaaux.cxx.

Referenced by inv(), p_prim(), rsa_decode(), and rsa_encode().

void m_mult ( rsa_NUMBER ,
rsa_NUMBER ,
rsa_NUMBER  
)

Definition at line 638 of file rsaaux.cxx.

Referenced by inv(), and m_exp().

int n_bitlen ( rsa_NUMBER )

Definition at line 721 of file rsaaux.cxx.

Referenced by rsa_decode(), rsa_encode(), rsa_encode_size(), and rsa_genrsa().

int n_bits ( rsa_NUMBER ,
int   
)

Definition at line 692 of file rsaaux.cxx.

Referenced by jak_f(), and jak_g().

int n_cmp ( rsa_INT ,
rsa_INT ,
int   
)

Definition at line 218 of file rsaaux.cxx.

Referenced by a_cmp(), n_div(), and rsa_cmp().

void n_div ( rsa_NUMBER ,
rsa_NUMBER ,
rsa_NUMBER ,
rsa_NUMBER  
)

Definition at line 464 of file rsaaux.cxx.

Referenced by a_div(), and m_mult().

int n_mult ( rsa_INT ,
rsa_INT  ,
rsa_INT ,
int   
)

Definition at line 379 of file rsaaux.cxx.

Referenced by a_imult().

int n_sub ( rsa_INT ,
rsa_INT ,
rsa_INT ,
int  ,
int   
)

Definition at line 323 of file rsaaux.cxx.

Referenced by a_sub(), and n_div().

int p_prim ( rsa_NUMBER ,
int   
)

Definition at line 884 of file rsaaux.cxx.

Referenced by rsa_genprim().

Variable Documentation

rsa_NUMBER a_one

Definition at line 199 of file rsaaux.cxx.

Referenced by num_init(), rsa_genprim(), and rsa_genrsa().

rsa_NUMBER a_two

Definition at line 204 of file rsaaux.cxx.

Referenced by rsa_genprim().