aboutsummaryrefslogtreecommitdiffstats
path: root/agent/pkdecrypt.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2024-04-25 01:48:24 +0000
committerNIIBE Yutaka <[email protected]>2024-04-25 04:13:04 +0000
commit2593dcbcebbe55d7ab43f7ac67af08cedd0ab40c (patch)
treebc2e7c24814201011354c0a371d384410936be5f /agent/pkdecrypt.c
parentgpg: New option --require-pqc-encryption (diff)
downloadgnupg-2593dcbcebbe55d7ab43f7ac67af08cedd0ab40c.tar.gz
gnupg-2593dcbcebbe55d7ab43f7ac67af08cedd0ab40c.zip
agent: Allow NULL for R_PADDING, when calling scd and tpm2d.
* agent/call-scd.c (padding_info_cb): Allow NULL. (agent_card_pkdecrypt): Likewise. * agent/divert-scd.c (divert_pkdecrypt): Likewise. * agent/divert-tpm2.c (divert_tpm2_pkdecrypt): Likewise. -- It's for RSA PKCD#1 encoding if the decrypt operation removes padding or not. When caller knows it's not RSA, this information is no use and it is better to allow NULL with the variable R_PADDING. Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'agent/pkdecrypt.c')
0 files changed, 0 insertions, 0 deletions