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>