1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch ec13b1c562
gpg: Move S2K encoding function to a shared file.
* g10/passphrase.c (encode_s2k_iterations): Move function to ...
* common/openpgp-s2k.c: new file.  Remove default intialization code.
* common/openpgpdefs.h (S2K_DECODE_COUNT): New to keep only one copy.
* g10/call-agent.c (agent_get_s2k_count): Change to return the count
and print an error.
* agent/protect.c: Include openpgpdefs.h
* g10/card-util.c (gen_kdf_data): Adjust for changes
* g10/gpgcompose.c: Include call-agent.h.
(sk_esk): Adjust for changes.
* g10/passphrase (passphrase_to_dek): Adjust for changes.
* g10/main.h (S2K_DECODE_COUNT): Remove macro.

Signed-off-by: Werner Koch <wk@gnupg.org>
2019-01-26 23:10:38 +01:00
..
2018-10-24 15:56:18 -04:00
2017-04-28 10:06:33 +09:00
2018-10-25 16:53:05 -04:00
2015-10-28 10:20:17 +01:00
2018-05-29 13:01:12 +02:00
2018-05-29 13:01:12 +02:00
2018-10-24 15:56:18 -04:00
2018-10-24 15:56:18 -04:00
2015-11-17 12:50:22 +01:00
2017-04-28 10:06:33 +09:00
2017-02-21 13:11:46 -05:00
2018-10-25 16:53:05 -04:00
2018-10-25 16:53:05 -04:00
2017-02-21 13:11:46 -05:00
2018-10-24 15:56:18 -04:00
2016-03-02 14:27:30 +01:00
2017-04-28 10:06:33 +09:00
2017-02-21 13:11:46 -05:00
2018-10-25 16:53:05 -04:00
2018-10-24 15:56:18 -04:00
2018-10-24 15:56:18 -04:00
2018-10-24 15:56:18 -04:00
2018-10-02 14:22:24 +09:00
2018-10-24 15:56:18 -04:00
2017-01-05 20:43:40 +01:00
2018-02-22 15:32:36 +01:00
2017-02-21 13:11:46 -05:00

Common functionality used by all modules of GnuPG.