Makefile: join "encrypt" and "decrypt" into "test-password", add "test-dh"
main_derive_key_dh: fix public key reading
main_encrypt: only write salt when key_type is "password"
main_decrypt: implement key_type "dh"