Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use ciphertext blinding for Elgamal decryption. | Werner Koch | 2015-02-11 | 1 | -14/+49 |
| | | | | | | | | | | | | | | | | | | | * cipher/elgamal.c (USE_BLINDING): New. (decrypt): Rewrite to use ciphertext blinding. -- CVE-id: CVE-2014-3591 As a countermeasure to a new side-channel attacks on sliding windows exponentiation we blind the ciphertext for Elgamal decryption. This is similar to what we are doing with RSA. Unfortunately, the performance impact of Elgamal blinding is quite noticeable: For a 3072 bit Elgamal key the decryption used to take 13ms; with the blinding it takes 24ms. This has been measured using time(1), calling gpg with a 100 byte message, and having gpg modified to run the pubkey_decrypt function 100 times and finally scale the result (using an i5-2410M CPU @ 2.30GHz TP 220). | ||||
* | Normalize the MPIs used as input to secret key functions. | Werner Koch | 2013-12-03 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | * cipher/rsa.c (secret): Normalize the INPUT. (rsa_decrypt): Pass reduced data to secret. * cipher/elgamal.c (decrypt): Normalize A and B. * cipher/dsa.c (sign): Normalize HASH. -- mpi_normalize is in general not required because extra leading zeroes do not harm the computation. However, adding extra all zero limbs or padding with multiples of N may be useful in side-channel attacks. In particular they are used by the acoustic crypt-analysis. This is an extra pre-caution which alone would not be sufficient to mitigate the described attack. CVE-id: CVE-2013-4576 Signed-off-by: Werner Koch <[email protected]> | ||||
* | Switched to GPLv3. | Werner Koch | 2007-10-23 | 1 | -4/+2 |
| | | | | | Updated gettext. | ||||
* | Removed the use of g10defs.h. | Werner Koch | 2006-12-11 | 1 | -9/+9 |
| | | | | | | This required some code cleanups and the introduction of a few accessor ducntions in mpi. | ||||
* | Converted all m_free to xfree etc. | Werner Koch | 2005-07-27 | 1 | -7/+7 |
| | |||||
* | Updated FSF street address and preparations for a release candidate. | Werner Koch | 2005-05-31 | 1 | -1/+2 |
| | |||||
* | * pubkey.c (setup_pubkey_table), elgamal.c (sign, verify, test_keys, | David Shaw | 2004-01-17 | 1 | -161/+3 |
| | | | | | | elg_sign, elg_verify, elg_get_info): Remove the last bits of Elgamal type 20 support. | ||||
* | * dsa.h, dsa.c (dsa_verify), elgamal.h, elgamal.c (elg_verify), rsa.h, | David Shaw | 2003-12-17 | 1 | -3/+1 |
| | | | | | | rsa.c (rsa_verify), pubkey.c (dummy_verify, pubkey_verify): Remove old unused code. | ||||
* | * pubkey.c (pubkey_sign): Return an error if an ElGamal key is used. | Werner Koch | 2003-11-27 | 1 | -27/+32 |
| | | | | | | | * elgamal.c (gen_k): New arg SMALL_K. (sign): Use it here with SMALL_K set to false (do_encrypt): and here with SMALL_K set to true. | ||||
* | * bithelp.h, des.c, random.c, rndlinux.c, sha1.c, blowfish.c, elgamal.c, | David Shaw | 2003-05-24 | 1 | -12/+10 |
| | | | | | | | | 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. | ||||
* | Update head to match stable 1.0 | David Shaw | 2002-06-29 | 1 | -0/+666 |
| | |||||
* | Removed files from the HEAD revision, because they are now in another | Werner Koch | 2000-12-19 | 1 | -661/+0 |
| | | | | | repository | ||||
* | Some configuration changes | Werner Koch | 2000-11-14 | 1 | -14/+14 |
| | |||||
* | See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner Koch | Werner Koch | 2000-07-14 | 1 | -40/+101 |
| | |||||
* | See ChangeLog: Wed Dec 8 21:58:32 CET 1999 Werner Koch | Werner Koch | 1999-12-08 | 1 | -10/+10 |
| | |||||
* | See ChangeLog: Fri Nov 19 17:15:20 CET 1999 Werner Koch | Werner Koch | 1999-11-19 | 1 | -7/+1 |
| | |||||
* | See ChangeLog: Mon Nov 15 21:36:02 CET 1999 Werner Koch | Werner Koch | 1999-11-15 | 1 | -12/+17 |
| | |||||
* | See ChangeLog: Sat Nov 13 17:44:23 CET 1999 Werner Koch | Werner Koch | 1999-11-13 | 1 | -20/+21 |
| | |||||
* | See ChangeLog: Tue Oct 26 14:10:21 CEST 1999 Werner Koch | Werner Koch | 1999-10-26 | 1 | -1/+3 |
| | |||||
* | See ChangeLog: Thu Jul 15 10:15:35 CEST 1999 Werner Koch | Werner Koch | 1999-07-15 | 1 | -0/+12 |
| | |||||
* | See ChangeLog: Fri Jul 2 11:45:54 CEST 1999 Werner Koch | Werner Koch | 1999-07-02 | 1 | -9/+32 |
| | |||||
* | See ChangeLog: Thu Jul 1 12:47:31 CEST 1999 Werner Koch | Werner Koch | 1999-07-01 | 1 | -4/+11 |
| | |||||
* | See ChangeLog: Sun Apr 18 10:11:28 CEST 1999 Werner Koch | Werner Koch | 1999-04-18 | 1 | -1/+6 |
| | |||||
* | See ChangeLog: Tue Feb 16 14:10:02 CET 1999 Werner Koch | Werner Koch | 1999-02-16 | 1 | -7/+7 |
| | |||||
* | See ChangeLog: Wed Dec 23 13:34:22 CET 1998 Werner Koch | Werner Koch | 1998-12-23 | 1 | -3/+3 |
| | |||||
* | chnages done at the train | Werner Koch | 1998-08-07 | 1 | -4/+18 |
| | |||||
* | intermediate release | Werner Koch | 1998-07-06 | 1 | -4/+8 |
| | |||||
* | extensions are now working and fixed a lot of bugs | Werner Koch | 1998-06-15 | 1 | -1/+2 |
| | |||||
* | gnupg extension are now working | Werner Koch | 1998-06-13 | 1 | -37/+192 |
| | |||||
* | add DSA key generation | Werner Koch | 1998-05-05 | 1 | -2/+2 |
| | |||||
* | applied Mathews typo and grammar fixes | Werner Koch | 1998-04-14 | 1 | -2/+2 |
| | |||||
* | release 0.2.14 | Werner Koch | 1998-04-02 | 1 | -6/+18 |
| | |||||
* | some cleanups | Werner Koch | 1998-03-19 | 1 | -1/+6 |
| | |||||
* | Renamed to GNUPGV-0-2-8 | Werner Koch | 1998-02-24 | 1 | -4/+4 |
| | |||||
* | bug fixes | Werner Koch | 1998-02-11 | 1 | -0/+10 |
| | |||||
* | a couple of changes; but some parts are now broken | Werner Koch | 1998-02-11 | 1 | -8/+20 |
| | |||||
* | release 0.2.3 | Werner Koch | 1998-02-09 | 1 | -2/+4 |
| | |||||
* | Fixed a few bugs | Werner Koch | 1998-02-03 | 1 | -0/+3 |
| | |||||
* | very first release | Werner Koch | 1997-12-20 | 1 | -1/+1 |
| | |||||
* | better prime number generator. improved ELG key generation | Werner Koch | 1997-12-19 | 1 | -9/+13 |
| | |||||
* | added option file handling | Werner Koch | 1997-12-12 | 1 | -21/+44 |
| | |||||
* | fingerprints and self signatures added | Werner Koch | 1997-12-09 | 1 | -2/+2 |
| | |||||
* | List and check sigs works | Werner Koch | 1997-12-01 | 1 | -16/+16 |
| | |||||
* | ElGamal funktioniert und ist default | Werner Koch | 1997-11-24 | 1 | -12/+257 |
| | |||||
* | initially checkin | Werner Koch | 1997-11-18 | 1 | -0/+61 |