Brissouille / Lagrange

Cryptanalysis on differents algorithms with z3 solver sat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding the hypothesis in check function

Brissouille opened this issue · comments

In the function aes:
The hypothesis is taken account in parameters of the function check of the solver. Thanks to this, if the state of the solver is unsat, we will have the proof with the unsat_core function.

Now I must analyse, If I can retrieve the bad hypothesis. It allows to perform a brute-force only on the variables relative about the bad hypothesis

Strange phenomenon.... When I launch the python script (with the assumption parameter) on an other computer, a warning message appears:
WARNING: an assumption must be a propositional variable or the negation of one

And the result of the solver is unknown.