20 Commits

Author SHA1 Message Date
Salomon BRYS
fa425731a1
GitHub actions (#2)
* Updated readme, enabled automatc testing

* Snapshot support

* Release CI support

Co-authored-by: Salomon BRYS <salomon@kodein.net>
2020-07-03 19:12:38 +02:00
sstone
08d1692932 Add compact2der() method 2020-07-02 21:39:33 +02:00
Salomon BRYS
244673b04c Reset version number 2020-07-02 18:07:28 +02:00
Fabrice Drouin
3ee2635d93
Upgrade JNI interface (#1)
* Upgrade JNI interface

* Input signatures can be DER or compact format, output signatures are always in compact format

* Input public keys can be compressed or uncompressed, output public keys are always uncompressed

* Name and parameters match libsecp256k1's

* JNI implementation is now straightforward

  No more ByteBuffers
  Exceptions are thrown in case of failures

* Update src/nativeMain/kotlin/fr/acinq/secp256k1/Secp256k1Native.kt

* Add public key compression method

Co-authored-by: Salomon BRYS <salomon.brys@gmail.com>
2020-07-02 17:52:21 +02:00
Salomon BRYS
17dd83e476 Tests in their own module so that they can run on Android with the connectedCheck task 2020-07-02 12:19:29 +02:00
Salomon BRYS
ffe4cc41dc Maven publications 2020-07-02 11:39:42 +02:00
Salomon BRYS
3b3d67a4fe JNI built in JNI 2020-07-01 18:26:24 +02:00
Salomon BRYS
6e4763e55b Using javac to generate header 2020-07-01 13:53:26 +02:00
Salomon BRYS
720637ec24 JNI Implementation in their own package 2020-07-01 12:56:48 +02:00
Salomon BRYS
1d9d57ca0a Android & JVM loader in their own modules 2020-07-01 12:15:04 +02:00
Salomon BRYS
9e1fc5d5ff Gradle Wrapper 2020-06-29 18:19:32 +02:00
Salomon BRYS
1787dedb4e Android fix 2020-06-29 18:05:05 +02:00
Salomon BRYS
4bdc836556 Explicit Signature & PubKey formats + bug fixes 2020-06-29 17:10:58 +02:00
Salomon BRYS
b67cafed38 Doc 2020-06-29 13:06:59 +02:00
Salomon BRYS
3c317da9f5 Linux build in macos 2020-06-29 13:02:45 +02:00
Salomon BRYS
7e79a17a7f Maven publish 2020-06-29 12:28:00 +02:00
Salomon BRYS
548fb27c33 Compat with linux host 2020-06-29 11:41:34 +02:00
Salomon BRYS
ff37b86ff3 Android implementation 2020-06-26 20:50:32 +02:00
Salomon BRYS
08b6d16836 Native & iOS implementation 2020-06-26 17:10:48 +02:00
Salomon BRYS
54abe2a397 JVM implementation 2020-06-26 13:48:50 +02:00