diff --git a/core/java/src/net/i2p/util/NativeBigInteger.java b/core/java/src/net/i2p/util/NativeBigInteger.java
index abe2aac1d4e82612c4ed646e36b071afff05187d..af7a7eb844f011c9eb118184c4cb9f9dfb3e32ef 100644
--- a/core/java/src/net/i2p/util/NativeBigInteger.java
+++ b/core/java/src/net/i2p/util/NativeBigInteger.java
@@ -754,6 +754,9 @@ public class NativeBigInteger extends BigInteger {
             if (sCPUType.equals(JBIGI_OPTIMIZATION_K6_3) && !_isWin)
                 // k62 and k63 identical except on windows
                 sAppend = JBIGI_OPTIMIZATION_K6_2;
+            else if (sCPUType.equals(JBIGI_OPTIMIZATION_COREI) && (!_is64) && ((_isKFreebsd) || (_isNetbsd) || (_isOpenbsd)))
+                // corei and core2 are identical on 32bit kfreebsd, openbsd, and netbsd
+                sAppend = JBIGI_OPTIMIZATION_CORE2;
             else if (sCPUType.equals(JBIGI_OPTIMIZATION_VIAC32))
                 // viac32 and pentium3 identical
                 sAppend = JBIGI_OPTIMIZATION_PENTIUM3;