Prince (cipher)

Prince is a block cipher targeting low latency, unrolled hardware implementations. It is based on the so-called FX construction. Its most notable feature is the "alpha reflection": the decryption is the encryption with a related key which is very cheap to compute. Unlike most other "lightweight" ciphers, it has a small number of rounds and the layers constituting a round have low logic depth. As a result, fully unrolled implementation are able to reach much higher frequencies than AES or PRESENT. According to the authors, for the same time constraints and technologies, PRINCE uses 6–7 times less area than PRESENT-80 and 14–15 times less area than AES-128.
Overview.
The block size is 64 bits and the key size is 128 bits. The key is split into two 64 bit keys formula_1 and formula_2. The input is XORed with formula_1, then is processed by a core function using formula_2. The output of the core function is xored by formula_5 to produce the final output (formula_6 is a value derived from formula_1). The decryption is done by exchanging formula_1 and formula_5 and by feeding the core function with formula_2 xored with a constant denoted alpha.
The core function contain 5 "forward" rounds, a middle round, and 5 "backward" rounds, for 11 rounds in total. The original paper mentions 12 rounds without explicitly depicting them; if the middle round is counted as two rounds (as it contains two nonlinear layers), then the total number of rounds is 12.
A forward round starts with a round constant XORed with formula_2, then a nonlinear layer formula_12, and finally a linear layer formula_13. The "backward" rounds are exactly the inverse of the "forward" rounds except for the round constants.
The nonlinear layer is based on a single 4-bit S-box which can be chosen among the affine-equivalent of 8 specified S-boxes.
The linear layer consists of multiplication by a 64x64 matrix formula_14 and a shift row similar to the one in AES but operating on 4-bit nibbles rather than bytes.
formula_14 is constructed from 16x16 matrices formula_16 and formula_17 in such a way that the multiplication by formula_14 can be computed by four smaller multiplications, two using formula_16 and two using formula_17.
The middle round consists of the formula_12 layer followed by formula_14 followed by the formula_23 layer.
Cryptanalysis.
To encourage cryptanalysis of the Prince cipher, the organizations behind it created the 
The paper "Security analysis of PRINCE" presents several attacks on full and round reduced variants, in particular, an attack of complexity 2125.1 and a related key attack requiring 233 data.
A generic time–memory–data tradeoff for FX constructions has been published, with an application to Prince. The paper argues that the FX construction is a fine solution to improve the security of a widely deployed cipher (like DES-X did for DES) but that it is a questionable choice for new designs. It presents a tweak to the Prince cipher to strengthen it against this particular kind of attack.
A biclique cryptanalysis attack has been published on the full cipher. It is somewhat inline with the estimation of the designers since it reduces the key search space by 21.28 (the original paper mentions a factor 2).
The paper "Reflection Cryptanalysis of PRINCE-Like Ciphers" focuses on the alpha reflection and establishes choice criteria for the alpha constant. It shows that a poorly chosen alpha would lead to efficient attacks on the full cipher; but the value randomly chosen by the designers is not among the weak ones.
Several meet-in-the-middle attacks have been published on round reduced versions.
An attack in the multi-user setting can find the keys of 2 users among a set of 232 users in time 265.
An attack on 10 rounds with overall complexity of 118.56 bits has been published.
An attack on 7 rounds with time complexity of 257 operations has been published.
A differential fault attack has been published using 7 faulty cipher texts under random 4 bit nibble fault model.
The paper "New approaches for round-reduced PRINCE cipher cryptanalysis" presents boomerang attack and known-plaintext attack on reduced round versions up to 6 rounds.
In 2015 few additional attacks have been published but are not freely available.