aboutsummaryrefslogtreecommitdiffstats
path: root/cipher (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * primegen.c (gen_prime): Bail out if we try to generate a primeWerner Koch2003-10-102-3/+13
| | | | | | | with less than 16 bits. Include i18n.h. * POTFILES.in (cipher/primegen.c): Added.
* * primegen.c (gen_prime): Bail out if NBITS is zero. This isWerner Koch2003-10-062-1/+9
| | | | | Debian bug #213989 reported by Max <[email protected]>.
* * md.c (string_to_digest_algo): Enable read-write SHA-256 support.David Shaw2003-09-045-948/+11
| | | | | | * algorithms.h, Makefile.am, md.c (load_digest_module, string_to_digest_algo), tiger.c: Drop TIGER/192 support.
* * idea-stub.c, random.c; s/__MINGW32__/_WIN32/ to help building on nativeDavid Shaw2003-08-283-7/+16
| | | | | | Windows compilers. Requested by Brian Gladman. From Werner on stable branch.
* * random.c (getfnc_gather_random): Don't check NAME_OF_DEV_RANDOM twice.David Shaw2003-08-212-1/+6
| | | | | Use NAME_OF_DEV_URANDOM.
* * bithelp.h, des.c, random.c, rndlinux.c, sha1.c, blowfish.c, elgamal.c,David Shaw2003-05-2420-196/+179
| | | | | | | | rijndael.c, rndunix.c, sha256.c, cast5.c, idea-stub.c, rmd160.c, rndw32.c, sha512.c, md5.c, rmd160test.c, rsa.c, tiger.c: Edit all preprocessor instructions to remove whitespace before the '#'. This is not required by C89, but there are some compilers out there that don't like it.
* * cipher.c (setup_cipher_table): #ifdef IDEA.David Shaw2003-05-157-598/+629
| | | | | | | | | | | | | | | * random.c (fast_random_poll): Only use times() if we HAVE_TIMES. * sha512.c, tiger.c: Use the U64_C() macro to specify 64-bit constants. U64_C is defined in include/types.h and uses the correct suffix depending on the underlying type of u64. * idea-stub.c (load_module): Catch an error if the idea module file is unloadable for some reason (unreadable, bad permissions, etc.) * md.c (string_to_digest_algo): Give a warning about TIGER192 not being part of OpenPGP.
* * md.c (md_start_debug): Need to open the file in binary mode.Werner Koch2003-04-152-2/+6
|
* * cipher.c (setup_cipher_table): #ifdef all optional ciphers.David Shaw2003-02-213-4/+22
| | | | | * md.c (load_digest_module): #ifdef all optional digests.
* * Makefile.am, md.c (load_digest_module): Only build in SHA384/512 andDavid Shaw2003-02-123-6/+14
| | | | | TIGER if specifically enabled by the 64-bit type check in configure.
* * sha256.c, sha512.c: New.David Shaw2003-02-046-2/+792
| | | | | | * Makefile.am, algorithms.h, md.c (load_digest_module, string_to_digest_algo): Add read-only support for the new SHAs.
* * rndw32.c [__CYGWIN32__]: Don't include winioctl.h - it is not requiredDavid Shaw2002-11-0614-25/+41
| | | | | | | | | | | | | | | anymore. (From Werner) * random.c (read_seed_file,update_random_seed_file): Use binary mode for __CYGWIN__. (From Werner) * blowfish.c (burn_stack), cast5.c (burn_stack), des.c (burn_stack), md5.c (burn_stack), random.c (burn_stack, read_pool, fast_random_poll), rijndael.c (burn_stack), rmd160.c (burn_stack), rndegd.c (rndegd_gather_random), rndlinux.c (rndlinux_gather_random), sha1.c (burn_stack), tiger.c (burn_stack), twofish.c (burn_stack): Replace various calls to memset() with the more secure wipememory().
* * cipher.c (string_to_cipher_algo), md.c (string_to_digest_algo): AllowDavid Shaw2002-11-023-8/+33
| | | | | the Sxxx and Hxxx format for cipher and digest names.
* added RISC OS module loading supportStefan Bellon2002-10-312-32/+14
|
* * rndunix.c (my_popen): Make sure that stdin and stderr areWerner Koch2002-10-122-24/+49
| | | | | | | | connected to a file. This is to avoid NetBSD to complain about set{u,g}id programs invoked with fd 0, 2 closed. Reported by Cristian Biere. (start_gatherer): Likewise. Reordered code.
* * tiger.c (tiger_get_info): Select the OID to use for TIGER at compileDavid Shaw2002-10-022-0/+14
| | | | | time.
* * Makefile.am, md.c (load_digest_module): TIGER is now always enabled.David Shaw2002-09-273-6/+10
|
* * tiger.c (tiger_get_info): Use a regular OID. Note that thisWerner Koch2002-09-262-15/+10
| | | | | | breaks all TIGER generated signatures; if we want to do something about it we have to do it in ../g10/sig-check.c .
* * rndw32.c (SIZEOF_DISK_PERFORMANCE_STRUCT): Increased to 256.Werner Koch2002-09-172-1/+7
|
* updated RISC OS stuffStefan Bellon2002-09-122-0/+6
|
* typo fixes and disabled dummy cipherWerner Koch2002-09-102-4/+4
|
* * random.c: Automagically detect the entrop gatherer whenWerner Koch2002-08-305-69/+129
| | | | | | | | | configure so. * rndegd.c (rndegd_connect_socket): New. Factored out from .. (rndegd_gather_random): here and call it. (do_read): Update the counter variables correctly. This was not a problem due to the way EGD works. Bug found by Christian Biere.
* Include intl/ in the CVS again; otherwise we are not able toWerner Koch2002-08-232-1/+6
| | | | | | re-recreate a distribution from CVS. Some minor other fixes.
* * cipher.c: Include the DUMMY cipher only when the new ALLOW_DUMMYWerner Koch2002-08-122-5/+17
| | | | | is defined. It should only be defined for hard core debugging.
* * Makefile.am, md.c (load_digest_module): Allow switching TIGER on and offDavid Shaw2002-08-083-8/+13
| | | | | via configure.
* * md.c (md_algo_present): New function to check if a given algo is in useDavid Shaw2002-08-072-2/+22
| | | | | for a given MD_HANDLE.
* Removed some obsolete header files.V1-1-91Werner Koch2002-08-0414-211/+64
|
* RISC OS changes because of dynload removalStefan Bellon2002-08-032-28/+20
|
* RISC OS changes due to dynload removalStefan Bellon2002-08-034-54/+30
|
* The big extension module removal.Werner Koch2002-08-0319-1650/+505
|
* * random.c: "warning" -> "WARNING"David Shaw2002-07-252-1/+5
|
* * rndw32.c (slow_gatherer_windowsNT): Use a simple array for theWerner Koch2002-07-242-3/+12
| | | | | | disk performance structure and increase it to the size required by W2000.
* * rndlinux.c: Removed HAVE_LINUX_RANDOM_H conditional because itWerner Koch2002-06-292-2/+6
| | | | | | was never used and the configure test did set the wrong macro anyway.
* Update head to match stable 1.0David Shaw2002-06-2941-0/+17970
|
* Removed files from the HEAD revision, because they are now in anotherWerner Koch2000-12-1941-19014/+0
| | | | | repository
* Some configuration changesWerner Koch2000-11-146-45/+61
|
* Ooops, forgot to add this one.Werner Koch2000-10-111-0/+2198
|
* Changed keyring handling - saving still does not work.Werner Koch2000-10-104-9/+80
| | | | | Added new cipher mode and updated cipher test program.
* Added the arcfour cipher which is of use for GNUTLS.Werner Koch2000-10-102-0/+206
| | | | | According to the selftest, it does not yet work :-((.
* See ChangeLog: Wed Oct 4 13:16:18 CEST 2000 Werner KochWerner Koch2000-10-047-18/+75
|
* See ChangeLog: Mon Sep 18 16:35:45 CEST 2000 Werner KochWerner Koch2000-09-187-36/+161
|
* See ChangeLog: Mon Jul 31 10:04:47 CEST 2000 Werner KochWerner Koch2000-07-312-21/+22
|
* See ChangeLog: Fri Jul 28 18:19:11 CEST 2000 Werner KochWerner Koch2000-07-281-15/+9
|
* See ChangeLog: Tue Jul 25 17:44:15 CEST 2000 Werner KochWerner Koch2000-07-252-88/+251
|
* See ChangeLog: Mon Jul 17 16:35:47 CEST 2000 Werner KochWerner Koch2000-07-173-5/+8
|
* See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner KochWerner Koch2000-07-1421-139/+1722
|
* See ChangeLog: Fri Mar 24 11:25:45 CET 2000 Werner KochWerner Koch2000-03-242-6/+91
|
* See ChangeLog: Mon Mar 13 19:22:46 CET 2000 Werner KochWerner Koch2000-03-132-3/+14
|
* See ChangeLog: Mon Jan 31 16:37:34 CET 2000 Werner KochWerner Koch2000-01-312-1/+6
|
* See ChangeLog: Thu Jan 27 18:00:44 CET 2000 Werner KochWerner Koch2000-01-272-9/+138
|