Inserting round-dependent constants into the encryption process breaks the symmetry between rounds and thus thwarts the most obvious slide attacks. The technique is a standard feature of most modern block ciphers. However, a poor choice of round constants or unintended interrelations between the constants and other cipher components could still allow slide attacks (e.g., attacking the initial version of the
format-preserving encryption mode FF3). Many
lightweight ciphers utilize very simple key scheduling: the round keys come from adding the
round constants to the
encryption key. A poor choice of round constants in this case might make the cipher vulnerable to
invariant attacks; ciphers broken this way include
SCREAM and
Midori64. == Optimization ==