added discrete log at edwards