aboutsummaryrefslogtreecommitdiffstats
path: root/include/cipher.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* include: Remove this directory.Werner Koch2014-01-291-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]>
* gpg: Distinguish between missing and cleared key flags.Werner Koch2013-03-191-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.
* Require libgcrypt 1.5Werner Koch2011-03-081-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.
* Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch2011-02-041-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.
* Sample ECC keys and message do now work.Werner Koch2011-02-021-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.
* Fix another stupid bug ECDH detection bugWerner Koch2011-01-241-1/+1
| | | | | Again reported by Johan van Selst. Let's see whether this one is okay.
* Editorial changes and allow building with old libgcrypts.Werner Koch2011-01-211-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.
* Integrating http://code.google.com/p/gnupg-ecc/source/detail?r=15 .Andrey Jivsov2011-01-061-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-20 Daiki Ueno <[email protected]>Werner Koch2009-08-201-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.
* Adjust for the changed Camellia draft.Werner Koch2008-04-181-1/+2
| | | | | | W32 gettext changes. Comment and typo fixes.
* Support DSA2.Werner Koch2007-12-121-3/+7
| | | | | | Support Camellia for testing. More audit stuff.
* Changed to GPLv3.Werner Koch2007-07-041-4/+2
| | | | | Removed intl/.
* Fix for sanitize string. Added SHA224Werner Koch2006-04-281-0/+3
|
* Merged with gpg 1.4.3 code. Werner Koch2006-04-191-55/+59
| | | | | The gpg part does not yet build.
* Merged most of David Shaw's changes in 1.3 since 2003-06-03.Werner Koch2003-09-231-1/+0
|
* * keygen.c (do_add_key_flags, parse_parameter_usage)Werner Koch2003-09-051-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.
* * cipher.h (DBG_CIPHER,g10c_debug_mode): Removed.Werner Koch2003-07-031-3/+0
|
* Finished the bulk of changes for gnupg 1.9. This included switchingWerner Koch2003-06-181-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.
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-06-051-0/+205
| | | | 'GNUPG-1-9-BRANCH'.
* This commit was manufactured by cvs2svn to create branchRepo Admin2002-10-191-198/+0
| | | | 'GNUPG-1-9-BRANCH'.
* * cipher.h: Add AES aliases for RIJNDAEL algo numbers.David Shaw2002-08-131-3/+6
|
* * cipher.h: Add md_algo_present().David Shaw2002-08-071-0/+1
|
* The big extension module removal.Werner Koch2002-08-031-2/+2
|
* Update head to match stable 1.0David Shaw2002-06-291-0/+194
|
* See ChangeLog: Wed Dec 8 21:58:32 CET 1999 Werner KochWerner Koch1999-12-081-77/+0
|
* See ChangeLog: Sat Nov 13 17:44:23 CET 1999 Werner KochWerner Koch1999-11-131-0/+2
|
* See ChangeLog: Tue Oct 26 14:10:21 CEST 1999 Werner KochWerner Koch1999-10-261-102/+0
|
* See ChangeLog: Thu Jul 15 10:15:35 CEST 1999 Werner KochWerner Koch1999-07-151-0/+2
|
* See ChangeLog: Sat Jun 26 12:15:59 CEST 1999 Werner KochWerner Koch1999-06-261-2/+6
|
* See ChangeLog: Sun Apr 18 10:11:28 CEST 1999 Werner KochWerner Koch1999-04-181-2/+2
|
* See ChangeLog: Fri Apr 9 12:26:25 CEST 1999 Werner KochWerner Koch1999-04-091-1/+0
|
* See ChangeLog: Tue Apr 6 19:58:12 CEST 1999 Werner KochWerner Koch1999-04-061-1/+1
|
* See ChangeLog: Wed Mar 17 13:09:03 CET 1999 Werner KochWerner Koch1999-03-171-0/+1
|
* See ChangeLog: Tue Feb 16 14:10:02 CET 1999 Werner KochWerner Koch1999-02-161-1/+1
|
* See ChangeLog: Wed Feb 10 17:15:39 CET 1999 Werner KochWerner Koch1999-02-101-10/+5
|
* See ChangeLog: Thu Jan 7 18:00:58 CET 1999 Werner KochWerner Koch1999-01-071-7/+5
|
* last local commitWerner Koch1998-10-161-1/+1
|
* *** empty log message ***Werner Koch1998-09-281-0/+2
|
* .Werner Koch1998-09-181-1/+1
|
* New releaseWerner Koch1998-09-141-1/+1
|
* edit-key is now completeWerner Koch1998-07-291-0/+2
|
* fixed severe exploitV0-3-2Werner Koch1998-07-091-0/+2
|
* fixed clearsig stuffWerner Koch1998-07-081-2/+3
|
* partly added creation of OP partial length headersWerner Koch1998-07-021-0/+1
|
* nearly ready for 0.3.0Werner Koch1998-06-251-0/+2
|
* some more internall structure changesWerner Koch1998-06-161-10/+46
|
* extensions are now working and fixed a lot of bugsWerner Koch1998-06-151-8/+2
|
* gnupg extension are now workingWerner Koch1998-06-131-14/+8
|
* a whole bunch of internal cleanupsWerner Koch1998-06-131-0/+19
|
* update from toboldWerner Koch1998-06-111-0/+3
|