diff options
author | NIIBE Yutaka <[email protected]> | 2024-04-01 05:38:51 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2024-04-01 05:38:51 +0000 |
commit | c69363e8c7b6bb11163c2820e6007f227b5ebb84 (patch) | |
tree | 4802fde25a912189ee432b4522c107f4d6a8d229 /agent/agent.h | |
parent | common: Add KMAC. (diff) | |
download | gnupg-c69363e8c7b6bb11163c2820e6007f227b5ebb84.tar.gz gnupg-c69363e8c7b6bb11163c2820e6007f227b5ebb84.zip |
agent: Add --another option for hybrid crypto.
* agent/agent.h (struct server_control_s): Add have_keygrip1.
* agent/command.c (reset_notify): Clear have_keygrip1 field.
(cmd_havekey): Add --another option handling.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'agent/agent.h')
-rw-r--r-- | agent/agent.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/agent/agent.h b/agent/agent.h index 9a7b59db3..b3d3c0407 100644 --- a/agent/agent.h +++ b/agent/agent.h @@ -288,8 +288,11 @@ struct server_control_s unsigned int raw_value: 1; unsigned int is_pss: 1; /* DATA holds PSS formated data. */ } digest; + unsigned int have_keygrip: 1; + unsigned int have_keygrip1: 1; unsigned char keygrip[20]; - int have_keygrip; + unsigned char keygrip1[20]; /* Another keygrip for hybrid crypto. */ + /* A flag to enable a hack to send the PKAUTH command instead of the PKSIGN command to the scdaemon. */ |