|
Eneboo - Documentación para desarrolladores
|
#include <stdio.h>#include <stdlib.h>#include <signal.h>#include <string.h>#include <openssl/crypto.h>#include <openssl/err.h>#include <openssl/rand.h>#include <time.h>#include <sys/types.h>#include <sys/times.h>#include <openssl/bn.h>#include <openssl/x509.h>'defines' | |
| #define | BASENUM 5000 |
| #define | NUM_START 0 |
| #define | TEST_EXP |
| #define | P_MOD_64 9 |
| #define | PROG bnspeed_main |
| #define | TIMES |
| #define | HZ 100.0 |
| #define | BUFSIZE ((long)1024*8) |
| #define | START 0 |
| #define | STOP 1 |
| #define | NUM_SIZES 7 |
| #define | RAND_SEED(string) { const char str[] = string; RAND_seed(string, sizeof str); } |
Funciones | |
| void | do_mul_exp (BIGNUM *r, BIGNUM *a, BIGNUM *b, BIGNUM *c, BN_CTX *ctx) |
| int | main (int argc, char **argv) |
Variables | |
| int | run = 0 |
| #define BASENUM 5000 |
| #define BUFSIZE ((long)1024*8) |
| #define HZ 100.0 |
| #define NUM_SIZES 7 |
| #define NUM_START 0 |
| #define P_MOD_64 9 |
| #define PROG bnspeed_main |
| #define RAND_SEED | ( | string | ) | { const char str[] = string; RAND_seed(string, sizeof str); } |
| #define START 0 |
| #define STOP 1 |
| #define TEST_EXP |
| #define TIMES |
1.7.4