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

Added PHS wrappers and generated vectors #1

Open
wants to merge 38 commits into
base: master
Choose a base branch
from

Conversation

waywardgeek
Copy link

This is a big patch involving several entries that cleans up the PHS declarations, defines limits for the input parameters, and provides a mechanism for automatically generating test vectors for each of them other than PolyPassHash, which generates different results each time it's PHS function is called.

I wish to use this for automated benchmarking, among other things. It is not required that these changes be pulled upstream, but it will allow you to compile and test the various entries through a common interface. I tried to keep the actual code changes to the entries minimal. For example, I have not fixed compiler warnings. The entries are built with a new Makefile, using common compiler flags, and supports opt (the default) and debug targets.

Bill

@veorq
Copy link
Collaborator

veorq commented Apr 14, 2014

Thanks Bill! I'll let PHK approve or challenge your pr.
On Apr 14, 2014 6:16 PM, "Bill" [email protected] wrote:

This is a big patch involving several entries that cleans up the PHS
declarations, defines limits for the input parameters, and provides a
mechanism for automatically generating test vectors for each of them other
than PolyPassHash, which generates different results each time it's PHS
function is called.

I wish to use this for automated benchmarking, among other things. It is
not required that these changes be pulled upstream, but it will allow you
to compile and test the various entries through a common interface. I tried
to keep the actual code changes to the entries minimal. For example, I have
not fixed compiler warnings. The entries are built with a new Makefile,
using common compiler flags, and supports opt (the default) and debug
targets.

Bill

You can merge this Pull Request by running

git pull https://github.com/waywardgeek/PHC master

Or view, comment on, or merge it at:

#1
Commit Summary

  • Copied in some files I wrote for testing
  • Got stuff compiling
  • Fixed overwriting password in POMELO
  • Got Lyra2 compiling
  • Did a number of totally ugly edits to get m3lcrypt to compile
  • Run automake for Lanarea to regenerate automake in systems with
    different automake.
  • Run test from local directory.
  • Print PHS() failure code.
  • Added v1 versions of Yard, M3lcrypt, and POMELO, and added make
    support for Makwa
  • Modified M3lcrypt to get it to compile
  • Got MCS_PHS compiling, though un-windowizing it was painful
  • Minor mod to omegacrypt to have linkable PHS function
  • Added extern C to Parallela declarations
  • Add some trivial run time test.
  • Got PolyPassHash to compile
  • Merge pull request Added PHS wrappers and generated vectors #1 from mbroz/testing
  • Got Pufferfish running
  • Compiled RIG
  • Got Yescript building - that's all of them
  • Fix to Pufferfish to call raw kdf
  • Modified runall
  • Return logical not of yarn value, since yarn returns 1 always
  • Working on test vectors
  • Starting to add limits for the PHSs
  • Updated limits through Catena
  • updates
  • conflict merges
  • Working on limits for PHC entries
  • Added more test vector limits
  • Added some more limit support
  • Fix to twocats full password hashing for small m_cost
  • Finished adding limit support
  • Got vectors running
  • Cleaned up Makefile a bit

File Changes

Patch Links:

Reply to this email directly or view it on GitHubhttps://github.com//pull/1
.

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.

3 participants