rsa: move variable declaration to top of file.

MSVC will complain about this.