Comments (6)
I'm not sure what you mean with S2, maybe you can elaborate on that?
from cryptosmt.
In simon round, there is a left circular shift for twice (S2)
from cryptosmt.
This function here is used to filter invalid characteristics due to the dependency of the inputs to the AND. If you look at the rotational AND on bit level you can derive such a formula.
from cryptosmt.
In Simond round getStringForSimonRound function what for this code
#More improved
command += "ASSERT({0} = (IF {2} = 0x{4} THEN BVSUB({5},0x{4},0x{6}1) ELSE BVXOR(~{1} & ~{2} & {3}, {2}) ENDIF));".format(w, StpCommands().getStringRightRotate(x_in, 7, wordsize),
x_in, StpCommands().getStringRightRotate(x_in, 14, wordsize),
"f"(wordsize / 4), wordsize, "0"((wordsize / 4)- 1));
from cryptosmt.
This was slightly changed in the latest version, so you might want to have a look at the current version.
This part computes the differential probability for one round. The if/then/else is needed to deal with the special case when you have a difference of 0xFF...FF.
from cryptosmt.
A clear description of this can now be found in http://eprint.iacr.org/2015/145
from cryptosmt.
Related Issues (15)
- OSError: [Errno 13] Permission denied HOT 1
- differential characteristics HOT 1
- "docker build -t cryptosmt ."cannot be executed HOT 4
- Significance of Weights HOT 1
- Mode 4 issue HOT 1
- Docmentation
- Loading Example YAML Files is Broken
- Issue with Present80 Cipher - findAllCharacteristics HOT 2
- Error: BVTypeCheck: terms in atomic formulas must be of equal length HOT 1
- It seems there is an Error in simon.py HOT 1
- Algorithms/procedures HOT 6
- cryptosmt HOT 3
- Role of Weight component in cryptoSMT HOT 1
- Site not found HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cryptosmt.