diff options
author | Werner Koch <[email protected]> | 2014-09-01 08:15:21 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2014-09-01 08:15:21 +0000 |
commit | c913e09ebdbb1a1e9838a0a5897448841f5e9bc3 (patch) | |
tree | e3169937292ea34d79e295cb731cd514834f984c /agent/cvt-openpgp.c | |
parent | speedo: Fix for non-Windows build of glib. (diff) | |
download | gnupg-c913e09ebdbb1a1e9838a0a5897448841f5e9bc3.tar.gz gnupg-c913e09ebdbb1a1e9838a0a5897448841f5e9bc3.zip |
agent: Allow key unprotection using AES-256.
* agent/protect.c (PROT_CIPHER): Rename to GCRY_CIPHER_AES128 for
clarity.
(do_decryption): Add args prot_cipher and prot_cipher_keylen. USe
them instead of the hardwired values.
(agent_unprotect): Change to use a table of protection algorithms.
Add AES-256 variant.
--
This patch will make a possible future key protection algorithm
changes smoother. AES-256 is also allowed although there is currently
no way to encrypt using it.
Diffstat (limited to 'agent/cvt-openpgp.c')
0 files changed, 0 insertions, 0 deletions