cascada.primitives.simeck module
Simeck family of block ciphers.
This implementation is based on simon and simon_rf.
- class cascada.primitives.simeck.SimeckRF(**kwargs)[source]
Bases:
cascada.primitives.simon_rf.SimonRFThe non-linear part of the round function of Simon.
This corresponds to
f(x) = ((x <<< a) & (x <<< b)) ^ (x <<< c), where(a, b, c) = (5, 0, 4).- rx_model
- xor_model
- class cascada.primitives.simeck.XorModelSimeckRF(input_prop)[source]
Bases:
cascada.primitives.simon_rf.XorModelSimonRFRepresent the
XorDiffdifferential.opmodel.OpModelofSimeckRF.- op
alias of
cascada.primitives.simeck.SimeckRF
- class cascada.primitives.simeck.RXModelSimeckRF(input_prop)[source]
Bases:
cascada.primitives.simon_rf.RXModelSimonRFRepresent the
RXDiffdifferential.opmodel.OpModelofSimeckRF.- op
alias of
cascada.primitives.simeck.SimeckRF