summaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-09-02Wake workers when submitting workMathias Hall-Andersen4-154/+152
2019-09-02Reconsider inorder queueingMathias Hall-Andersen6-17/+85
2019-09-01Outbound cryptkey routingMathias Hall-Andersen9-35/+602
2019-08-31Added Bind trait to routerMathias Hall-Andersen6-60/+70
2019-08-31Reduce number of type parameters in routerMathias Hall-Andersen8-72/+137
Merge multiple related type parameters into trait, allowing for easier refactoring and better maintainability.
2019-08-31Explicitly clear t0 in KDF macroMathias Hall-Andersen1-3/+8
2019-08-31Fix race condition on response processingMathias Hall-Andersen1-28/+52
2019-08-31Better management of key materialMathias Hall-Andersen7-223/+234
2019-08-30Move to RustCrypto AEAD crate for handshakeMathias Hall-Andersen6-271/+163
2019-08-28Join with worker threads on device dropMathias Hall-Andersen6-30/+91
2019-08-28Renamed confirmed -> initator on keypairMathias Hall-Andersen5-11/+13
Done to reflect that the property is immutable, unlike the "confirmed" field on the decryption state.
2019-08-28Start worker threads for deviceMathias Hall-Andersen2-26/+53
2019-08-27Add confirm_key stubMathias Hall-Andersen2-6/+16
2019-08-27Use confirmation status from keypair in dec-stateMathias Hall-Andersen1-6/+7
2019-08-27Work on inbound/outbound consume codeMathias Hall-Andersen3-8/+69
2019-08-27Added sealing/opening to the router workerMathias Hall-Andersen6-22/+326
2019-08-27Removed unused sub-moduleMathias Hall-Andersen1-52/+0
2019-08-27Removed unused sub-moduleMathias Hall-Andersen2-88/+2
2019-08-27Unbox callback closuresMathias Hall-Andersen5-60/+77
Accepted the more verbose type signatures and added a callback to request new key-material.
2019-08-26Work on callback structure for cryptkey routerMathias Hall-Andersen6-59/+97
2019-08-26Update the blake2 crate to fix bug upstreamMathias Hall-Andersen3-119/+182
Included basic sanity check for the HKDF macroes, to avoid regression in future.
2019-08-24Move to hjul crateMathias Hall-Andersen8-199/+42
Moved timer code into seperate crate (`hjul').
2019-08-23Allow DoS mitigation to take any endpoint impl.Mathias Hall-Andersen1-5/+11
2019-08-22Derieve clone for timer (handle)Mathias Hall-Andersen1-38/+38
2019-08-22Added benchmarks for timer codeMathias Hall-Andersen3-6/+44
2019-08-22Initial version of timer frameworkMathias Hall-Andersen7-2/+158
2019-08-20Ensure peer threads are stopped on dropMathias Hall-Andersen3-100/+157
2019-08-20Removed platform modMathias Hall-Andersen1-2/+0
2019-08-20Restructure and job stealing work queueMathias Hall-Andersen9-416/+487
2019-08-18Implemented keypair_confirmMathias Hall-Andersen2-91/+173
2019-08-17Remove peer from cryptkey router on dropMathias Hall-Andersen9-100/+242
2019-08-16Begin drafting cross-platform interfaceMathias Hall-Andersen8-42/+77
2019-08-16Layout work on routerMathias Hall-Andersen9-110/+253
2019-08-13Implement add_keypair semanticsMathias Hall-Andersen5-28/+141
2019-08-12Port replay filter and sketch router stateMathias Hall-Andersen10-86/+298
2019-08-10Work on sketching router interfaceMathias Hall-Andersen4-0/+183
2019-08-10Kill GC thread on Ratelimiter dropMathias Hall-Andersen3-112/+209
2019-08-07Concurrent rate limiterMathias Hall-Andersen3-107/+636
The new rate limiter allows multiple simultaneous .allow calls. Also delegated GC to tokio.
2019-08-07Added initiation flood protectionMathias Hall-Andersen4-26/+53
2019-08-06Add rate limiter check to handshake messages.Mathias Hall-Andersen7-8/+194
2019-08-05Prepare for resuse of message buffers for responseMathias Hall-Andersen4-22/+31
2019-08-05Multiple mac2 can be checked concurrentlyMathias Hall-Andersen2-20/+17
2019-08-05Checking of mac2 fields on initiation & responseMathias Hall-Andersen5-76/+119
In addition, moved the rng out. This will allow allocating one instance per worker, rather than every call.
2019-08-03Validate mac2 fieldMathias Hall-Andersen3-14/+24
2019-08-03Added property-based test for full DoS interactionMathias Hall-Andersen5-39/+245
2019-08-02Remove rust-crypto, move to libsodium bindingsMathias Hall-Andersen5-64/+294
2019-08-01Unit test for mac1 validationMathias Hall-Andersen2-15/+61
2019-08-01Successfully validate mac1 fieldMathias Hall-Andersen4-27/+97
2019-08-01Make unit tests passMathias Hall-Andersen5-65/+84
2019-07-30Move to nested handshake message structureMathias Hall-Andersen14-1379/+254
Having the nested structure: Handshake Message: Noise part (zerocopy message) MAC footer part (zerocopy message) Greatly simplifies processing the MAC fields, since the MAC footer covers the noise part, which can be accessed as bytes using AsBytes.