version 1.9, 2015/08/22 16:36:05 |
version 1.10, 2015/09/11 09:38:30 |
|
|
#include "./testdsa.h" |
#include "./testdsa.h" |
#include "./testrsa.h" |
#include "./testrsa.h" |
|
|
#define BUFSIZE ((long)1024*8+1) |
#define BUFSIZE (1024*8+1) |
int run = 0; |
int run = 0; |
|
|
static int mr = 0; |
static int mr = 0; |
|
|
for (i = 0; i < RSA_NUM; i++) |
for (i = 0; i < RSA_NUM; i++) |
rsa_key[i] = NULL; |
rsa_key[i] = NULL; |
|
|
if ((buf = malloc((int) BUFSIZE)) == NULL) { |
if ((buf = malloc(BUFSIZE)) == NULL) { |
BIO_printf(bio_err, "out of memory\n"); |
BIO_printf(bio_err, "out of memory\n"); |
goto end; |
goto end; |
} |
} |
if ((buf2 = malloc((int) BUFSIZE)) == NULL) { |
if ((buf2 = malloc(BUFSIZE)) == NULL) { |
BIO_printf(bio_err, "out of memory\n"); |
BIO_printf(bio_err, "out of memory\n"); |
goto end; |
goto end; |
} |
} |