Changeset 7511de68


Ignore:
Timestamp:
Mar 14, 2019 3:19:23 PM (17 months ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
8962ea05
Parents:
0b5a36d5
Message:

Router: Remove unused test support for AES disabled

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/I2PAppContext.java

    r0b5a36d5 r7511de68  
    695695        synchronized (_lock7) {
    696696            if (_AESEngine == null) {
    697                 if ("off".equals(getProperty("i2p.encryption", "on")))
    698                     _AESEngine = new AESEngine(this);
    699                 else
    700                     _AESEngine = new CryptixAESEngine(this);
     697                _AESEngine = new CryptixAESEngine(this);
    701698            }
    702699            _AESEngineInitialized = true;
  • core/java/src/net/i2p/crypto/AESEngine.java

    r0b5a36d5 r7511de68  
    1919/**
    2020 * Dummy wrapper for AES cipher operation.
    21  * Warning -
    22  * most methods UNUSED unless i2p.encryption = off
     21 * Warning - most methods UNUSED.
    2322 * See CryptixAESEngine overrides for the real thing.
    2423 */
     
    2726    protected final I2PAppContext _context;
    2827
    29     public AESEngine(I2PAppContext ctx) {
     28    protected AESEngine(I2PAppContext ctx) {
    3029        _context = ctx;
    3130        _log = _context.logManager().getLog(getClass());
  • router/java/src/net/i2p/router/MultiRouter.java

    r0b5a36d5 r7511de68  
    3333 * Additionally, two other properties might be useful:<ul>
    3434 *  <li>i2p.vmCommSystem=true</li>
    35  *  <li>i2p.encryption=off</li>
    3635 * </ul>
    3736 * The first line tells the router to use an in-VM comm system for sending
    38  * messages back and forth between routers (see net.i2p.transport.VMCommSystem),
    39  * and the second tells the router to stub out ElGamal, AES, and DSA code, reducing
    40  * the CPU load (but obviously making the router incapable of talking to things
    41  * that need the encryption enabled).  To run a client app through a router that
    42  * has i2p.encryption=off, you should also add that line to the client's JVM
    43  * (for example, <code>java -Di2p.encryption=off -jar lib/i2ptunnel.jar</code>).<p>
     37 * messages back and forth between routers (see net.i2p.transport.VMCommSystem).
    4438 *
    4539 * To make the router console work, either run from a directory containing
Note: See TracChangeset for help on using the changeset viewer.