Logo ROOT   6.16/01
Reference Guide
Functions
rsalib.h File Reference
#include "rsadef.h"
#include <stdio.h>
Include dependency graph for rsalib.h:
This graph shows which files directly or indirectly include this file:

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)
 
int rsa_encode_size (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)
 

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_encode_size()

int rsa_encode_size ( rsa_NUMBER  n)

Definition at line 132 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.