#include <stdio.h>
#include <stdlib.h>
#include "../e_os.h"
#include <string.h>
#include <time.h>
#include <openssl/ec.h>
#include <openssl/engine.h>
#include <openssl/err.h>
#include <openssl/obj_mac.h>
#include <openssl/objects.h>
#include <openssl/rand.h>
#include <openssl/bn.h>
#include <openssl/opensslconf.h>
Go to the source code of this file.
|
#define | ABORT |
|
#define | TIMING_BASE_PT 0 |
|
#define | TIMING_RAND_PT 1 |
|
#define | TIMING_SIMUL 2 |
|
#define | CHAR2_CURVE_TEST_INTERNAL(_name, _p, _a, _b, _x, _y, _y_bit, _order, _cof, _degree, _variable) |
|
#define | CHAR2_CURVE_TEST(_name, _p, _a, _b, _x, _y, _y_bit, _order, _cof, _degree, _variable) |
|
Value:do { \
fflush(stdout); \
fprintf(stderr, "%s:%d: ABORT\n", __FILE__, __LINE__); \
ERR_print_errors_fp(stderr); \
EXIT(1); \
} while (0)
Definition at line 104 of file ectest.c.
#define CHAR2_CURVE_TEST |
( |
|
_name, |
|
|
|
_p, |
|
|
|
_a, |
|
|
|
_b, |
|
|
|
_x, |
|
|
|
_y, |
|
|
|
_y_bit, |
|
|
|
_order, |
|
|
|
_cof, |
|
|
|
_degree, |
|
|
|
_variable |
|
) |
| |
Value:
CHAR2_CURVE_TEST_INTERNAL(_name, _p, _a, _b, _x, _y, _y_bit, _order, _cof, _degree, _variable) \
fprintf(stdout, "verify degree ..."); \
fprintf(stdout, " ok\n"); \
group_order_tests(group); \
Definition at line 767 of file ectest.c.
#define CHAR2_CURVE_TEST_INTERNAL |
( |
|
_name, |
|
|
|
_p, |
|
|
|
_a, |
|
|
|
_b, |
|
|
|
_x, |
|
|
|
_y, |
|
|
|
_y_bit, |
|
|
|
_order, |
|
|
|
_cof, |
|
|
|
_degree, |
|
|
|
_variable |
|
) |
| |
Value:
fprintf(stdout, "\n%s -- Generator:\n x = 0x", _name); \
fprintf(stdout, "\n y = 0x"); \
fprintf(stdout, "\n");
Definition at line 752 of file ectest.c.
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |