Werner Koch
cbcc8c1954
agent: Make the S2K calibration time runtime configurabe.
...
* agent/protect.c (s2k_calibration_time): New file global var.
(calibrate_s2k_count): Use it here.
(get_calibrated_s2k_count): Replace function static var by ...
(s2k_calibrated_count): new file global var.
(set_s2k_calibration_time): New function.
* agent/gpg-agent.c (oS2KCalibration): New const.
(opts): New option --s2k-calibration.
(parse_rereadable_options): Parse that option.
--
Note that using an unrelistic high value (like 60000) takes quite some
time for calibration.
GnuPG-bug-id: 3399
Signed-off-by: Werner Koch <wk@gnupg.org>
2018-12-11 18:12:51 +01:00
..
2018-05-13 13:29:40 +02:00
2014-12-14 12:15:21 +01:00
2017-07-24 10:43:27 +02:00
2016-09-20 09:32:25 +09:00
2016-12-13 17:30:55 +01:00
2018-10-24 14:39:56 -04:00
2018-10-25 16:53:05 -04:00
2015-03-04 15:10:52 +01:00
2018-10-24 14:39:56 -04:00
2016-09-20 09:56:22 +09:00
2016-02-16 13:01:17 +01:00
2018-05-07 08:07:07 +02:00
2018-12-11 18:12:51 +01:00
2018-12-04 15:31:41 +01:00
2018-03-27 08:48:00 +02:00
2017-10-20 08:56:39 +02:00
2016-11-05 12:02:19 +01:00
2018-10-24 14:39:56 -04:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2017-09-08 11:37:42 -04:00
2016-09-20 16:15:19 +09:00
2018-05-13 13:29:40 +02:00
2016-07-06 19:35:15 +02:00
2018-10-25 16:53:05 -04:00
2016-09-20 09:56:22 +09:00
2018-06-06 17:25:51 +02:00
2016-09-20 13:02:39 +09:00
2016-09-20 16:15:19 +09:00
2018-10-24 14:39:56 -04:00
2017-02-21 13:11:46 -05:00
2018-05-07 08:07:07 +02:00
2017-02-21 13:11:46 -05:00
2017-08-28 11:18:26 +02:00
2018-12-04 15:31:41 +01:00
2018-10-24 14:39:56 -04:00