forked from cerc-io/plugeth
- 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 |
||
|---|---|---|
| .. | ||
| client_identity_test.go | ||
| client_identity.go | ||
| crypto_test.go | ||
| crypto.go | ||
| message_test.go | ||
| message.go | ||
| nat.go | ||
| natpmp.go | ||
| natupnp.go | ||
| peer_error.go | ||
| peer_test.go | ||
| peer.go | ||
| protocol_test.go | ||
| protocol.go | ||
| server_test.go | ||
| server.go | ||
| testlog_test.go | ||
| testpoc7.go | ||