#ifndef H_SPEED #define H_SPEED #define TYPE_SPEED_ALL 0x1 #define TYPE_SPEED_RSA 0x2 #define TYPE_SPEED_ELLIPTIC 0x3 #include #include #include #include #include #include #include int speed(char **, int); static int check_arguments_speed(char **, const int, int *, size_t *, int *); static int speed_generate_rsa_keys(size_t, const int); static void print_key(BIO *); static int speed_generate_elliptic_keys(size_t, const int); static int ec_get_pub_key(const EC_KEY *, const EC_POINT *); static unsigned long getms(); #endif