Skip to content

Improve test_uint32_rotr to exercise the by = by % 32 line.#99

Open
defuse wants to merge 1 commit intozcash:mainfrom
defuse:improve-rotr-test
Open

Improve test_uint32_rotr to exercise the by = by % 32 line.#99
defuse wants to merge 1 commit intozcash:mainfrom
defuse:improve-rotr-test

Conversation

@defuse
Copy link
Copy Markdown
Collaborator

@defuse defuse commented Feb 19, 2019

If the first line of rotr was changed to let by = by % 33, for example, then the existing test wouldn't catch the bug.

@ebfull
Copy link
Copy Markdown
Collaborator

ebfull commented Feb 22, 2019

ACK

stefandeml pushed a commit to stefandeml/sapling-crypto that referenced this pull request Jul 5, 2019
* modify seal function to be callable from cgo

- can't pass arrays by value in C; need to pass pointer to first cell
- seal accepts pointer to result-array so that callers manage memory instead of Rust

* line reorg

* rename symbol

* apply cargo fmt

* add comments for seal parameters

* create lib crate-type for Rust tests

* dylib seems to work with cgo

* kick off ci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants