Remove OpenSSL dependency#95
Conversation
eaed5a7 to
067cfd4
Compare
|
Concept ACK Seems like valgrind and aes-util tests are failing, triggering a Travis failure. |
|
Hi Jeff, Yes, these tests are failing because of issue highlighted in #91. They should be fixed in pull request #94. I have also written a test to check just how random the new PRNG actually is. It performs the same tests as the The test currently gives the following output, which looks positive: See https://www.fourmilab.ch/random/ for detailed description of output. Also, the PRNG can easily be expanded with other sources of entropy in the future. |
1 similar comment
bd13d53 to
f848b4c
Compare
1 similar comment
6fb0d7d to
c7bb0a7
Compare
12167ac to
d0a8926
Compare
Hi,
This pull request removes the OpenSSL dependency. The OpenSSL
RAND_bytesfunctionality is replaced with an implementation of Fortuna PRNG based on code from the PostgreSQL database project.http://www.postgres.org/
A few builds are failing in Travis (see issue #91) but this is fixed in pull request #94.
With this pull request picocoin now has two implementations of AES. The
ctaes.ccode used by the wallet andrijndael.ccode used by Fortuna. For now it was easy to just add therijndael.ccode for Fortuna but this may be changed in the future so that there is just a single AES implemetaion used by both Fortuna and the wallet.