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

Feature/differential-linear sat model #285

Merged
merged 13 commits into from
Oct 4, 2024

Conversation

juaninf
Copy link
Collaborator

@juaninf juaninf commented Oct 3, 2024

Feature/Add: SAT model for differential-linear distinguishers

  • Introduced a new feature in CLAASP allowing the creation of models to search for differential-linear distinguishers under specific conditions.
  • The middle part of the model is constrained to be deterministic, integrating both differential and linear distinguishers within the SAT-based model.
  • Also, added the ability to check differential-linear distinguisher experimentally in any CLAASP cipher using the vectorized evaluator.

This commit introduces differential-linear search capabilities to the CLAASP using SAT techniques. The search includes a restriction that the middle part must occur deterministically, ensuring deterministic transitions between truncated differentials and linear approximations.
Adding unit test to search for differential-linear distinguishers on Aradi
We are adding a util file to check experimentally the correlation of differential-linear distinguishers using the vectorized evaluator.
- Refactored two methods fix_variables_value_xor_linear_constraints and
  branch_xor_linear_constraints of SatXorLinearModel. Specifically,
  converted to static methods.
- This change enables the integration of these methods in the new
  feature for searching differential-linear distinguishers.
- Introduced a new feature in CLAASP allowing the creation of models to
  search for differential-linear distinguishers under specific
  conditions.
- The middle part of the model is constrained to be deterministic,
  integrating both differential and linear distinguishers within the
  SAT-based model.
@juaninf juaninf requested a review from peacker October 3, 2024 12:36
Copy link

sonarqubecloud bot commented Oct 3, 2024

@peacker peacker merged commit fdf1bba into develop Oct 4, 2024
9 checks passed
@peacker peacker deleted the feature/differential-linear-sat-model branch October 4, 2024 06:09
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