aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/Crypto (follow)
Commit message (Collapse)AuthorAgeFilesLines
* x25519: demand RNG is successfulJason A. Donenfeld2019-02-051-1/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* import Foundation instead of UIKit wherever possibleRoopesh Chander2019-01-141-1/+1
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Update copyrightJason A. Donenfeld2019-01-072-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* More linter warnings fixed, enabled more swiftlint rules, project cleanupEric Kuck2018-12-121-3/+3
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Model: Declare keyLength constant and use that wherever applicableRoopesh Chander2018-12-091-5/+8
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Model: Move InterfaceConfiguration.publicKey to Curve25519.swiftRoopesh Chander2018-11-081-0/+6
| | | | | | The code for public key calculation need not be shared with the extension Signed-off-by: Roopesh Chander <roop@roopc.net>
* Global: fix up captialization in headersJason A. Donenfeld2018-10-301-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Crypto: Swift wrapper for the Curve25519 C codeRoopesh Chander2018-10-271-0/+27
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Crypto: Curve25519: Add explicit cast to supress conversion warning.Jeroen Leenarts2018-10-271-4/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Crypto: Add key generation functionsJeroen Leenarts2018-10-272-0/+184
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>