ROOT 6.16/01 Reference Guide |
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include <errno.h>
#include "rsaaux.h"
#include "rsalib.h"
Functions | |
void | num_init () |
void | rsa_assign (rsa_NUMBER *d, rsa_NUMBER *s) |
int | rsa_cmp (rsa_NUMBER *c1, rsa_NUMBER *c2) |
int | rsa_decode (char *bufin, int lin, rsa_NUMBER n, rsa_NUMBER e) |
int | rsa_encode (char *bufin, int lin, rsa_NUMBER n, rsa_NUMBER e) |
int | rsa_encode_size (rsa_NUMBER n) |
rsa_NUMBER | rsa_genprim (int len, int prob) |
int | rsa_genrsa (rsa_NUMBER p1, rsa_NUMBER p2, rsa_NUMBER *n, rsa_NUMBER *e, rsa_NUMBER *d) |
int | rsa_num_fget (rsa_NUMBER *n, FILE *f) |
int | rsa_num_fput (rsa_NUMBER *n, FILE *f) |
int | rsa_num_sget (rsa_NUMBER *n, char *s) |
int | rsa_num_sput (rsa_NUMBER *n, char *s, int l) |
Variables | |
static int | g_clear_siz |
static int | g_enc_siz |
static rsa_NUMBER | gbits [9] |
static const char * | gHEX ="0123456789ABCDEF" |
static const char * | ghex ="0123456789abcdef" |
static int | ginit = 0 |
static rsa_NUMBER | gint16 [16] |
int | gLog = 0 |
int | kMAXT = 100 |
void num_init | ( | ) |
Definition at line 258 of file rsalib.cxx.
void rsa_assign | ( | rsa_NUMBER * | d, |
rsa_NUMBER * | s | ||
) |
Definition at line 487 of file rsalib.cxx.
int rsa_cmp | ( | rsa_NUMBER * | c1, |
rsa_NUMBER * | c2 | ||
) |
Definition at line 476 of file rsalib.cxx.
int rsa_decode | ( | char * | bufin, |
int | lin, | ||
rsa_NUMBER | n, | ||
rsa_NUMBER | e | ||
) |
Definition at line 177 of file rsalib.cxx.
int rsa_encode | ( | char * | bufin, |
int | lin, | ||
rsa_NUMBER | n, | ||
rsa_NUMBER | e | ||
) |
Definition at line 139 of file rsalib.cxx.
int rsa_encode_size | ( | rsa_NUMBER | n | ) |
Definition at line 132 of file rsalib.cxx.
rsa_NUMBER rsa_genprim | ( | int | len, |
int | prob | ||
) |
Definition at line 48 of file rsalib.cxx.
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.
int rsa_num_fget | ( | rsa_NUMBER * | n, |
FILE * | f | ||
) |
Definition at line 450 of file rsalib.cxx.
int rsa_num_fput | ( | rsa_NUMBER * | n, |
FILE * | f | ||
) |
Definition at line 350 of file rsalib.cxx.
int rsa_num_sget | ( | rsa_NUMBER * | n, |
char * | s | ||
) |
Definition at line 374 of file rsalib.cxx.
int rsa_num_sput | ( | rsa_NUMBER * | n, |
char * | s, | ||
int | l | ||
) |
Definition at line 276 of file rsalib.cxx.
|
static |
Definition at line 41 of file rsalib.cxx.
|
static |
Definition at line 42 of file rsalib.cxx.
|
static |
Definition at line 253 of file rsalib.cxx.
|
static |
Definition at line 250 of file rsalib.cxx.
|
static |
Definition at line 251 of file rsalib.cxx.
|
static |
Definition at line 256 of file rsalib.cxx.
|
static |
Definition at line 254 of file rsalib.cxx.
int gLog = 0 |
Definition at line 45 of file rsalib.cxx.
int kMAXT = 100 |
Definition at line 46 of file rsalib.cxx.