--- old/src/share/vm/runtime/sharedRuntime.hpp 2016-02-12 21:05:55.362802814 +0300 +++ new/src/share/vm/runtime/sharedRuntime.hpp 2016-02-12 21:05:55.233799320 +0300 @@ -145,6 +145,12 @@ static double dsqrt(double f); #endif + // Montgomery multiplication + static void montgomery_multiply(jint *a_ints, jint *b_ints, jint *n_ints, + jint len, jlong inv, jint *m_ints); + static void montgomery_square(jint *a_ints, jint *n_ints, + jint len, jlong inv, jint *m_ints); + #ifdef __SOFTFP__ // C++ compiler generates soft float instructions as well as passing // float and double in registers.