Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | completed the test. FAIL now. it crashes at diffie-hellman. ECIES -> ↵ | zelig | 2015-02-06 | 1 | -16/+29 |
| | | | | secp256k1-go panics | ||||
* | handshake test to crypto | zelig | 2015-02-06 | 1 | -2/+0 |
| | |||||
* | fix crash | zelig | 2015-02-06 | 1 | -22/+29 |
| | | | | | | - add session token check and fallback to shared secret in responder call too - use explicit length for the types of new messages - fix typo resp[resLen-1] = tokenFlag | ||||
* | rewrite to comply with latest spec | zelig | 2015-02-06 | 1 | -53/+138 |
| | | | | | | | | - correct sizes for the blocks : sec signature 65, ecies sklen 16, keylength 32 - added allocation to Xor (should be optimized later) - no pubkey reader needed, just do with copy - restructuring now into INITIATE, RESPOND, COMPLETE -> newSession initialises the encryption/authentication layer - crypto identity can be part of client identity, some initialisation when server created | ||||
* | add crypto auth logic to p2p | zelig | 2015-02-06 | 1 | -0/+174 |