1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-09 12:54:23 +01:00
Werner Koch 16a6311ade gpg: Use only OpenPGP cipher algo ids.
* g10/misc.c (map_cipher_openpgp_to_gcry): Use explicit mapping and
use enums for the arg and return value.
(map_cipher_gcry_to_openpgp): Ditto.
(openpgp_cipher_blocklen): Use constant macros.
(openpgp_cipher_test_algo): Use mapping function and prepare to
disable algorithms.
(openpgp_cipher_algo_name): Do not use Libgcrypt.

* g10/ecdh.c (pk_ecdh_encrypt_with_shared_point): Replace
CGRY_CIPHER_* by CIPHER_ALGO_*.

* common/openpgpdefs.h (cipher_algo_t): Remove unused
CIPHER_ALGO_DUMMY.

Signed-off-by: Werner Koch <wk@gnupg.org>
2014-01-31 14:35:49 +01:00
..
2011-03-08 12:23:59 +01:00
2014-01-29 15:19:20 +01:00
2013-01-08 09:43:21 +01:00
2014-01-31 14:35:49 +01:00
2007-07-04 19:49:40 +00:00
2013-11-15 15:49:34 +01:00
2013-11-18 14:09:47 +01:00
2014-01-31 14:35:49 +01:00
2014-01-31 14:35:49 +01:00
2013-11-18 14:09:47 +01:00
2013-01-08 09:43:21 +01:00
2008-12-12 08:54:50 +00:00
2013-11-18 14:09:47 +01:00
2013-11-18 14:09:47 +01:00
2013-01-08 09:43:21 +01:00
2014-01-29 17:45:05 +01:00