Logo ROOT  
Reference Guide
rsafun.cxx File Reference
#include "rsafun.h"
Include dependency graph for rsafun.cxx:

Functions

void rsa_assign (rsa_NUMBER *, rsa_NUMBER *)
 
int rsa_cmp (rsa_NUMBER *, rsa_NUMBER *)
 
int rsa_decode (char *, int, rsa_NUMBER, rsa_NUMBER)
 
int rsa_encode (char *, int, rsa_NUMBER, rsa_NUMBER)
 
rsa_NUMBER rsa_genprim (int, int)
 
int rsa_genrsa (rsa_NUMBER, rsa_NUMBER, rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)
 
int rsa_num_fget (rsa_NUMBER *, FILE *)
 
int rsa_num_fput (rsa_NUMBER *, FILE *)
 
int rsa_num_sget (rsa_NUMBER *, char *)
 
int rsa_num_sput (rsa_NUMBER *, char *, int)
 

Variables

static TRSA_fun g_rsa_init & rsa_genprim
 

Function Documentation

◆ rsa_assign()

void rsa_assign ( rsa_NUMBER d,
rsa_NUMBER s 
)

Definition at line 487 of file rsalib.cxx.

◆ rsa_cmp()

int rsa_cmp ( rsa_NUMBER c1,
rsa_NUMBER c2 
)

Definition at line 476 of file rsalib.cxx.

◆ rsa_decode()

int rsa_decode ( char *  bufin,
int  lin,
rsa_NUMBER  n,
rsa_NUMBER  e 
)

Definition at line 177 of file rsalib.cxx.

◆ rsa_encode()

int rsa_encode ( char *  bufin,
int  lin,
rsa_NUMBER  n,
rsa_NUMBER  e 
)

Definition at line 139 of file rsalib.cxx.

◆ rsa_genprim()

rsa_NUMBER rsa_genprim ( int  len,
int  prob 
)

Definition at line 48 of file rsalib.cxx.

◆ rsa_genrsa()

int rsa_genrsa ( rsa_NUMBER  p1,
rsa_NUMBER  p2,
rsa_NUMBER n,
rsa_NUMBER e,
rsa_NUMBER d 
)

Definition at line 82 of file rsalib.cxx.

◆ rsa_num_fget()

int rsa_num_fget ( rsa_NUMBER n,
FILE *  f 
)

Definition at line 450 of file rsalib.cxx.

◆ rsa_num_fput()

int rsa_num_fput ( rsa_NUMBER n,
FILE *  f 
)

Definition at line 350 of file rsalib.cxx.

◆ rsa_num_sget()

int rsa_num_sget ( rsa_NUMBER n,
char *  s 
)

Definition at line 374 of file rsalib.cxx.

◆ rsa_num_sput()

int rsa_num_sput ( rsa_NUMBER n,
char *  s,
int  l 
)

Definition at line 276 of file rsalib.cxx.

Variable Documentation

◆ rsa_genprim

TRSA_fun g_rsa_init& rsa_genprim
static

Definition at line 68 of file rsafun.cxx.