crypt.c: Combine load_key() and get_private_key().