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 coverage #196

Open
AaronFeickert opened this issue Aug 16, 2023 · 0 comments
Open

Improve test coverage #196

AaronFeickert opened this issue Aug 16, 2023 · 0 comments

Comments

@AaronFeickert
Copy link
Contributor

Test coverage for this repository should be improved.

SWvheerden added a commit that referenced this issue Aug 21, 2023
Removes old rewindable range proof code that was unused.

Partially addresses #196.
SWvheerden added a commit that referenced this issue Aug 21, 2023
Simplifies the implementation of zeroizing support for Diffie-Hellman
key exchanges and improves test coverage.

Currently, the `DiffieHellmanSharedSecret` struct has manual
implementations of `zeroize` and `drop` to handle zeroizing. Now that we
have a more modern version of `zeroize` as a dependency, we can do
better. This PR uses that crate's `Zeroize` and `ZeroizeOnDrop` derived
traits to handle this more cleanly. It also adds a sanity check that the
byte representations of both sides of a key exchange match, which
improves test coverage.

Partially addresses #196.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant