#include <string.h>#include <stdlib.h>#include <stdio.h>#include "xyssl/md4.h"#include "xyssl/md5.h"#include "xyssl/sha1.h"#include "xyssl/sha2.h"#include "xyssl/arc4.h"#include "xyssl/des.h"#include "xyssl/aes.h"#include "xyssl/rsa.h"#include "xyssl/timing.h"Go to the source code of this file.
Defines | |
| #define | _CRT_SECURE_NO_DEPRECATE 1 |
| #define | BUFSIZE 510 |
Functions | |
| int | myrand (void *rng_state) |
| int | main (void) |
| #define _CRT_SECURE_NO_DEPRECATE 1 |
Definition at line 25 of file benchmark.c.
| #define BUFSIZE 510 |
| int main | ( | void | ) |
Definition at line 50 of file benchmark.c.
References aes_cbc_encrypt(), aes_set_key(), alarmed, arc4_crypt(), arc4_setup(), BUFSIZE, rsa_context::D, des3_cbc_encrypt(), des3_set_3keys(), des_cbc_encrypt(), des_set_key(), rsa_context::DP, rsa_context::DQ, rsa_context::E, hardclock(), KEY_LEN, rsa_context::len, md4(), md5(), mpi_read_string(), rsa_context::N, rsa_context::P, rsa_context::Q, rsa_context::QP, RSA_D, RSA_DP, RSA_DQ, RSA_E, rsa_free(), RSA_N, RSA_P, rsa_private(), rsa_public(), RSA_Q, RSA_QP, set_alarm(), sha1(), and sha2().
| int myrand | ( | void * | rng_state | ) |
Definition at line 44 of file benchmark.c.
1.5.4