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

Test updates for vectors from other implementations #183

Merged
merged 3 commits into from
Nov 15, 2018
Merged

Conversation

tjschuck
Copy link
Collaborator

@tjschuck tjschuck commented Nov 8, 2018

Slightly more details in each commit's full commit message, but:

  1. 32dac7d — Update blowfish imprementation to latest version #182 duplicated a vector.

  2. a2835b0Update blowfish imprementation to latest version #182 deleted some meaningful characters from the Openwall implementation that these vectors came from.

  3. 45bb290 — add vectors from the Java implementation as well.

@tjschuck tjschuck force-pushed the test-updates branch 3 times, most recently from fa8551d to 69f896f Compare November 15, 2018 18:18
Keeping the one at the bottom because that’s where Openwall has it.
These were deleted in #182, but are a part of the Openwall test vectors.  They’re important because they’re actually making the string longer than 72 characters, which is the test that the vector is going for.
This should actually cross-check implementations — the Java vectors should pass when using the C implementation, and the C vectors should pass when using the Java implementation.
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