1.1 --- a/src/share/vm/runtime/sharedRuntime.hpp Wed Feb 17 13:40:12 2016 +0300 1.2 +++ b/src/share/vm/runtime/sharedRuntime.hpp Fri Mar 04 16:15:48 2016 +0300 1.3 @@ -145,6 +145,12 @@ 1.4 static double dsqrt(double f); 1.5 #endif 1.6 1.7 + // Montgomery multiplication 1.8 + static void montgomery_multiply(jint *a_ints, jint *b_ints, jint *n_ints, 1.9 + jint len, jlong inv, jint *m_ints); 1.10 + static void montgomery_square(jint *a_ints, jint *n_ints, 1.11 + jint len, jlong inv, jint *m_ints); 1.12 + 1.13 #ifdef __SOFTFP__ 1.14 // C++ compiler generates soft float instructions as well as passing 1.15 // float and double in registers.