summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2008-03-17Better AES performance.Werner Koch2-6/+55
2008-03-12Add a non-blinding testWerner Koch2-6/+44
2007-12-05Fixed an internal bug in rsa.cWerner Koch2-22/+91
Allow to decryption/signing using a minimal RSA key.
2007-11-30Add support for the HW RNG. However i was not able to test it because itWerner Koch2-6/+40
seems to be disabled by the OS.
2007-10-31Reorganizatiosn to support the visibility attribute.Werner Koch2-20/+51
This can be improved by using fucntion aliases instead of wrapper functions.
2007-06-20Add an RSA benchmark (fix)Werner Koch1-3/+3
2007-06-20Add an RSA benchmark.Werner Koch2-1/+103
2007-05-03Minor fixes for W32Werner Koch2-4/+10
2007-05-02Add Camellia support.David Shaw2-0/+9
2007-05-01USE_cipher related fixed (#if instead of #ifdef) by David.Werner Koch2-2/+26
2007-04-30Dropped GCRYCTL_DUMP_CONFIG in favor of GCRYCTL_PRINT_CONFIG.Werner Koch1-1/+1
2007-04-30./Werner Koch3-1/+64
* README.apichanges: Move to doc/. * Makefile.am (EXTRA_DIST): Removed that file. doc/ * HACKING: New. Two items by Marcus. * README.apichanges: Move from .. to here. * Makefile.am (EXTRA_DIST): Add new files. mpi/ * config.links: Create a file mod-source-info.h. * Makefile.am (DISTCLEANFILES): Add that file. * mpiutil.c (_gcry_mpi_get_hw_config): New. src/ * global.c (gcry_control): New. * gcrypt.h.in (GCRYCTL_DUMP_CONFIG): New. tests/ * version.c: New. * Makefile.am (TESTS): Add version.
2007-04-29cipher/Marcus Brinkmann2-1/+5
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-28cipher/Marcus Brinkmann2-10/+13
2007-04-28 Marcus Brinkmann <marcus@g10code.de> * ac.c (gcry_ac_mpi): Remove member NAME_PROVIDED. (ac_data_mpi_copy, _gcry_ac_data_set, _gcry_ac_data_get_name) (_gcry_ac_data_get_index, ac_data_construct): Adjust handling of NAME accordingly. tests/ 2007-04-28 Marcus Brinkmann <marcus@g10code.de> * ac-data.c (check_run): Don't give redundant GCRY_AC_FLAG_DEALLOC in addition to GCRY_AC_FLAG_COPY. Don't release LABEL1 or MPI0, as those are donated to libgcrypt, but do release MPI0 and MPI2.
2007-04-16./Werner Koch4-31/+114
* 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-04-132007-04-12 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2-1/+3
* ac-schemes.c (scheme_spec): Revert last change.
2007-04-122007-04-12 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2-3/+10
* ac-schemes.c (scheme_spec): Remove const qualifier from member M. (es_check): Remove const qualifier from C and M2.
2007-03-28Rewrote the ECDSA implementation.Werner Koch3-20/+32
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 Koch2-6/+124
2007-03-22Experimental support for ECDSA.Werner Koch3-40/+82
This is not ready but the key generation and the self-test works.
2007-03-13Add support for ADM64. From Werner Dittmann.Werner Koch4-1/+192
Cosmetic changes.
2007-02-23Ported last changes from 1.2.Werner Koch5-18/+345
Updated some tests. Support for passphrase generated Elgamal keys.
2007-02-22Fixed bug#596 adn minor cleanupsWerner Koch3-1/+9
2007-02-22Tweaks for W32Werner Koch4-2/+25
2007-02-21A lot of cleanups as well as minor API changes.Werner Koch7-17/+59
Ported some changes from 1.2 to here.
2006-12-18* rndlinux.c (set_cloexec_flag): New.Werner Koch4-13/+60
(open_device): Set close-on-exit flags. Suggested by Max Kellermann. Fixes Debian#403613. Cleaned up last Makefile changes.
2006-11-052006-11-05 Moritz Schulte <moritz@g10code.com>Moritz Schulte2-1/+6
* Makefile.am (AM_CFLAGS): Added -I$(top_builddir)/src so that the new gcrypt.h is used, not the one installed in the system. 2006-11-05 Moritz Schulte <moritz@g10code.com> * Makefile.am (AM_CFLAGS): Added -I$(top_builddir)/src so that the new gcrypt.h is used, not the one installed in the system. 2006-11-05 Moritz Schulte <moritz@g10code.com> * Makefile.am (AM_CFLAGS): Added -I$(top_builddir)/src so that the new gcrypt.h is used, not the one installed in the system.
2006-11-05Undo last change, which was non-intentionally commitedMoritz Schulte1-7/+1
2006-11-052006-11-05 Moritz Schulte <moritz@g10code.com>Moritz Schulte1-1/+7
* gcrypt.texi (General public-key related Functions): Typo.
2006-10-17Various minor changes.Werner Koch3-9/+47
Support for DSA2.
2006-08-29Added SEED cipherWerner Koch1-0/+1
2006-08-04Fixed gcry_mpi_set_bit and enhanced mpi_rshift.Werner Koch3-1/+246
Cleaned up andom-daemon initialization.
2006-07-26Collected changes - see ChangeLogsWerner Koch2-12/+28
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 Koch2-6/+16
2006-03-14Use quick key generation.Werner Koch7-9/+37
Cleaned up output; i.e. take care of --verbose.
2006-03-10Applied pacthes from Brad Hards.Werner Koch2-15/+445
Note, that the HMAC tests for SHA-384 and SHA-512 are failing.
2006-03-07Applied OFB mode patch by Brad HarrisWerner Koch3-11/+413
2005-12-08Assorted changedsWerner Koch3-1/+330
2005-11-262005-11-12 Moritz Schulte <moritz@g10code.com>Moritz Schulte2-12/+32
* ac-data.c: Added way more test cases.
2005-11-02(no commit message)Moritz Schulte1-3/+2
2005-11-02src/ChangeLogMoritz Schulte1-1/+2
src/gcrypt.h TODO cipher/pubkey.c cipher/cipher.c cipher/ChangeLog
2005-09-152005-09-15 Moritz Schulte <moritz@g10code.com>Moritz Schulte4-1/+147
* Makefile.am (TESTS): Added keygrip. * keygrip.c: New.
2005-08-19added remaining 2 tests.Werner Koch2-3/+25
2005-08-18Added hmac testWerner Koch3-1/+159
2005-04-22ChangeLog:Moritz Schulte12-13/+63
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.
2005-04-112005-04-11 Moritz Schulte <moritz@g10code.com>Moritz Schulte2-0/+31
* basic.c (check_digests): Add tests for Whirlpool.
2005-03-302005-03-30 Moritz Schulte <moritz@g10code.com>Moritz Schulte4-1/+532
* ac-schemes.c: New file. * ac-data.c: New file. * Makefile.am (TESTS): Added ac-schemes and ac-data.
2004-09-15Removed `mpi' from TESTS, which was added unintenionally.Moritz Schulte1-1/+1