Changeset cc4da1b


Ignore:
Timestamp:
Nov 30, 2018 1:51:50 PM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
2487bca
Parents:
a8bacd8
Message:

Crypto: Move Curve25519 from router to core,
in prep for new crypto

Files:
1 added
5 edited
1 moved

Legend:

Unmodified
Added
Removed
  • LICENSE.txt

    ra8bacd8 rcc4da1b  
    9090   (not included in most distribution packages)
    9191   See licenses/LICENSE-Apache2.0.txt
     92
     93   Noise library:
     94   Copyright (C) 2016 Southern Storm Software, Pty Ltd.
     95   See licenses/LICENSE-Noise.txt
    9296
    9397
  • build.xml

    ra8bacd8 rcc4da1b  
    826826            doctitle="I2P Javadocs for Release ${release.number} Build ${i2p.build.number}${build.extra}"
    827827            windowtitle="I2P Anonymous Network - Java Documentation - Version ${release.number}">
    828             <group title="Core SDK (i2p.jar)" packages="net.i2p:net.i2p.*:net.i2p.client:net.i2p.client.*:net.i2p.internal:net.i2p.internal.*:freenet.support.CPUInformation:org.bouncycastle.oldcrypto:org.bouncycastle.oldcrypto.*:gnu.crypto.*:gnu.getopt:gnu.gettext:com.nettgryppa.security:org.apache.http.conn.ssl:org.apache.http.conn.util:org.apache.http.util:org.json.simple:org.json.simple.*" />
     828            <group title="Core SDK (i2p.jar)" packages="net.i2p:net.i2p.*:net.i2p.client:net.i2p.client.*:net.i2p.internal:net.i2p.internal.*:freenet.support.CPUInformation:org.bouncycastle.oldcrypto:org.bouncycastle.oldcrypto.*:gnu.crypto.*:gnu.getopt:gnu.gettext:com.nettgryppa.security:org.apache.http.conn.ssl:org.apache.http.conn.util:org.apache.http.util:org.json.simple:org.json.simple.*:com.southernstorm.noise.crypto.x25519" />
    829829            <group title="Streaming Library" packages="net.i2p.client.streaming:net.i2p.client.streaming.impl" />
    830830            <group title="Router" packages="net.i2p.router:net.i2p.router.*:net.i2p.data.i2np:net.i2p.data.router:org.cybergarage:org.cybergarage.*:org.freenetproject:org.xlattice.crypto.filters:com.maxmind.*:com.southernstorm.noise.*" />
  • core/java/src/com/southernstorm/noise/crypto/x25519/Curve25519.java

    ra8bacd8 rcc4da1b  
    2121 */
    2222
    23 package com.southernstorm.noise.crypto;
     23package com.southernstorm.noise.crypto.x25519;
    2424
    2525import java.util.Arrays;
     
    3535 *
    3636 * References: http://cr.yp.to/ecdh.html, RFC 7748
     37 *
     38 * @since 0.9.36 moved from router to core in 0.9.38
    3739 */
    3840public final class Curve25519 {
  • router/java/src/com/southernstorm/noise/protocol/Curve25519DHState.java

    ra8bacd8 rcc4da1b  
    2626import java.util.Arrays;
    2727
    28 import com.southernstorm.noise.crypto.Curve25519;
     28import com.southernstorm.noise.crypto.x25519.Curve25519;
    2929
    3030import net.i2p.router.transport.crypto.X25519KeyFactory;
  • router/java/src/net/i2p/router/transport/crypto/X25519KeyFactory.java

    ra8bacd8 rcc4da1b  
    44import java.util.concurrent.LinkedBlockingQueue;
    55
    6 import com.southernstorm.noise.crypto.Curve25519;
     6import com.southernstorm.noise.crypto.x25519.Curve25519;
    77
    88import net.i2p.I2PAppContext;
  • router/java/src/net/i2p/router/transport/crypto/X25519PrivateKey.java

    ra8bacd8 rcc4da1b  
    33import java.security.PrivateKey;
    44
    5 import com.southernstorm.noise.crypto.Curve25519;
     5import com.southernstorm.noise.crypto.x25519.Curve25519;
    66
    77/**
Note: See TracChangeset for help on using the changeset viewer.