aboutsummaryrefslogtreecommitdiffstats
path: root/include/cipher.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-01-29include: Remove this directory.Werner Koch1-107/+0
* include/cipher.h: Move to ... * g10/cipher.h: here. * agent/gpg-agent.c: Adjust header file name. * include/host2net.h: Move to ... * common/host2net.h: here. Change license to LGPLv3/GPLv2. Adjust notices to reflect that only me worked on that file. * include/types.h: Remove. * common/types.h: Include inttypes.h. Add byte typedef and comments for __riscos__. * common/iobuf.h: Adjust header file name. * include/_regex.h: Remove this unused file. * include/Makefile.am: Remove. * Makefile.am (SUBDIRS): Remove "include". * configure.ac (AC_CONFIG_FILES): Remove include/Makefile. * include/ChangeLog-2011: Move to ... * common/ChangeLog-2011.include: here. * common/Makefile.am (EXTRA_DIST): Add file. * include/zlib-riscos.h: Move this repo only file to ... * g10/zlib-riscos.h: here. * include/: Remove. -- include/ was a leftover from GnuPG 1.x times. Signed-off-by: Werner Koch <[email protected]>
2013-03-19gpg: Distinguish between missing and cleared key flags.Werner Koch1-1/+6
* include/cipher.h (PUBKEY_USAGE_NONE): New. * g10/getkey.c (parse_key_usage): Set new flag. -- We do not want to use the default capabilities (derived from the algorithm) if any key flags are given in a signature. Thus if key flags are used in any way, the default key capabilities are never used. This allows to create a key with key flags set to all zero so it can't be used. This better reflects common sense.
2011-03-08Require libgcrypt 1.5Werner Koch1-6/+0
Without Libgcrypt 1.5 is was not possible to use ECC keys. ECC is major new feature and thus it does not make sense to allow building with an older Libgcrypt without supporting ECC. Also fixed a few missing prototypes.
2011-02-04Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch1-5/+5
We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again.
2011-02-02Sample ECC keys and message do now work.Werner Koch1-2/+2
Import and export of secret keys does now work. Encryption has been fixed to be compatible with the sample messages. This version tests for new Libgcrypt function and thus needs to be build with a new Libgcrypt installed.
2011-01-24Fix another stupid bug ECDH detection bugWerner Koch1-1/+1
Again reported by Johan van Selst. Let's see whether this one is okay.
2011-01-21Editorial changes and allow building with old libgcrypts.Werner Koch1-7/+5
Changed order of some conditional to make to put the special case into the true branch. Indentation changes. Minor other changes to make the ECC code more similar to the rest of our code. It builds but many sefltests still fail. Need to fix that before using it with an ECDH enabled libgcrypt. [/] 2011-01-21 Werner Koch <[email protected]> * configure.ac: Need Libgcrypt 1.4.6 due to AESWRAP. (HAVE_GCRY_PK_ECDH): Add new test. [agent/] 2011-01-21 Werner Koch <[email protected]> * cvt-openpgp.c (GCRY_PK_ECDH) [!HAVE_GCRY_PK_ECDH]: New. [include/] 2011-01-21 Werner Koch <[email protected]> * cipher.h (GCRY_PK_USAGE_CERT): Remove compatibility macros because we now require libgcrypt 1.4.6. (GCRY_PK_ECDH): Add replacement.
2011-01-06Integrating http://code.google.com/p/gnupg-ecc/source/detail?r=15 .Andrey Jivsov1-0/+2
The following works: gpg2 --gen-key (ECC) gpg2 --list-keys gpg2 --list-packets ~/.gnupg/pubring.gpg gpg2 --list-packets <private key from http://sites.google.com/site/brainhub/pgpecckeys> ECDH doesn't work yet as the code must be re-written to adjust for gpg-agent refactoring.
2009-08-202009-08-20 Daiki Ueno <[email protected]>Werner Koch1-0/+1
* mainproc.c (proc_encrypted): Clear passphrase cached with S2K cache ID if decryption failed. * passphrase.c (passphrase_to_dek_ext): Set dek->s2k_cacheid. * gpgv.c (passphrase_clear_cache): New stub.
2008-04-18Adjust for the changed Camellia draft.Werner Koch1-1/+2
W32 gettext changes. Comment and typo fixes.
2007-12-12Support DSA2.Werner Koch1-3/+7
Support Camellia for testing. More audit stuff.
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2006-04-28Fix for sanitize string. Added SHA224Werner Koch1-0/+3
2006-04-20The plumbing necessary to create DSA keys with variable sized q.David Shaw1-0/+2
Not yet used (q==160).
2006-04-20Add SHA-224 supportDavid Shaw1-2/+3
2006-04-19Merged with gpg 1.4.3 code. Werner Koch1-55/+59
The gpg part does not yet build.
2005-05-31Updated FSF street address and preparations for a release candidate.Werner Koch1-1/+2
2005-02-10Disable the "quick check" bytes for PK decryptions. This is inDavid Shaw1-8/+10
regards to the Mister and Zuccherato attack on OpenPGP CFB mode.
2004-11-29* cipher.h: Add PUBKEY_USAGE_UNKNOWN.David Shaw1-0/+1
2004-01-17* cipher.h: Remove the old CIPHER_ALGO_RINJDAEL values. is_ELGAMAL() nowDavid Shaw1-5/+3
only matches type 16 and not type 20.
2003-12-17* cipher.h (pubkey_verify): Remove old unused code.David Shaw1-2/+1
2003-12-04* cipher.h: Make cipher list match 2440bis-09.David Shaw1-6/+5
2003-10-31* cipher.h: Add COMPRESS_ALGO_BZIP2.David Shaw1-3/+4
2003-09-30* keygen.c (do_add_key_flags, parse_parameter_usage): Add supportWerner Koch1-0/+1
the proposed AUTH key flag. * getkey.c (fixup_uidnode, merge_selfsigs_main) (merge_selfsigs_subkey, premerge_public_with_secret): Ditto. * keylist.c (print_capabilities): Ditto. * parse-packet.c (parse_key): Allow to parse the divert-to-card S2K mode. * build-packet.c (do_secret_key): Handle divert-to-card S2K * seckey-cert.c (is_secret_key_protected): Ditto. (check_secret_key): Ditto. * keygen.c (do_ask_passphrase): Renamed from ask_passphrase. * passphrase.c (ask_passphrase): New.
2003-09-23Merged most of David Shaw's changes in 1.3 since 2003-06-03.Werner Koch1-1/+0
2003-09-05* keygen.c (do_add_key_flags, parse_parameter_usage)Werner Koch1-0/+1
(do_generate_keypair): Add support the proposed AUTH key flag. * getkey.c (fixup_uidnode, merge_selfsigs_main) (merge_selfsigs_subkey, premerge_public_with_secret): Ditto. * keylist.c (print_capabilities): Ditto.
2003-09-04* cipher.h: Drop TIGER/192 support.David Shaw1-1/+0
2003-07-03* cipher.h (DBG_CIPHER,g10c_debug_mode): Removed.Werner Koch1-3/+0
2003-06-18Finished the bulk of changes for gnupg 1.9. This included switchingWerner Koch1-136/+31
to libgcrypt functions, using shared error codes from libgpg-error, replacing the old functions we used to have in ../util by those in ../jnlib and ../common, renaming the malloc functions and a couple of types. Note, that not all changes are listed below becuause they are too similar and done at far too many places. As of today the code builds using the current libgcrypt from CVS but it is very unlikely that it actually works.
2003-06-05This commit was manufactured by cvs2svn to create branchRepo Admin1-0/+205
'GNUPG-1-9-BRANCH'.
2003-05-24* cipher.h, i18n.h, iobuf.h, memory.h, mpi.h, types.h, util.h: Edit allDavid Shaw1-5/+5
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.
2003-05-03* cipher.h: Add constants for compression algorithms.David Shaw1-0/+4
2003-02-04* cipher.h: Add constants for new SHAs.David Shaw1-0/+3
2002-10-19This commit was manufactured by cvs2svn to create branchRepo Admin1-198/+0
'GNUPG-1-9-BRANCH'.
2002-08-13* cipher.h: Add AES aliases for RIJNDAEL algo numbers.David Shaw1-3/+6
2002-08-07* cipher.h: Add md_algo_present().David Shaw1-0/+1
2002-08-03The big extension module removal.Werner Koch1-2/+2
2002-06-29Update head to match stable 1.0David Shaw1-0/+194
1999-12-08See ChangeLog: Wed Dec 8 21:58:32 CET 1999 Werner KochWerner Koch1-77/+0
1999-11-13See ChangeLog: Sat Nov 13 17:44:23 CET 1999 Werner KochWerner Koch1-0/+2
1999-10-26See ChangeLog: Tue Oct 26 14:10:21 CEST 1999 Werner KochWerner Koch1-102/+0
1999-07-15See ChangeLog: Thu Jul 15 10:15:35 CEST 1999 Werner KochWerner Koch1-0/+2
1999-06-26See ChangeLog: Sat Jun 26 12:15:59 CEST 1999 Werner KochWerner Koch1-2/+6
1999-04-18See ChangeLog: Sun Apr 18 10:11:28 CEST 1999 Werner KochWerner Koch1-2/+2
1999-04-09See ChangeLog: Fri Apr 9 12:26:25 CEST 1999 Werner KochWerner Koch1-1/+0
1999-04-06See ChangeLog: Tue Apr 6 19:58:12 CEST 1999 Werner KochWerner Koch1-1/+1
1999-03-17See ChangeLog: Wed Mar 17 13:09:03 CET 1999 Werner KochWerner Koch1-0/+1
1999-02-16See ChangeLog: Tue Feb 16 14:10:02 CET 1999 Werner KochWerner Koch1-1/+1
1999-02-10See ChangeLog: Wed Feb 10 17:15:39 CET 1999 Werner KochWerner Koch1-10/+5
1999-01-07See ChangeLog: Thu Jan 7 18:00:58 CET 1999 Werner KochWerner Koch1-7/+5