diff options
author | Werner Koch <[email protected]> | 2024-04-15 07:23:16 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-04-15 07:23:54 +0000 |
commit | 4c20d2d2739547298a04022947559d4f63541679 (patch) | |
tree | bfd8e75a0b8ccf67ecadc80660bfcdb2e014f27c /common/t-stringhelp.c | |
parent | scd:openpgp: Robust Data Object handling for constructed case. (diff) | |
download | gnupg-4c20d2d2739547298a04022947559d4f63541679.tar.gz gnupg-4c20d2d2739547298a04022947559d4f63541679.zip |
gpg: Add arg session_algo to pk_decrypt.
* common/kem.c: Move constants to the top. Add some documentation.
* g10/pkglue.c (pk_encrypt): Add arguments session_key and factor code
out to ...
(do_encrypt_rsa_elg): here,
(do_encrypt_ecdh): and here,
(do_encrypt_kem): and here.
* g10/encrypt.c (write_pubkey_enc): Call with session key algorithm.
--
This makes it easier to review the code.
Diffstat (limited to 'common/t-stringhelp.c')
0 files changed, 0 insertions, 0 deletions