Changeset a12f898


Ignore:
Timestamp:
Aug 21, 2014 1:08:21 PM (7 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
5041d819
Parents:
c8606746
Message:

Corrected Ed25519 SigType? name

Location:
core/java/src/net/i2p/crypto
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/crypto/SU3File.java

    rc8606746 ra12f898  
    601601            if (!t.isAvailable())
    602602                continue;
    603             if (t == SigType.EdDSA_SHA512_25519)
     603            if (t == SigType.EdDSA_SHA512_Ed25519)
    604604                continue; // not supported by keytool, and does double hashing right now
    605605            buf.append("      ").append(t).append("\t(code: ").append(t.getCode()).append(')');
  • core/java/src/net/i2p/crypto/SigType.java

    rc8606746 ra12f898  
    5050
    5151    /** Pubkey 32 bytes; privkey 32 bytes; hash 64 bytes; sig 64 bytes; */
    52     EdDSA_SHA512_25519(7, 32, 32, 64, 64, SigAlgo.EdDSA, "SHA-512", "SHA512withEdDSA", EdDSANamedCurveTable.getByName("ed25519-sha-512"));
     52    EdDSA_SHA512_Ed25519(4, 32, 32, 64, 64, SigAlgo.EdDSA, "SHA-512", "SHA512withEdDSA", EdDSANamedCurveTable.getByName("ed25519-sha-512"));
    5353
    5454    // others..........
Note: See TracChangeset for help on using the changeset viewer.