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

Simplify hash/nonce_gen tagging #134

Merged
merged 3 commits into from
Dec 12, 2022
Merged

Simplify hash/nonce_gen tagging #134

merged 3 commits into from
Dec 12, 2022

Conversation

LLFourn
Copy link
Owner

@LLFourn LLFourn commented Dec 12, 2022

  • Before there was two traits AddTag and Tagged that did basically the same thing. AddTag was used for NonceGens while Tagged was used for hashes. Merging them into one Tag trait seems to have solved more friction than it created and seems to be less confusing.
  • secp256kfun will now actually compile without an allocator. A dependency was loading alloc even when we didn't. Fixing this revealed that we were actually using alloc features without intendeding to.
  • Also added some new NonceRng implementations for RefCells and Mutexs of rngs while I was around in this code.

...how can this only be detected now...?
@LLFourn LLFourn merged commit 9657d8c into master Dec 12, 2022
@LLFourn LLFourn deleted the simplify_tags branch December 12, 2022 05:29
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 this pull request may close these issues.

None yet

1 participant