aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/Crypto (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-02-05x25519: demand RNG is successfulJason A. Donenfeld1-1/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-01-14import Foundation instead of UIKit wherever possibleRoopesh Chander1-1/+1
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-01-07Update copyrightJason A. Donenfeld2-2/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-12More linter warnings fixed, enabled more swiftlint rules, project cleanupEric Kuck1-3/+3
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-12-09Model: Declare keyLength constant and use that wherever applicableRoopesh Chander1-5/+8
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-11-08Model: Move InterfaceConfiguration.publicKey to Curve25519.swiftRoopesh Chander1-0/+6
The code for public key calculation need not be shared with the extension Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-10-30Global: fix up captialization in headersJason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-10-27Crypto: Swift wrapper for the Curve25519 C codeRoopesh Chander1-0/+27
Signed-off-by: Roopesh Chander <roop@roopc.net>
2018-10-27Crypto: Curve25519: Add explicit cast to supress conversion warning.Jeroen Leenarts1-4/+4
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-10-27Crypto: Add key generation functionsJeroen Leenarts2-0/+184
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>