#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 | BUFSIZE 1024 |
Functions | |
static int | myrand (void *rng_state) |
int | main (void) |
Variables | |
unsigned char | buf [BUFSIZE] |
#define BUFSIZE 1024 |
Definition at line 41 of file benchmark.c.
Referenced by main().
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] |
Definition at line 43 of file benchmark.c.
Referenced by main().
unsigned char buf[BUFSIZE] |
Definition at line 51 of file benchmark.c.
Referenced by aes_self_test(), 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(), arc4_self_test(), cmd_prompt_Thread(), des_self_test(), fipa_DateTime_Compose(), fipa_datetime_Parse(), fipa_envelope_Compose__date(), fipa_envelope_Compose__from(), fipa_envelope_HandleParams(), main(), MC_End(), MC_Initialize(), MC_LoadAgentFromFile(), MC_RetrieveAgentCode(), MC_SendAgentFile(), MC_SendAgentMigrationMessageFile(), md5_check(), md5_file(), md5_self_test(), message_InitializeFromAgent(), message_send_Thread(), message_xml_parse__message(), mtp_http_ComposeMessage(), mtp_http_CreateMessage(), mxml_fd_getc(), mxml_fd_putc(), mxmlLoadFd(), mxmlSaveFd(), net_htons(), rsa_pkcs1_decrypt(), rsa_pkcs1_verify(), sha1_check(), sha1_file(), sha1_self_test(), sha2_check(), sha2_file(), sha2_self_test(), sha4_file(), sha4_self_test(), ssl_flush_output(), ssl_parse_client_hello(), ssl_parse_finished(), ssl_parse_server_hello(), ssl_write_certificate_request(), ssl_write_client_hello(), ssl_write_server_hello(), udplisten_Thread(), x509parse_cert_info(), x509parse_crtfile(), x509parse_keyfile(), and xml_get_cdata().