Home GnuPG

New function decrypt_string.

Description

New function decrypt_string.

* src/encrypt.c (create_context): Add arg PINMODE.
(encrypt_setup_keys, encrypt_string): Move pinmode setting to above
func.  Do not require all keys.
(decrypt_string): New.
* src/t-encrypt.c: New.
* src/Makefile.am (module_tests): Add test.
(t_encrypt_SOURCES): New.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on May 8 2017, 1:14 PM
Parents
rPAYeba5c9092896: Add padding to base64 encoding
Branches
Unknown
Tags
Unknown