![]() |
ROOT 6.14/05 Reference Guide |
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/time.h>
#include "rsaaux.h"
#include "rsalib.h"
Variables | |
rsa_NUMBER | a_one |
rsa_NUMBER | a_two |
static rsa_NUMBER | g_mod_z2 [rsa_MAXBIT] |
void a_add | ( | rsa_NUMBER * | s1, |
rsa_NUMBER * | s2, | ||
rsa_NUMBER * | d | ||
) |
Definition at line 263 of file rsaaux.cxx.
void a_assign | ( | rsa_NUMBER * | d, |
rsa_NUMBER * | s | ||
) |
Definition at line 247 of file rsaaux.cxx.
int a_cmp | ( | rsa_NUMBER * | c1, |
rsa_NUMBER * | c2 | ||
) |
Definition at line 233 of file rsaaux.cxx.
void a_div | ( | rsa_NUMBER * | d1, |
rsa_NUMBER * | d2, | ||
rsa_NUMBER * | q, | ||
rsa_NUMBER * | r | ||
) |
Definition at line 540 of file rsaaux.cxx.
void a_div2 | ( | rsa_NUMBER * | n | ) |
Definition at line 560 of file rsaaux.cxx.
void a_ggt | ( | rsa_NUMBER * | a, |
rsa_NUMBER * | b, | ||
rsa_NUMBER * | f | ||
) |
Definition at line 668 of file rsaaux.cxx.
void a_imult | ( | rsa_NUMBER * | n, |
rsa_INT | m, | ||
rsa_NUMBER * | d | ||
) |
Definition at line 401 of file rsaaux.cxx.
void a_mult | ( | rsa_NUMBER * | m1, |
rsa_NUMBER * | m2, | ||
rsa_NUMBER * | d | ||
) |
Definition at line 414 of file rsaaux.cxx.
void a_sub | ( | rsa_NUMBER * | s1, |
rsa_NUMBER * | s2, | ||
rsa_NUMBER * | d | ||
) |
Definition at line 369 of file rsaaux.cxx.
|
static |
rand() implementation using /udev/random or /dev/random, if available
Definition at line 167 of file rsaaux.cxx.
void do_crypt | ( | char * | s, |
char * | d, | ||
int | len, | ||
rsa_NUMBER * | e | ||
) |
Definition at line 1092 of file rsaaux.cxx.
void gen_number | ( | int | len, |
rsa_NUMBER * | n | ||
) |
Definition at line 994 of file rsaaux.cxx.
Definition at line 1016 of file rsaaux.cxx.
void inv | ( | rsa_NUMBER * | d, |
rsa_NUMBER * | phi, | ||
rsa_NUMBER * | e | ||
) |
Definition at line 949 of file rsaaux.cxx.
|
static |
Definition at line 797 of file rsaaux.cxx.
|
static |
Definition at line 811 of file rsaaux.cxx.
|
static |
Definition at line 827 of file rsaaux.cxx.
void m_add | ( | rsa_NUMBER * | s1, |
rsa_NUMBER * | s2, | ||
rsa_NUMBER * | d | ||
) |
Definition at line 631 of file rsaaux.cxx.
void m_exp | ( | rsa_NUMBER * | x, |
rsa_NUMBER * | n, | ||
rsa_NUMBER * | z | ||
) |
Definition at line 647 of file rsaaux.cxx.
void m_init | ( | rsa_NUMBER * | n, |
rsa_NUMBER * | o | ||
) |
Definition at line 616 of file rsaaux.cxx.
void m_mult | ( | rsa_NUMBER * | m1, |
rsa_NUMBER * | m2, | ||
rsa_NUMBER * | d | ||
) |
Definition at line 638 of file rsaaux.cxx.
int n_bitlen | ( | rsa_NUMBER * | n | ) |
Definition at line 721 of file rsaaux.cxx.
int n_bits | ( | rsa_NUMBER * | n, |
int | b | ||
) |
Definition at line 692 of file rsaaux.cxx.
Definition at line 218 of file rsaaux.cxx.
void n_div | ( | rsa_NUMBER * | d1, |
rsa_NUMBER * | z2, | ||
rsa_NUMBER * | q, | ||
rsa_NUMBER * | r | ||
) |
Definition at line 464 of file rsaaux.cxx.
Definition at line 379 of file rsaaux.cxx.
Definition at line 323 of file rsaaux.cxx.
int p_prim | ( | rsa_NUMBER * | n, |
int | m | ||
) |
Definition at line 884 of file rsaaux.cxx.
rsa_NUMBER a_one |
Definition at line 199 of file rsaaux.cxx.
rsa_NUMBER a_two |
Definition at line 204 of file rsaaux.cxx.
|
static |
Definition at line 611 of file rsaaux.cxx.