Home GnuPG
Diffusion GnuPG 047d97e95e1d

Add full Camellia support.
047d97e95e1dUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Add full Camellia support.

* configure.ac: Remove Camellia restriction.
* gpg.c (main), misc.c (openpgp_cipher_test_algo): Remove Camellia
restriction.
* misc.c (map_cipher_openpgp_to_gcry), main.h: Add macros for
openpgp_cipher_open, openpgp_cipher_get_algo_keylen, and
openpgp_cipher_get_algo_blklen to wrap around the corresponding gcry_*
functions, but pass the algorithm number through
map_cipher_openpgp_to_gcry.  This is needed in case the gcry algorithm
number doesn't match the OpenPGP number (c.f. Camellia).
* encr-data.c, pubkey-enc.c, mainproc.c, cipher.c, encode.c, seskey.c,
passphrase.c, seckey-cert.c: Use new openpgp_cipher_* macros here.

Details

Provenance
dshawAuthored on Jun 5 2009, 4:11 PM
Parents
rG6f287d4e3fda: * defs.inc: Improved all_cipher_algos and all_hash_algos to work when
Branches
Unknown
Tags
Unknown

Event Timeline

David Shaw <dshaw@jabberwocky.com> committed rG047d97e95e1d: Add full Camellia support. (authored by David Shaw <dshaw@jabberwocky.com>).Jun 5 2009, 4:11 PM