Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Crypto: rewrite preexisting refactor. Fixes #164. #170

Merged
merged 2 commits into from Apr 15, 2016

Conversation

anonimal
Copy link
Collaborator

By submitting this pull request, I confirm the following:

  • I have read and understood the contributor guide.
  • I have checked that another pull request for this purpose does not exist.
  • I have considered and confirmed that this submission will be valuable to others.
  • I accept that this submission may not be used and that this pull request may be closed by the will of the maintainer.
  • I give this submission freely and claim no ownership to its content.

Place an X inside the bracket to confirm

  • I confirm.

  • Redesign/refactor: the previous design was unnecessary in terms of
    organization and the logic was askew. Rewrite with maintainability in mind
  • Within the realm of Signature and ElGamal, refactor out the unfinished
    cryptopp
  • Finish the unfinished RNG-related refactor:
    • Swapout appropriate CryptoPP with Rand*-related calls
    • Creation of class DiffieHellman
    • Moving of CryptoConst into pimpl directory
  • Cleanup related files that still call cryptopp
  • C++11/style guideline refactor for touched files
  • Add Crypto++ CMake build option + related pimpl src dir handling
  • Various cleanups + add documentation

* Redesign/refactor: the previous design was unnecessary in terms of
  organization and the logic was askew. Rewrite with maintainability in mind
* Within the realm of Signature and ElGamal, refactor out the unfinished
  cryptopp
* Finish the unfinished RNG-related refactor:
  - Swapout appropriate CryptoPP with Rand*-related calls
  - Creation of class DiffieHellman
  - Moving of CryptoConst into pimpl directory
* Cleanup related files that still call cryptopp
* C++11/style guideline refactor for touched files
* Add Crypto++ CMake build option + related pimpl src dir handling
* Various cleanups + add documentation
@anonimal
Copy link
Collaborator Author

Build failed as I built tests before PR'ing but did not build benchmarks. Fix is on the way.

@anonimal
Copy link
Collaborator Author

Build passed.

On that note, I am going to assign myself and finish #57 - and it could be done as soon as our next meeting (maybe earlier).

@anonimal
Copy link
Collaborator Author

Note: re: 5beae18, a few typos for Doxygen have been corrected (though, in another branch) and will be included in the PR for #57.

@anonimal anonimal merged commit 09febe4 into monero-project:development Apr 15, 2016
anonimal added a commit that referenced this pull request Apr 15, 2016
09febe4 Crypto: add missing Ed25519 header. Fixes build. (anonimal)
5beae18 Crypto: rewrite preexisting refactor. Fixes #164. (anonimal)
anonimal added a commit to anonimal/kovri that referenced this pull request Apr 20, 2016
In addition to the refactor:
* Separate crypto by use-case
  - Crypto that's essential to core I2P network functionality stays in
    ./crypto
  - Crypto that's not essential to core I2P network functionality goes
    into ./crypto/util
  - Library implementations go into ./crypto/pimpl
  - Name/Re-name appropriate files
* Rewrite token generation implementation for I2PControl
* Minor design refactor of monero-project#170
* Minor guideline refactoring
* Adjust related CMake
* Add documentation
@anonimal anonimal deleted the resolve_164 branch April 20, 2016 00:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant