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

Literate Cryptol specifications #67

Merged
merged 2 commits into from
Jan 8, 2024

Conversation

carrala
Copy link

@carrala carrala commented Dec 18, 2023

This PR replaces some Cryptol implementations of algorithms with literate Cryptol versions which include the text from the original specifications as well as any tests that were defined for the algorithms.

Updated algorithms include:

  • DES
  • LED
  • PRINCE
  • 3DES
  • Salsa20
  • ZUC

All tests for the new implementations pass locally.

Copy link
Contributor

@RyanGlScott RyanGlScott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @carrala! This is a nice improvement. I haven't read everything line by line (mainly because most of the text is taken directly from upstream specifications), but I did take a closer look at the Salsa20 implementation, which is the one that I'm most familiar with.

Primitive/Symmetric/Cipher/Stream/ZUC1_6.md Outdated Show resolved Hide resolved
Primitive/Symmetric/Cipher/Stream/Salsa20.md Outdated Show resolved Hide resolved
Primitive/Symmetric/Cipher/Stream/Salsa20.md Outdated Show resolved Hide resolved
Copy link
Contributor

@RyanGlScott RyanGlScott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @carrala! This looks good on my end. Can you resolve the merge conflicts as well?

@carrala
Copy link
Author

carrala commented Jan 8, 2024

@RyanGlScott All merge conflicts have been resolved!

@RyanGlScott RyanGlScott merged commit 423fd3f into GaloisInc:master Jan 8, 2024
1 check passed
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