summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java/com/wireguard/crypto
AgeCommit message (Collapse)Author
2020-03-09Migrate tunnel related classes to tunnel/ Gradle moduleHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2019-11-20Implement statisticsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-01-07Update copyrightJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-18Migrate to AndroidXHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-12-15Provide semantically meaningful exceptions for translationSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-08Remodel the ModelSamuel Holland
- The configuration and crypto model is now entirely independent of Android classes other than Nullable and TextUtils. - Model classes are immutable and use builders that enforce the appropriate optional/required attributes. - The Android config proxies (for Parcelable and databinding) are moved to the Android side of the codebase, and are designed to be safe for two-way databinding. This allows proper observability in TunnelDetailFragment. - Various robustness fixes and documentation updates to helper classes. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-06global: update copyright headersJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-26Extract error messages to string resourcesHarsh Shandilya
Useful for validation errors and localisation later on Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-07-13global: Add nullity annotationsEric Kuck
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-07-06global: move to Apache 2.0Jason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-19crypto: Slightly Java-ify the Curve25519 implementationSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-02crypto: KeyEncoding: Fix styleHarsh Shandilya
- Replace python style variable names with camel case - Don't declare multiple variables in the same line Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-05-30KeyEncoding: more constant timeJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-09global: Cleanup line lengths and misc lint warningsHarsh Shandilya
I know we decided to ditch the idea of shutting up "Exception thrown with empty param" warnings but this pesters me too much and we can instead just treat this as a weird future proofing thing if and when we end up needing the exception messages. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-05-03global: fix up copyrightsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-02Keypair: Minimize the scope of warning suppressionSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-05-02KeyEncoding: Address lints/warnings and match line lengthSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-05-02global: Add or update copyright headers in Java codeSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-04-30global: Automatic code formattingSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-04-25Curve25519: fix up spacingJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-02-13KeyEncoding: add constant time hex implementationJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-01-08global: Fix or suppress most lints/warningsSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-08project: Global cleanupSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2017-08-13Major renaming and refactoring in activity and serviceSamuel Holland
Apparently "configuration" is the proper term, not "profile". Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-09KeyEncoding: Clean up and reorganize to match styleSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-09Keypair: Convert to java-style array declarationsSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-08Constant time base64Jason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-01Keypair: Create class for generating/storing keysSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-01Curve25519: Import class from noise-javaSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>