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

Officially qarma64 advices to use M4,2 = Q4,2 #3

Open
Daniel-Bodden opened this issue Feb 16, 2021 · 1 comment
Open

Officially qarma64 advices to use M4,2 = Q4,2 #3

Daniel-Bodden opened this issue Feb 16, 2021 · 1 comment

Comments

@Daniel-Bodden
Copy link

Great to find a Python implementation of the cipher Qarma.

In the publication of Qarma (https://eprint.iacr.org/2016/444.pdf) they check 3 MC variants: MC4,1 MC4,2 and MC4.3. On page 14 they choose for MC4,2. Maybe you want to add MC4,2 to the Python implementation.

UsedMixColumns = MixColumns_M43

@dkales
Copy link
Owner

dkales commented Feb 16, 2021

Hi,

this implementation is older than this newest version of the Qarma paper.
See https://eprint.iacr.org/eprint-bin/getfile.pl?entry=2016/444&version=20160506:075619&file=444.pdf, there the official recommendation was still MC4,3.

I have not used this implementation in a long time, and have no real use for it at the moment. Its original use-case was to help with some cryptanalysis on paper, so the performance and interface in general are not that great.

Feel free to fork the implementation and add the recommended variant as a pull request, I don't really have time or urgency to do so at the moment, sorry.

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

No branches or pull requests

2 participants