Logo ROOT   6.16/01
Reference Guide
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:

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 do_crypt (char *, char *, int, rsa_NUMBER *)
 
void gen_number (int, rsa_NUMBER *)
 
void init_rnd (void)
 
void inv (rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)
 
void m_add (rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)
 
void m_exp (rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)
 
void m_init (rsa_NUMBER *, rsa_NUMBER *)
 
void m_mult (rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)
 
int n_bitlen (rsa_NUMBER *)
 
int n_bits (rsa_NUMBER *, int)
 
int n_cmp (rsa_INT *, rsa_INT *, int)
 
void n_div (rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)
 
int n_mult (rsa_INT *, rsa_INT, rsa_INT *, int)
 
int n_sub (rsa_INT *, rsa_INT *, rsa_INT *, int, int)
 
int p_prim (rsa_NUMBER *, int)
 

Variables

rsa_NUMBER a_one
 
rsa_NUMBER a_two
 

Function Documentation

◆ a_add()

void a_add ( rsa_NUMBER s1,
rsa_NUMBER s2,
rsa_NUMBER d 
)

Definition at line 263 of file rsaaux.cxx.

◆ a_assign()

void a_assign ( rsa_NUMBER d,
rsa_NUMBER s 
)

Definition at line 247 of file rsaaux.cxx.

◆ a_cmp()

int a_cmp ( rsa_NUMBER c1,
rsa_NUMBER c2 
)

Definition at line 233 of file rsaaux.cxx.

◆ a_div()

void a_div ( rsa_NUMBER d1,
rsa_NUMBER d2,
rsa_NUMBER q,
rsa_NUMBER r 
)

Definition at line 540 of file rsaaux.cxx.

◆ a_div2()

void a_div2 ( rsa_NUMBER n)

Definition at line 560 of file rsaaux.cxx.

◆ a_ggt()

void a_ggt ( rsa_NUMBER a,
rsa_NUMBER b,
rsa_NUMBER f 
)

Definition at line 668 of file rsaaux.cxx.

◆ a_imult()

void a_imult ( rsa_NUMBER n,
rsa_INT  m,
rsa_NUMBER d 
)

Definition at line 401 of file rsaaux.cxx.

◆ a_mult()

void a_mult ( rsa_NUMBER m1,
rsa_NUMBER m2,
rsa_NUMBER d 
)

Definition at line 414 of file rsaaux.cxx.

◆ a_sub()

void a_sub ( rsa_NUMBER s1,
rsa_NUMBER s2,
rsa_NUMBER d 
)

Definition at line 369 of file rsaaux.cxx.

◆ do_crypt()

void do_crypt ( char *  s,
char *  d,
int  len,
rsa_NUMBER e 
)

Definition at line 1092 of file rsaaux.cxx.

◆ gen_number()

void gen_number ( int  len,
rsa_NUMBER n 
)

Definition at line 994 of file rsaaux.cxx.

◆ init_rnd()

void init_rnd ( void  )

Definition at line 1016 of file rsaaux.cxx.

◆ inv()

void inv ( rsa_NUMBER d,
rsa_NUMBER phi,
rsa_NUMBER e 
)

Definition at line 949 of file rsaaux.cxx.

◆ m_add()

void m_add ( rsa_NUMBER s1,
rsa_NUMBER s2,
rsa_NUMBER d 
)

Definition at line 631 of file rsaaux.cxx.

◆ m_exp()

void m_exp ( rsa_NUMBER x,
rsa_NUMBER n,
rsa_NUMBER z 
)

Definition at line 647 of file rsaaux.cxx.

◆ m_init()

void m_init ( rsa_NUMBER n,
rsa_NUMBER o 
)

Definition at line 616 of file rsaaux.cxx.

◆ m_mult()

void m_mult ( rsa_NUMBER m1,
rsa_NUMBER m2,
rsa_NUMBER d 
)

Definition at line 638 of file rsaaux.cxx.

◆ n_bitlen()

int n_bitlen ( rsa_NUMBER n)

Definition at line 721 of file rsaaux.cxx.

◆ n_bits()

int n_bits ( rsa_NUMBER n,
int  b 
)

Definition at line 692 of file rsaaux.cxx.

◆ n_cmp()

int n_cmp ( rsa_INT i1,
rsa_INT i2,
int  l 
)

Definition at line 218 of file rsaaux.cxx.

◆ n_div()

void n_div ( rsa_NUMBER d1,
rsa_NUMBER z2,
rsa_NUMBER q,
rsa_NUMBER r 
)

Definition at line 464 of file rsaaux.cxx.

◆ n_mult()

int n_mult ( rsa_INT n,
rsa_INT  m,
rsa_INT d,
int  l 
)

Definition at line 379 of file rsaaux.cxx.

◆ n_sub()

int n_sub ( rsa_INT p1,
rsa_INT p2,
rsa_INT p3,
int  l,
int  lo 
)

Definition at line 323 of file rsaaux.cxx.

◆ p_prim()

int p_prim ( rsa_NUMBER n,
int  m 
)

Definition at line 884 of file rsaaux.cxx.

Variable Documentation

◆ a_one

rsa_NUMBER a_one
extern

Definition at line 199 of file rsaaux.cxx.

◆ a_two

rsa_NUMBER a_two

Definition at line 39 of file rsaaux.h.