Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-01-09 | ec25519-fhmqvc: optimize handshake by using embedded group element verification | Matthias Schiffer | |
Using the embedded group element verification allows us to get away without explicit verification, thus needing one scalar multiplication less. This reduces the number of expensive operations needed for a handshake to three: one Galois field square root (for key unpacking) and two scalar multiplications. For this optimization to be secure, private keys must be divisible by 8. This is the case for all keys generated with all but extremely old versions of fastd (pre-0.4). If fastd finds that its secret is not divisible by 8, it will refuse to start now. | |||
2015-01-09 | ec25519-fhmqvc: unpack peers' keys only once | Matthias Schiffer | |
2015-01-06 | ec25519-fhmqvc: additional key checks | Matthias Schiffer | |
Until now, it wasn't checked if a public key was the identity element. I don't think this mistake allows any actual attacks against the handshake though. | |||
2014-08-24 | Merge peer config into peer structure | Matthias Schiffer | |
With this refactoring, the structure fastd_peer_config_t is merged into fastd_peer_t, and fastd_remote_config_t into fastd_remote_t. This also means we now create peers directly when reading their configurations, which significantly simplifies the whole reload process, and prepares for some future optimizations like a key hash table. Note: This commit is too big, but I couldn't come up with a nice way to split it into smaller pieces... | |||
2014-08-18 | Rename WITH_VERIFY CMake option to WITH_DYNAMIC_PEERS | Matthias Schiffer | |
2014-08-18 | Rename "temporary peers" to "dynamic peers" | Matthias Schiffer | |
2014-05-28 | Still more documentation | Matthias Schiffer | |
2014-04-26 | Make on-verify support optional | Matthias Schiffer | |
2014-04-26 | Implement async verify | Matthias Schiffer | |
2014-04-26 | Revise shell command API | Matthias Schiffer | |
2014-04-24 | ec25519-fhmqvc: use PUBLICKEYBYTES and SECRETKEYBYTES defines more | Matthias Schiffer | |
2014-04-20 | Make ctx global | Matthias Schiffer | |
2014-04-20 | Make conf global | Matthias Schiffer | |
2014-04-10 | Use #pragma once | Matthias Schiffer | |
2014-03-14 | Adjust copyright years | Matthias Schiffer | |
2014-01-26 | Switch to the new timeout helpers where possible | Matthias Schiffer | |
2013-11-30 | Rename methods to methods providers and method contexts to methods to ↵ | Matthias Schiffer | |
reflect their function better | |||
2013-11-30 | Perform string-based lookup of method-related information only once | Matthias Schiffer | |
2013-11-29 | Compile with -std=c99 and restructure some code to ensure there is no ↵ | Matthias Schiffer | |
invalid aliasing (hopefully) | |||
2013-10-31 | Revert "ec25519-fhmqvc: make the new shared handshake key two hashes long ↵ | Matthias Schiffer | |
(only the first half is used for now)" This reverts commit cfc057a7e8ea858ee286d8f49a8899d4e826c779. | |||
2013-10-31 | ec25519-fhmqvc: make the new shared handshake key two hashes long (only the ↵ | Matthias Schiffer | |
first half is used for now) | |||
2013-10-31 | ec25519-fhmqvc: add a new shared handshake key field (which is equivalent to ↵ | Matthias Schiffer | |
the compat one for now) | |||
2013-10-31 | More compat renaming | Matthias Schiffer | |
2013-10-31 | ec25519-fhmqvc: some more refactoring | Matthias Schiffer | |
2013-10-30 | Separate ec25519-fhmqvc into multiple source files | Matthias Schiffer | |