Commit Graph

1067 Commits

Author SHA1 Message Date
zzz
bda6d7819c * BlockfileNamingService:
- Support readonly blockfiles
    - Open blockfile readonly if not in router context
    - Log warning if blockfile is locked
2011-06-23 14:35:48 +00:00
zzz
c655d23815 * Updates:
- Add the router version to the zip file comment in the updater
    - Add a class to extract the zip file comment
    - Require the sud version header to match the zip file comment
      to prevent spoofing of the version number, since the version
      number in the header is not covered by the sud signature.
2011-06-15 13:30:24 +00:00
zzz
bb8b428598 * jbigi / NBI / wrapper / installer:
jbigi and wrapper files for arm.
    Compiled on trimslice with gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) 
    Log postinstall errors to postinstall.log.
    java version "1.6.0_18"
    OpenJDK Runtime Environment (IcedTea6 1.8.7) (6b18-1.8.7-0ubuntu2.1)
    OpenJDK Zero VM (build 14.0-b16, mixed mode)
    GMP 4.3.2 (half the size of 5.0.2, and no speed difference) LGPLv3
    Wrapper 3.5.9 GPLv2
    All binaries stripped.

    As on the Android emulator, the stock BigInteger.modPow()
    has some serious bug on arm.
    Without the libjbigi checked in here, the JVM crashes almost immediately.
2011-06-14 18:11:43 +00:00
zzz
730965812b final 2011-06-14 18:08:40 +00:00
ffffd2deb5 Add jcpuid binaries for Intel macs 2011-06-12 16:33:34 +00:00
654aa591c4 add isx86 check for x86_64 too 2011-06-12 00:19:45 +00:00
0a3bbb23e0 Preliminary jbigi support for osx. jcpuid will be coming later. 2011-06-12 00:12:58 +00:00
zzz
550bb1aaae fix the other gzip direction on android too 2011-06-11 17:05:24 +00:00
zzz
4fedb3fb5a javadoc thx kytv 2011-06-10 23:30:49 +00:00
zzz
dba92b0c42 actually use the 64 bit cpu detection 2011-06-10 23:24:54 +00:00
zzz
c8afe4bcaf * Random: Add config setting prng.bufferSize to override the default 256 KB 2011-06-10 22:01:25 +00:00
zzz
3f5022cbea log tweak 2011-06-10 22:00:35 +00:00
zzz
f7751de1c3 propagate from branch 'i2p.cpuid' (head be49d2042be9311c16ec5cc4b5accd1366b93556)
to branch 'i2p.i2p' (head 0d92feaa69315781a8e98190c6d11b6b91355f8b)
2011-06-10 21:59:42 +00:00
zzz
0b4e430c70 * NativeBigI: Add support for atom, core2, corei, nano, pentiumm, geode
* JBigI:
      - Add new libjbigi-linux-xxx.so files built by sponge, now that we have
        CPUID.java support for them (thanks hottuna).
        See http://zzz.i2p/topics/306 for discussion and test results.

        64-bit processors (atom, core2, corei, nano):
        Built with GMP 5.0.2. License is LGPLv3.
        Built by sponge with GCC 4.4.4, downloaded from
        http://sponge.i2p/files/jbigi/gmp-5.0.2/
        For 64-bit processors, both performance testing and
        the GMP changelog http://gmplib.org/gmp5.0.html led us to use 5.0.2
        for both the 32- and 64-bit versions, even though the files are twice as big.
        5.0.x contains specific optimizations for atom and nano.
        All 64-bit libs have _64 appended.

        32-bit processors (pentiumm, geode):
        Built with GMP 4.3.2. License is LGPLv3.
        Built by sponge with GCC 4.4.4, downloaded from
        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
        little or no performance difference between the two versions for 32 bit processors.
