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

Update forge version to 0.9.1 to correct DES and 3DES CTR mode results, and update tests #648

Merged
merged 4 commits into from
Oct 1, 2019

Conversation

cbeuw
Copy link
Contributor

@cbeuw cbeuw commented Sep 26, 2019

Background: #647

This PR updates forge version to 0.9.1 to correct DES and 3DES CTR modes' outputs. forge 0.9.1 also enforces IV size to be the same as the cipher's block size. This PR updates the tests in which IVs are absent or are not the correct size.

The ground truths of tests for DES-CTR and DES-EDE3-CTR modes appear to have been generated by previous versions of forge, and are therefore incorrect. This PR corrects them using the results from GoLang's standard library and pyCryptoDome

@n1474335 n1474335 merged commit 880df21 into gchq:master Oct 1, 2019
@cbeuw cbeuw deleted the forge-update branch October 1, 2019 18:05
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