I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 3d695dac authored by zzz's avatar zzz
Browse files

merge of '71a5174ccd130a08639b5c4a72382975747c7b43'

     and '9591822ae7297e11b8efacb8456758babb1c6505'
parents 25876ffa 4fedb3fb
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ import org.bouncycastle.crypto.macs.I2PHMac; ...@@ -13,7 +13,7 @@ import org.bouncycastle.crypto.macs.I2PHMac;
/** /**
* Calculate the HMAC-SHA256 of a key+message. All the good stuff occurs * Calculate the HMAC-SHA256 of a key+message. All the good stuff occurs
* in {@link org.bouncycastle.crypto.macs.I2PHMac} and * in {@link org.bouncycastle.crypto.macs.I2PHMac} and
* {@link net.i2p.crypto.Sha256Standalone}. * {@link gnu.crypto.hash.Sha256Standalone}.
* *
* This should be compatible with javax.crypto.Mac.getInstance("HmacSHA256") * This should be compatible with javax.crypto.Mac.getInstance("HmacSHA256")
* but that is untested. * but that is untested.
......
...@@ -179,17 +179,6 @@ public class NativeBigInteger extends BigInteger { ...@@ -179,17 +179,6 @@ public class NativeBigInteger extends BigInteger {
* @return A string containing the CPU-type or null if CPU type is unknown * @return A string containing the CPU-type or null if CPU type is unknown
*/ */
private static String resolveCPUType() { private static String resolveCPUType() {
if (_is64) {
// Test the 64 bit libjcpuid, even though we don't use it yet
try {
CPUInfo c = CPUID.getInfo();
_cpuModel = c.getCPUModelString();
} catch (UnknownCPUException e) {
// log?
}
return JBIGI_OPTIMIZATION_ATHLON64;
}
try { try {
CPUInfo c = CPUID.getInfo(); CPUInfo c = CPUID.getInfo();
try { try {
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
http://sponge.i2p/files/jbigi/gmp-4.3.2/ http://sponge.i2p/files/jbigi/gmp-4.3.2/
The 4.3.2 files are half the size of those built with GMP 5.0.2, and there was The 4.3.2 files are half the size of those built with GMP 5.0.2, and there was
little or no performance difference between the two versions for 32 bit processors. little or no performance difference between the two versions for 32 bit processors.
* NBI: Enable 64-bit processor detection
* Profiles: Skip and delete a corrupt profile read from disk * Profiles: Skip and delete a corrupt profile read from disk
2011-06-10 kytv 2011-06-10 kytv
......
...@@ -18,7 +18,7 @@ public class RouterVersion { ...@@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */ /** deprecated */
public final static String ID = "Monotone"; public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION; public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 23; public final static long BUILD = 24;
/** for example "-test" */ /** for example "-test" */
public final static String EXTRA = ""; public final static String EXTRA = "";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment