• zelig's avatar
    changes that fix it all: · 364b7832
    zelig authored
    - set proper public key serialisation length in pubLen = 64
    - reset all sizes and offsets
    - rename from DER to S (we are not using DER encoding)
    - add remoteInitRandomPubKey as return value to respondToHandshake
    - add ImportPublicKey with error return to read both EC golang.elliptic style 65 byte encoding and 64 byte one
    - add ExportPublicKey falling back to go-ethereum/crypto.FromECDSAPub() chopping off the first byte
    - add Import - Export tests
    - all tests pass
    364b7832
Name
Last commit
Last update
..
client_identity.go Loading commit data...
client_identity_test.go Loading commit data...
crypto.go Loading commit data...
crypto_test.go Loading commit data...
message.go Loading commit data...
message_test.go Loading commit data...
nat.go Loading commit data...
natpmp.go Loading commit data...
natupnp.go Loading commit data...
peer.go Loading commit data...
peer_error.go Loading commit data...
peer_test.go Loading commit data...
protocol.go Loading commit data...
protocol_test.go Loading commit data...
server.go Loading commit data...
server_test.go Loading commit data...
testlog_test.go Loading commit data...
testpoc7.go Loading commit data...