Jaco
44048626cd
Update secp256k1 library ( #318 )
...
* Update secp256k1 library
* Adjust
* compress/uncompress
* All of them?
* Test removal of lazy section hack
* Run tests sequentially
* build:mac target
* s/sepc256k1/secp256k1/
* CHANGELOG
2022-03-24 13:31:57 +02:00
Jaco
0dfb491e9d
Reproduction for secp256k1 asm.js failure ( #310 )
...
* Reproduction for secp256k1 asm.js failure
* Make test output more readable
* Additional test cleanups
* Bump build deps
* Adjust output sizing flags
* Bump wasm-bindgen
* secp256k1 HACK
* Update packages/wasm-crypto/src/bundle.ts
* Update packages/wasm-crypto/src/bundle.ts
* Update packages/wasm-crypto/test/all/index.cjs
2022-03-19 09:02:52 +02:00
Jaco
7689afb616
Add secp256k1 interfaces ( #241 )
...
* Add secp256k1 functions
* features for rand
* JS tests
* signing
* CHANGELOG
* Add secp256k1 seed
2021-12-02 14:19:33 +02:00
Shunfan Zhou and Jaco
9b8d6e0b64
Support sr25519 agreement ( #209 )
...
* Support sr25519 ecdh agreement
* Align version of curve25519-dalek
Co-authored-by: Jaco <jacogr@gmail.com >
* Reduce code size
Co-authored-by: Jaco <jacogr@gmail.com >
* Add explicit tests on sr25519 key agreement
* Fix linting issues
* Fix sr25519 key_agreement test
Co-authored-by: Jaco <jacogr@gmail.com >
2021-08-24 13:00:54 +02:00
Steve Degosserie and Github Actions
b1752ad001
Expose Schnorrkel's VRF capabilities ( #170 )
...
* Expose vrf_sign_extra function from Schnorrkel
* Document function, code cleanup
* Added vrf_sign, vrf_verify, vrf_verify_extra functions.
* Expose VRF functions to js
Co-authored-by: Github Actions <action@github.com >
2021-01-17 16:16:14 +01:00
Jaco Greeff
ae748a828d
Build via xargo ( #136 )
...
* Build via xargo
* xargo as dev dep
* Install xargo explicitly
* Fix binaryen dep
* Update deps
* Remove unused wasm-pack section
* Uname
2020-11-05 14:23:27 +01:00
Jaco Greeff
29ab5f2e50
Swap to stable Rustc (non-nightly) ( #118 )
...
* Swap to stable Rustc (non-nightly)
* Remove toolchain?
* cargo run?
2020-10-15 12:42:50 +02:00
Jaco Greeff
2ff45e1ca6
De-dup & update Rust packages ( #95 )
...
* De-dup & update Rust packages
* Explicitly pass wasm-opt false (manual run)
2020-08-05 12:30:26 +02:00
Jaco Greeff
0faca1b98e
Add scrypt hashing ( #92 )
2020-08-03 14:47:17 +02:00
Jaco Greeff
678063e12a
Cargo bumps ( #86 )
2020-07-17 13:38:05 +02:00
Jaco Greeff
9bc97a4e1d
Update ed25519-dalek ( #85 )
...
* Update ed25519-dalek
* Bump subtle
2020-07-17 13:12:21 +02:00
Jaco Greeff
8c0aa030cf
Bump deps ( #79 )
...
* Bump deps
* Rust bumps
* Rust bumps (again)
* Pin nightly
* Cleanup with new generation
2020-05-23 18:25:53 +02:00
Jaco Greeff
9f08e7832f
Bump schnorrkel to 0.8 ( #29 )
...
* Bump schnorrkel to 0.8
* Remove unneeded return refactor (stick to issues at-hand)
* Mid-point step, use rev, verify signatures
* Update to 0.8.2
* Flatten for easier inspection
* 0.8.3 rev that passes the tests
* Updates for 0.8.3 memory allocation
* Test for Rust keypair imports
* Rust ed25519 compat
* 0.8.4
* sr25519 0.8.5, bump deps
* tiny-keccak config
* Update keccack hashing
* Update hashing
2020-01-13 16:26:04 +01:00
Jaco Greeff
0e50f267d1
Add GH actions ( #37 )
...
* Add GH actions
* Install nightly, test Rust seperately
* Nightly for tests
* Pin nightly version... maybe this works?
* Revert attempted version fix
* Re-try nightly pinning...
* Try without...
* Revert stable experiment
* Run action on PR
* Action only on PR
* Rename push.yml to pr.yml
* Bump deps, update actions
* Bump backtrace (maybe this helps?)
* Don't test rust alongside wasm (split)
2019-10-08 14:00:59 +02:00
Jaco Greeff
2b637b079a
Swap to eslint ( #22 )
...
* Swap to eslint
* Remove links to outdated packages
* Bump hex_literal to 0.2.0
* Bump version
2019-07-17 11:23:11 +02:00
Jaco Greeff
f39b68f83d
Add known signature tests (from subkey, actual values) ( #20 )
...
* Add know signing test (from subkey)
* Align sr25519 known sigs
* 0.10 (schnorrkel got a bump)
2019-05-09 15:18:44 +02:00
Jaco Greeff
a1692ae1e6
Combine all crypto into a single package ( #15 )
...
* Combine all crypto into a single package
* Disable build for daled & schnrorrkel (combined)
* Bump @polkadot/dev (for publish)
* yarn.lock
* Fix CHANGELOG
2019-03-30 17:35:43 +01:00
Jaco Greeff
4e6bf711ed
Pull down binaries for binaryen (instead of building) ( #9 )
...
* Pull down binaries for binaryen (instead of building)
* Try x86 version
* Skeip build deps
* Try with a "stable" version?
* Extend crypto
* Use Xenial
* Cache binaryen
* dalek-ed25519 (WIP)
* Small test cleanups
* Revamp binaryen cache
* Update ed25519 tests
* Remove externals for sr & ed
* Test with --release
2019-03-22 10:07:22 +01:00
Jaco Greeff
9438234750
Add wasm-crypto package (just start, incomplete) ( #3 )
...
* Add wasm-crypto package (just start, incomplete)
* Update
* Merge master
* Headers
* Add sha512
* Add blake2b
* Add twox
* xxhash with multiple rounds
* Cleanup tests (non-async)
* Adjust signatures
* Doc comments
* schnorrkel 0.1.0 crate
* Simplify export names
* Bip39
* Updates, ext_* function exposure
* bip39 tested and working
* Re-add wasm optimisations
* Cleanup build script
* Auto-detect internal packages
* bip39ToMiniSecret
2019-03-20 10:09:40 +01:00