1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-25 03:16:51 +01:00
Gadgetbridge/app
Andreas Shimokawa 6732bab481 Dirty port tinyECDH to Java, remove ndk dependencies
This has some advantages:
- Less stuff to download for building Gadgetbridge (CI Speedups)
- Shorter build time (no need to build shared library for all supported architectures)
- Easier debugging
- etc :P

What I did:
 - remove all curves except B163 to make porting easier
 - port to java with brain switched off
 - fix the "java has no unsigned" bugs
 - add some helpers to convert int[] to byte[] and back because java has no casts

The result is ugly, no one would write such crappy code from scratch, but I tried to
keep it as close to the C code as possible to prevent bugs. Since I did not know what
2022-09-27 10:51:14 +02:00
..
src Dirty port tinyECDH to Java, remove ndk dependencies 2022-09-27 10:51:14 +02:00
build.gradle Dirty port tinyECDH to Java, remove ndk dependencies 2022-09-27 10:51:14 +02:00
proguard-rules.pro Added rule to keep static members of GattCharacteristic class 2022-04-28 22:08:26 +02:00