aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/java/com/wireguard/crypto/KeyEncoding.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remodel the ModelSamuel Holland2018-12-081-161/+0
| | | | | | | | | | | | | | - 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>
* global: update copyright headersJason A. Donenfeld2018-09-061-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Extract error messages to string resourcesHarsh Shandilya2018-08-261-3/+6
| | | | | | Useful for validation errors and localisation later on Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* global: move to Apache 2.0Jason A. Donenfeld2018-07-061-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* crypto: KeyEncoding: Fix styleHarsh Shandilya2018-06-021-25/+32
| | | | | | | - 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>
* KeyEncoding: more constant timeJason A. Donenfeld2018-05-301-21/+28
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: fix up copyrightsJason A. Donenfeld2018-05-031-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* KeyEncoding: Address lints/warnings and match line lengthSamuel Holland2018-05-021-9/+12
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* global: Add or update copyright headers in Java codeSamuel Holland2018-05-021-1/+4
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* global: Automatic code formattingSamuel Holland2018-04-301-23/+23
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* KeyEncoding: add constant time hex implementationJason A. Donenfeld2018-02-131-2/+44
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: Fix or suppress most lints/warningsSamuel Holland2018-01-081-1/+6
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* Major renaming and refactoring in activity and serviceSamuel Holland2017-08-131-7/+7
| | | | | | Apparently "configuration" is the proper term, not "profile". Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* KeyEncoding: Clean up and reorganize to match styleSamuel Holland2017-08-091-66/+82
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Constant time base64Jason A. Donenfeld2017-08-081-0/+75
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>