agent: New GETINFO sub-commands "s2k_count_cal" and "s2k_time".
authorWerner Koch <wk@gnupg.org>
Mon, 6 Nov 2017 13:20:03 +0000 (14:20 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 6 Nov 2017 14:03:06 +0000 (15:03 +0100)
commit52d41c8b0f4af6278d18d8935399ddad16a26856
tree01b301ebe37b13766e2cd190e7e8b11400d7fe7e
parentf7212f1d11aad5d910d2c77b2e5c6ab31a0e786e
agent: New GETINFO sub-commands "s2k_count_cal" and "s2k_time".

* agent/command.c (cmd_getinfo): New sub-commands.
* agent/protect.c (get_standard_s2k_count): Factor some code out to ...
(get_calibrated_s2k_count): new.
(get_standard_s2k_time): New.

Signed-off-by: Werner Koch <wk@gnupg.org>
agent/agent.h
agent/command.c
agent/protect.c
doc/gpg-agent.texi