Skip to content

Releases: Crypto-TII/claasp

Release v2.6.0

23 Aug 08:13
7573ec4
Compare
Choose a tag to compare

Added

  • Added prince cipher.
  • Implement s-box version of simeck cipher.
  • Implement simeck cipher.
  • Testing.
  • Working model for impossible xor differential trail extension for key recovery.
  • Find lowest varied deterministic truncated xor differential trail search for cp.
  • Cp impossible wordwise model and impossible trails extension.
  • Allow sat s-boxes to handle rectangular case.
  • Create new version of simon cipher.

Changed

  • Rename hash input from key to message.
  • Improved incompatibility search in intermediate components.
  • Window_size heuristic.

Fixed

  • Correct the incorrect show_graph paramter settings.
  • Continuous diffusion analysis.
  • Manipulate correctly rectangular s-boxes in smt.
  • Doctests.
  • Window_size heuristic. adding check for window -1.
  • Codes duplications.
  • Adressed slow pytests for lowmc cipher and milp xor differential trail search.
  • Code smells.
  • Removed the empty input_id_link that could occur in some cases of the partial inversion.
  • 'plaintext' key error when using vectorized evaluation on a partially inverted cipher.
  • Update sphinx version.
  • Impossible attack extension model for cp.

Release v2.5.0

22 May 14:06
339c976
Compare
Choose a tag to compare

Added

  • Non rectangular s-boxes support for milp models.
  • Solvers options and modularity.
  • Cp solvers names and method.

Changed

  • Processing of intermediate outputs fixed for partial cipher creation method.
  • Rearrange smt solver specifications.
  • Rearrange sat solver specifications.
  • Window size feature.

Fixed

  • Fix create_bash_script.py for local installation after distribution change.
  • Fix platform and gurobi version for m1.
  • Or component cp linear propagation declarations.
  • Remove concatenate component in kasumi.

Release v2.4.0

06 Apr 08:48
b9d886a
Compare
Choose a tag to compare

Added

  • Added method to get milp solvers.
  • Coinbc backend for milp module.

Fixed

  • Added date time to report folders and statistical tests folders. fixed neural network error message fixed trails output format to include hex words.
  • Fixed trail search output format.

Release v2.1.0

31 Jan 11:15
e016b14
Compare
Choose a tag to compare

Added

  • Sat deterministic truncated xor differential trail search.
  • Fully automatic milp search of xor differential impossible trails at component level.
  • Implement sat constraints for or operation.
  • Add action to build claasp-lib image every time a new version is deployed to main.
  • Create multi-stage build to generate docker image of claasp.
  • Add sat deterministic truncated trail search.

Changed

  • Qarmav2 creator optimized, permutations removed and complexity reduced.

Fixed

  • Inversion for primitives using subkeys as inputs.
  • Fixing networkx and numpy versions.
  • Adapted tests.
  • Move sat constraints for and in correct module.

Release v2.0.0

05 Dec 08:16
1a06855
Compare
Choose a tag to compare

Added

  • Create report class Change: refactor statistical test functions and trail search functions outputs Change: refactor old pytest files for statistical test functions and trail search functions. Remove: remove old functions to create dataframes and heatmaps for statistical test functions

  • External solver support for MILP truncated/impossible modules

  • Implement scarf block cipher

  • Window heuristic per modular addition

Fixed

  • Fix versioning

Release v1.1.0

27 Nov 13:43
Compare
Choose a tag to compare

Added

  • Unifying SAT xor diff and checker models
  • create new a51 stream cipher with fsr component.
  • create new tinyjambu permutation with fsr component.
  • create new spongent pi permutation with fsr component.
  • component_values to Minizinc output model
  • Adding graph generator based on cipher component IDs
  • create new BEA-1 cipher
  • Adding max number of carries
  • vectorized implementation of neural_network distinguishers and support for training round selection
  • possibility to check differential trails automatically
  • Compounded Xor Differential Cipher
  • Salsa Permutation

Changed

  • Moved get_key_schedule_component_ids
  • replaced BEA1 concatenate component for CP compatibility
  • update cipher documentation with BEA-1
  • window_size heuristic
  • Latin Dances Ciphers
  • Extracting init method from Salsa/Chacha
  • Extracting methods from Salsa/ChaCha Extracting common methods from Salsa/ChaCha to util latin dances
  • removing duplicate code

Fixed

  • Add ciphers folder to SonarCloud exclusion.
  • xor-diff-mzn-model
  • upgrade Tensorflow to work with m1 architecture
  • compactification of cipher in SAT
  • fix the bug of the nist_statistical_tests_test.py when the experiments folder existed, then the nist sts tools will stopped. fix the bug that some nist test files generated during runtime has incorrect read write permission.
  • MILP external file paths are now absolute
  • solver name added to input files names for testing cp models
  • find_one_xor_differential_trail in cp two steps model
  • test_find_all_xor_differential_trails_with_fixed_weight in two steps version
  • number of active sboxes constraint generation
  • updated instructions to set up Sagemath Python interpreter into PyCharm
  • Kissat parsing

Release v1.0.0

28 Apr 14:59
Compare
Choose a tag to compare

Added

  • Everything! First public release.