Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

defuse
Copy link
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
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