hotspot/src/share/vm/runtime/sharedRuntime.hpp
changeset 31583 eb5bea7b4835
parent 30244 d4e471395ff5
child 33160 c59f1676d27e
--- a/hotspot/src/share/vm/runtime/sharedRuntime.hpp	Thu Jun 11 14:19:40 2015 +0300
+++ b/hotspot/src/share/vm/runtime/sharedRuntime.hpp	Tue Jun 16 17:31:53 2015 +0100
@@ -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.