2011-06-09 16:04:06 +00:00
dev
747d1f45a8 Added Geode support. 2011-06-09 15:11:31 +00:00
dev
6cf1591688 Large but simple refactor of CPUInfo interfaces and CPUInfoImpl classes.
Added interface and class for VIA cpus. 
Added support for VIA c5 cpus and some Via nano cpus (a few might be missing).
2011-06-09 15:00:30 +00:00
dev
562cabfbd6 Fixed bad merge, re-added CPU flags hex output. 2011-06-09 13:03:46 +00:00
dev
4033361f10 Added support for PentiumM where applicable. Added P4Compatability for a few processors. 2011-06-09 12:54:48 +00:00
dev
032faaeb73 run identifyCPU() on static for cleaner code. 2011-06-09 09:00:04 +00:00
dev
fd178f6ce5 Removed typos. 2011-06-09 08:45:44 +00:00
dev
28030dd470 Only run identifyCPU() once. 2011-06-09 08:41:51 +00:00
dev
11fb321674 Completed isXXXCompatible support for Bobcat/Atom/Core2/Corei
Added hasX64 for all CPUs.
2011-06-09 07:40:52 +00:00
zzz
3d18255eb1 * LogManager: Use DataHelper methods for loading and storing config 2011-06-08 20:16:48 +00:00
zzz
c5f04ee9c4 - Don't do 'mtn list changed' if not in a workspace or not needed 2011-06-08 20:15:53 +00:00
dev
366ed2b666 Formatting, tabs->spaces 2011-06-08 18:10:13 +00:00
dev
26899e488e Added more fine grained compatability for cpus in CPUID. Not implemented in NativeBigInteger yet. 2011-06-08 18:07:46 +00:00
dev
2cebe86524 Added support for AMD Bobcat APUs 2011-06-08 08:42:09 +00:00
dev
0a900088ca Formatting 2011-06-08 08:27:01 +00:00
dev
cdb1284e9e Added method for getting extended EBX CPUID flags. 2011-06-08 08:26:37 +00:00
dev
3a5347f88f Remove doCPUID caching, to due to having to much overhead compared to acutally just doing the doCPUID every time. 2011-06-08 08:25:09 +00:00
dev
831848e938 Added caching for doCPUID 2011-06-08 08:11:28 +00:00
dev
9f9e44bada Improved toString() and formatting. 2011-06-07 20:54:40 +00:00
dev
ff4b6504a1 Formatting 2011-06-07 20:13:00 +00:00
dev
55c6cdcae8 Formatting 2011-06-07 20:06:10 +00:00
dev
9c41bfeaa4 Added support for loading Atom,Core2 and Corei jbigi. 2011-06-07 17:04:15 +00:00
dev
3f43469104 Formatting 2011-06-07 16:35:51 +00:00
dev
89c3f894d7 Added support for most AMD cpus. 2011-06-07 16:27:26 +00:00
dev
33ec7babf9 Added support for a few more intel i3/i5/i7 2011-06-07 15:14:45 +00:00
dev
6121ccc46f Support additional platforms and processors. 2011-06-07 14:47:29 +00:00
zzz
7e84451ac3 Android:
- Import the main_rules file and remove the copied rules
  - Set the version code and name in the apk badging
  - Build target is 8 to allow SD install, MIN-SDK is still 3
  - Fix NPE on new install
  - Remove some debug code from NBigI
2011-06-05 22:38:35 +00:00
zzz
48f4c7286d - Remove libjbigi-windows-athlon64.dll which was a duplicate of libjbigi-windows-athlon.dll;
NBI now tries athlon as a fallback for all 64-bit processors.
2011-06-05 13:31:26 +00:00
zzz
d1e42233a8 * DSAEngine: Add code for alternate implementation using Java libs;
disabled by default. Add test code to verify identical results
                 and compare speed.
2011-06-05 12:40:59 +00:00
zzz
d308d7da97 remove unnecessary zeroing code, javadoc 2011-06-05 11:19:32 +00:00
zzz
4d34078678 * Data: Remove duplicate signature verification code
in RouterInfo and LeaseSet
2011-06-05 11:18:35 +00:00
zzz
4e16ef35a2 * KeyGenerator: Restore old return type to not break ABI (thx kytv) 2011-06-04 12:04:18 +00:00
zzz
885d549e84 * NBigI: Recognize Android 2011-06-04 12:03:35 +00:00
zzz
219d7fd8c3 fix ElGamalTest compile; fix jbigi.jar path to speed up the test 2011-06-02 20:29:15 +00:00
zzz
fe15db51d8 - Logging tweaks inspired by Android
- Disable reusing Deflater on Android
2011-06-02 18:29:06 +00:00
zzz
761ad38bcc * HMAC:
- Javadocs and cleanups
      - Use SimpleByteCache
      - Comments and speculation
2011-06-02 13:37:35 +00:00
zzz
2a5ed938bb update generateKeyPair() return type to make it easier 2011-06-02 13:34:26 +00:00