Skip to content

Conversation

@Gustav-Simonsson
Copy link

No description provided.

* Move random entropy functions to new package randentropy
* Add function to get n bytes entropy where up to first 32
  bytes are mixed with OS entropy sources
@Gustav-Simonsson Gustav-Simonsson force-pushed the align_key_and_ecdsa_nonce_entropy branch from c908bfa to 8c056ae Compare February 10, 2015 21:50
@Gustav-Simonsson
Copy link
Author

While tests in crypto and secp256k1 works, we should verify the mixing of OS entropy in terms of security - is it guaranteed to never weaken what we get from crypto/rand?

Also: I would suggest we move the Sha3 helper function to sha3 package (if it's in crypto it creates a circular dependency between crypto and the new randentropy package)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest we make this an unexported type and export randentropy.Readerand remove the new(randentropy.RandEntropy) from the other files and pass in the Reader directly.

@obscuren obscuren merged commit f35d62b into ethereum:develop Feb 13, 2015
jpeletier pushed a commit to epiclabs-io/go-ethereum that referenced this pull request Apr 22, 2018
…_error

cmd/swarm: make sure swarm doesnt crash when requested missing hashes
Zergity added a commit to Zergity/go-ethereum that referenced this pull request Apr 28, 2020
Prioritize block with random seed by double the normal block weight
tony-ricciardi pushed a commit to tony-ricciardi/go-ethereum that referenced this pull request Jan 20, 2022
luanxu-mch pushed a commit to MXCzkEVM/mxc-geth that referenced this pull request Sep 2, 2024
s1na pushed a commit to s1na/go-ethereum that referenced this pull request Dec 2, 2024
s1na pushed a commit to s1na/go-ethereum that referenced this pull request Dec 2, 2024
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.

2 participants