1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Prepare for a forthcoming new algorithm id.

* include/cipher.h (PUBKEY_ALGO_ECC): New.
* g10/keyid.c (pubkey_letter): Add letter 'C'.
--

ID 22 will be used for generic ECC, i.e. one which can be used for
ECDSA and ECDH.  The only support in 1.4 will pretty printing the
algorithm id.
This commit is contained in:
Werner Koch 2013-07-25 09:11:08 +02:00
parent 35646689f4
commit 801803ab6e
2 changed files with 2 additions and 0 deletions

View file

@ -50,6 +50,7 @@
#define PUBKEY_ALGO_ECDH 18
#define PUBKEY_ALGO_ECDSA 19
#define PUBKEY_ALGO_ELGAMAL 20 /* sign and encrypt elgamal */
#define PUBKEY_ALGO_ECC 22 /* Generic ECC. */
#define PUBKEY_USAGE_SIG 1 /* key is good for signatures */