pairing-plus icon indicating copy to clipboard operation
pairing-plus copied to clipboard

Rand upgrade

Open tmpfs opened this issue 4 years ago • 1 comments

Remove the unused [email protected] dependency and update rand_core and rand_xorshift.

Once we have a new version of ff-zeroize available in crates.io we can remove the temporary git dependency. See: https://github.com/algorand/ff-zeroize/pull/2

tmpfs avatar Dec 07 '21 00:12 tmpfs

To give some context to this PR, I am trying to get multi-party-ecdsa compiling for wasm32-unknown-unknown and there are 3 versions of rand in the dependency tree for multi-party-ecdsa which is problematic when executing in WASM using wasm-bindgen-rayon due to a bug calling Crypto.getRandomValues() with a SharedArrayBuffer. This bug has been fixed in the latest versions of rand and getrandom so I am attempting to update all transitive dependencies to use latest version of the rand libraries.

tmpfs avatar Dec 07 '21 00:12 tmpfs