summaryrefslogtreecommitdiff
path: root/tests/benchmark.c
AgeCommit message (Collapse)AuthorFilesLines
2007-06-20Add an RSA benchmark (fix)Werner Koch1-3/+3
2007-06-20Add an RSA benchmark.Werner Koch1-1/+98
2007-04-29cipher/Marcus Brinkmann1-1/+1
2007-04-30 Marcus Brinkmann <marcus@g10code.de> * ecc.c (ec2os): Fix relocation of short numbers. * ecc.c (generate_key): Do not allocate D, which will be allocated by GEN_K. Remove G. Fix test if g_x, g_y resp. q_x, q_y are requested. (_gcry_ecc_generate): Release unneeded members of SK. * pubkey.c (sexp_to_key): Release NAME. tests/ 2007-04-30 Marcus Brinkmann <marcus@g10code.de> * benchmark.c (ecc_bench): Release KEY_SPEC.
2007-04-16./Werner Koch1-4/+21
* configure.ac: Check for sysconf. * acinclude.m4 (GNUPG_CHECK_MLOCK): Try to use sysconf to get the page size and use getpagesize only then if available. cipher/ * ecc.c (_gcry_ecc_generate): Renamed DUMMY to CURVE and use it. src/ * secmem.c (init_pool): Use sysconf() if available to determine page size.
2007-03-28Rewrote the ECDSA implementation.Werner Koch1-16/+21
2007-03-23Did some performance experiments and added code for Barrett reduction.Werner Koch1-1/+1
2007-03-22Some tweaks to ecc.c and a new benchmark.Werner Koch1-5/+120
2006-07-26Collected changes - see ChangeLogsWerner Koch1-12/+22
2006-07-042006-07-04 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann1-0/+10
* ath.c: Avoid warning about double defined type byte and other hacks to let it build for W32 (backported from LIBGCRYPT-1-2-BRANCH). * ath.h, gcrypt.h, tests/benchmark.c, src/types.h: Likewise.
2006-03-14Add a way to manually test the seed file lockingWerner Koch1-2/+11
2006-03-07Applied OFB mode patch by Brad HarrisWerner Koch1-0/+1
2005-12-08Assorted changedsWerner Koch1-1/+303
2005-04-22ChangeLog:Moritz Schulte1-1/+1
2005-04-23 Moritz Schulte <moritz@g10code.com> * acinclude.m4 (TYPE_SOCKLEN_T): New type definition test; provided by Albert Chin. * configure.ac: Don't use $(CMD) as it's not portable; use `CMD` nstead. Simpler -lnsl/-lsocket test. Use TYPE_SOCKLEN_T test. Don't forget to set `random_modules' correctly. 2005-04-22 Moritz Schulte <moritz@g10code.com> * configure.ac: Added support for pkgconfig; provided by Albert Chin. cipher/ChangeLog: 2005-04-12 Moritz Schulte <moritz@g10code.com> * ac.c (_gcry_ac_io_write, _gcry_ac_io_read): Initialize err to make the compiler happy. Always use errno, now that gcry_malloc() is guaranteed to set errno on failure. (_gcry_ac_data_to_sexp): Don't forget to goto out after error in loop. (_gcry_ac_data_to_sexp): Remove unused variable: mpi_list; (_gcry_ac_data_to_sexp): Always deallocate sexp_buffer. (_gcry_ac_data_from_sexp): Don't forget to initialize data_set_new. (_gcry_ac_data_from_sexp): Handle special case, which is necessary, since gcry_sexp_nth() does not distinguish between "element does not exist" and "element is the empty list". (_gcry_ac_io_init_va): Use assert to make sure that mode and type are correct. Use gcry_error_t types where gcry_err_code_t types have been used before. mpi/ChangeLog: 2005-04-23 Moritz Schulte <moritz@g10code.com> * Makefile.am: Don't assume the compiler will pre-process the .S files. Some compilers, like those from HP and IBM, don't do this. So, we use the same solution gnupg-1.4.0 does. Preprocess first and then compile. * hppa1.1/mpih-mul3.S: Add "level 1.1" directive to disable warning about using PA-RISC1.1 opcodes. * hppa1.1/mpih-mul2.S: Likewise. * hppa1.1/mpih-mul1.S: Likewise. * hppa1.1/udiv-qrnnd.S: Likewise. src/ChangeLog: 2005-04-22 Moritz Schulte <moritz@g10code.com> * Makefile.am (pkgconfigdir, pkgconfig_DATA): New; support for pkgconfig provided by Albert Chin. * libgcrypt.pc.in (Cflags): New file. 2005-04-16 Moritz Schulte <moritz@g10code.com> * g10lib.h (_gcry_ac_init): Declare. * global.c (global_init): Call _gcry_ac_init; don't forget to set err. tests/ChangeLog: 2005-04-22 Moritz Schulte <moritz@g10code.com> * tsexp.c: Include <config.h> in case HAVE_CONFIG_H is defined; thanks to Albert Chin. * testapi.c: Likewise. * register.c: Likewise. * pubkey.c: Likewise. * prime.c: Likewise. * pkbench.c: Likewise. * keygen.c: Likewise. * benchmark.c: Likewise. * basic.c: Likewise. * ac-schemes.c: Likewise. * ac-data.c: Likewise. * ac.c: Likewise. 2005-04-16 Moritz Schulte <moritz@g10code.com> * ac-data.c (check_run): Include new test.
2004-03-03* Makefile.am (TEST): Add benchmark.Werner Koch1-17/+51
* benchmark.c (md_bench, cipher_bench): Allow NULL arg to to run tests for all algorithms. (main): Run all tests by default.
2003-08-042003-08-04 Moritz Schulte <moritz@g10code.com>Moritz Schulte1-3/+3
* benchmark.c (do_powm): Adjust for new gcry_mpi_scan interface.
2003-07-142003-07-14 Moritz Schulte <moritz@g10code.com>Moritz Schulte1-0/+396
* benchmark.c: New file. * testapi.c: New file.