Skip to content

Commit

Permalink
Fix modadd_component.py tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
mariags803 committed May 21, 2024
1 parent 83ae9f3 commit e8257ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions claasp/components/modadd_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,9 @@ def sat_constraints(self):
sage: speck = SpeckBlockCipher(number_of_rounds=3)
sage: modadd_component = speck.component_from(0, 1)
sage: modadd_component.sat_constraints()
(['carry_modadd_0_1_0',
'carry_modadd_0_1_1',
'carry_modadd_0_1_2',
(['carry_0_modadd_0_1_0',
'carry_0_modadd_0_1_1',
'carry_0_modadd_0_1_2',
...
'modadd_0_1_15 -rot_0_0_15 plaintext_31',
'modadd_0_1_15 rot_0_0_15 -plaintext_31',
Expand Down

0 comments on commit e8257ae

Please sign in to comment.