#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "apps.h"
#include <openssl/crypto.h>
#include <openssl/rand.h>
#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/objects.h>
#include <signal.h>
#include <openssl/bn.h>
#include <openssl/des.h>
#include <openssl/aes.h>
#include <openssl/camellia.h>
#include <openssl/md2.h>
#include <openssl/mdc2.h>
#include <openssl/md4.h>
#include <openssl/md5.h>
#include <openssl/hmac.h>
#include <openssl/sha.h>
#include <openssl/ripemd.h>
#include <openssl/whrlpool.h>
#include <openssl/rc4.h>
#include <openssl/rc5.h>
#include <openssl/rc2.h>
#include <openssl/idea.h>
#include <openssl/seed.h>
#include <openssl/blowfish.h>
#include <openssl/cast.h>
#include <openssl/rsa.h>
#include "./testrsa.h"
#include <openssl/x509.h>
#include <openssl/dsa.h>
#include "./testdsa.h"
#include <openssl/ecdsa.h>
#include <openssl/ecdh.h>
#include <openssl/modes.h>
Go to the source code of this file.
Macros | |
#define | SECONDS 3 |
#define | RSA_SECONDS 10 |
#define | DSA_SECONDS 10 |
#define | ECDSA_SECONDS 10 |
#define | ECDH_SECONDS 10 |
#define | PROG speed_main |
#define | HAVE_FORK 1 |
#define | BUFSIZE ((long)1024*8+1) |
#define | ALGOR_NUM 30 |
#define | SIZE_NUM 5 |
#define | RSA_NUM 4 |
#define | DSA_NUM 3 |
#define | EC_NUM 16 |
#define | MAX_ECDH_SIZE 256 |
#define | START 0 |
#define | STOP 1 |
#define | MAX_BLOCK_SIZE 128 |
#define | D_MD2 0 |
#define | D_MDC2 1 |
#define | D_MD4 2 |
#define | D_MD5 3 |
#define | D_HMAC 4 |
#define | D_SHA1 5 |
#define | D_RMD160 6 |
#define | D_RC4 7 |
#define | D_CBC_DES 8 |
#define | D_EDE3_DES 9 |
#define | D_CBC_IDEA 10 |
#define | D_CBC_SEED 11 |
#define | D_CBC_RC2 12 |
#define | D_CBC_RC5 13 |
#define | D_CBC_BF 14 |
#define | D_CBC_CAST 15 |
#define | D_CBC_128_AES 16 |
#define | D_CBC_192_AES 17 |
#define | D_CBC_256_AES 18 |
#define | D_CBC_128_CML 19 |
#define | D_CBC_192_CML 20 |
#define | D_CBC_256_CML 21 |
#define | D_EVP 22 |
#define | D_SHA256 23 |
#define | D_SHA512 24 |
#define | D_WHIRLPOOL 25 |
#define | D_IGE_128_AES 26 |
#define | D_IGE_192_AES 27 |
#define | D_IGE_256_AES 28 |
#define | D_GHASH 29 |
#define | R_DSA_512 0 |
#define | R_DSA_1024 1 |
#define | R_DSA_2048 2 |
#define | R_RSA_512 0 |
#define | R_RSA_1024 1 |
#define | R_RSA_2048 2 |
#define | R_RSA_4096 3 |
#define | R_EC_P160 0 |
#define | R_EC_P192 1 |
#define | R_EC_P224 2 |
#define | R_EC_P256 3 |
#define | R_EC_P384 4 |
#define | R_EC_P521 5 |
#define | R_EC_K163 6 |
#define | R_EC_K233 7 |
#define | R_EC_K283 8 |
#define | R_EC_K409 9 |
#define | R_EC_K571 10 |
#define | R_EC_B163 11 |
#define | R_EC_B233 12 |
#define | R_EC_B283 13 |
#define | R_EC_B409 14 |
#define | R_EC_B571 15 |
#define | COND(d) (count < (d)) |
#define | COUNT(d) (d) |
Functions | |
int | MAIN (int, char **) |
Variables | |
int | run =0 |
#define COND | ( | d | ) | (count < (d)) |
#define COUNT | ( | d | ) | (d) |
#define D_CBC_128_AES 16 |
#define D_CBC_128_CML 19 |
#define D_CBC_192_AES 17 |
#define D_CBC_192_CML 20 |
#define D_CBC_256_AES 18 |
#define D_CBC_256_CML 21 |
#define D_CBC_BF 14 |
#define D_CBC_CAST 15 |
#define D_CBC_DES 8 |
#define D_CBC_IDEA 10 |
#define D_CBC_RC2 12 |
#define D_CBC_RC5 13 |
#define D_CBC_SEED 11 |
#define D_EDE3_DES 9 |
#define D_EVP 22 |
#define D_GHASH 29 |
#define D_HMAC 4 |
#define D_IGE_128_AES 26 |
#define D_IGE_192_AES 27 |
#define D_IGE_256_AES 28 |
#define D_MD2 0 |
#define D_MD4 2 |
#define D_MD5 3 |
#define D_MDC2 1 |
#define D_RC4 7 |
#define D_RMD160 6 |
#define D_SHA1 5 |
#define D_SHA256 23 |
#define D_SHA512 24 |
#define D_WHIRLPOOL 25 |
#define MAX_BLOCK_SIZE 128 |
#define PROG speed_main |
#define R_DSA_1024 1 |
#define R_DSA_2048 2 |
#define R_DSA_512 0 |
#define R_EC_B163 11 |
#define R_EC_B233 12 |
#define R_EC_B283 13 |
#define R_EC_B409 14 |
#define R_EC_B571 15 |
#define R_EC_K163 6 |
#define R_EC_K233 7 |
#define R_EC_K283 8 |
#define R_EC_K409 9 |
#define R_EC_K571 10 |
#define R_EC_P160 0 |
#define R_EC_P192 1 |
#define R_EC_P224 2 |
#define R_EC_P256 3 |
#define R_EC_P384 4 |
#define R_EC_P521 5 |
#define R_RSA_1024 1 |
#define R_RSA_2048 2 |
#define R_RSA_4096 3 |
#define R_RSA_512 0 |
int MAIN | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 87 of file asn1pars.c.