#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "xyssl/config.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 1024 |
Functions | |
static int | myrand (void *rng_state) |
int | main (void) |
Variables | |
unsigned char | buf [BUFSIZE] |
#define _CRT_SECURE_NO_DEPRECATE 1 |
Definition at line 22 of file benchmark.c.
#define BUFSIZE 1024 |
int main | ( | void | ) |
Definition at line 53 of file benchmark.c.
References aes_crypt_cbc(), AES_ENCRYPT, aes_setkey_enc(), alarmed, arc4_crypt(), arc4_setup(), buf, BUFSIZE, des3_crypt_cbc(), des3_set3key_enc(), des_crypt_cbc(), DES_ENCRYPT, des_setkey_enc(), hardclock(), md4(), md5(), myrand(), rsa_free(), rsa_gen_key(), rsa_init(), RSA_PKCS_V15, rsa_private(), rsa_public(), set_alarm(), sha1(), and sha2().
static int myrand | ( | void * | rng_state | ) | [static] |
unsigned char buf[BUFSIZE] |
Definition at line 51 of file benchmark.c.
Referenced by agent_xml_compose__create_row_nodes(), agent_xml_compose__data(), agent_xml_compose__task(), agent_xml_compose__tasks(), agent_xml_parse__fill_row_data(), agent_xml_parse__tasks(), cmd_prompt_Thread(), fipa_DateTime_Compose(), fipa_datetime_Parse(), fipa_envelope_Compose__date(), fipa_envelope_Compose__from(), fipa_envelope_HandleParams(), main(), MC_LoadAgentFromFile(), MC_RetrieveAgentCode(), MC_SendAgentMigrationMessageFile(), md5_check(), message_xml_parse__message(), mtp_http_ComposeMessage(), mtp_http_CreateMessage(), mxml_fd_getc(), mxml_fd_putc(), mxmlLoadFd(), mxmlSaveFd(), sha1_check(), sha2_check(), and xml_get_cdata().