Biclique Cryptanalysis of the Full AES
Paper · 2011 · Andrey Bogdanov, Dmitry Khovratovich and Christian Rechberger
Summary
A cipher can withstand every known practical attempt to recover its key while leaving a narrower question open. Does its design let a researcher test candidate keys more efficiently than exhaustive search? Bogdanov, Khovratovich, and Rechberger answer that question for all the full versions of the Advanced Encryption Standard, or AES. They report key recovery with one unknown secret key in about 2^126.18 full AES-128 computations, 2^189.74 full AES-192 computations, and 2^254.42 full AES-256 computations. The paper puts the gain over brute force at about a factor of 3 to 5, depending on the version. The work required remains far beyond practical reach.
The shortcut comes from organizing the search around a structure called a biclique. A biclique connects a set of internal cipher states to a set of ciphertexts. Every pairing has an associated candidate key. This arrangement gives many candidates something in common before the search even reaches the point where it compares them with observations. The authors then save and reuse partial computations wherever different candidates agree. For the strongest full-round results, the main saving comes from having to redo only a fraction of the cipher for each candidate.
The paper develops two ways to distribute work between constructing the biclique and checking the keys it represents. A short biclique can represent a relatively large group of keys if the changes used to build it stay apart at the relevant nonlinear operations. A longer biclique can make the remaining comparison simpler, but finding the structure becomes more expensive. The paper applies both approaches to reduced-round AES as well. Its long-biclique result for 8-round AES-128 has a workload-to-success ratio of 2^124.97. That result uses substantially more data than the paper’s short-biclique result for the same round count and carries a different success guarantee.
The authors also estimate the cost of finding preimages for compression functions built with full AES. They verify selected steps of their constructions and cost estimates, including an implementation of a difficult long-biclique component. The full key searches remain computational estimates. The paper’s result is a change in the best reported theoretical cost of single-key recovery, with the assumptions about available data and the work metric essential to interpreting the gain.
Deep dive: Biclique Cryptanalysis of the Full AES
Biclique cryptanalysis finds a shortcut for recovering keys in full AES, reducing the estimated work below exhaustive search while remaining impractical. · about 34 minutes to read
The problem and its context
What exhaustive search asks of a cipher
A block cipher turns a fixed-size block of plaintext into a ciphertext using a secret key. For a fixed key, that transformation can be reversed. The key-recovery problem starts with access to observations of the cipher and asks which key produced them. AES comes in versions with different key sizes. In the paper’s setting, the full versions use 10 rounds for AES-128, 12 for AES-192, and 14 for AES-256. A round is a repeated stage of the transformation, with round-specific key material. A reduced-round result studies a version with fewer of those stages.
Exhaustive search gives a natural reference point. A researcher can take an observed plaintext and ciphertext, run the cipher with a candidate key, and compare the output with the observed ciphertext. Additional observations can settle cases in which a candidate agrees by chance. This gives a way to talk about the cost of key recovery even if the researcher has found no particular structural weakness. A shortcut changes the accounting by making some part of the test less costly, by sharing calculations across candidates, or by organizing the available evidence so that some work can be avoided.
The paper asks for an improvement in the single-key setting. Every observation supplied by the secret-key cipher comes from the same unknown key. The researcher can still perform public AES calculations locally under any key being considered. That distinction matters because an analysis may compare nearby candidate keys internally even when it gets no external observations under those keys. A related-key attack makes a further assumption about access to encryptions or decryptions. It can use observations under other unknown keys whose relationship to the target key is chosen by the researcher. The two settings answer different questions about the information available to someone attempting recovery.
A full-round single-key result was a demanding target in the history the authors describe. Earlier studies kept improving the workload for established reduced-round cases, but the frontier in round count had remained at 7 rounds for AES-128 and 8 rounds for AES-192 and AES-256. Incremental gains in cost mattered within those cases. Extending the result to additional rounds required a way to cope with more of the cipher’s internal mixing while retaining enough structure for a shortcut.
Where earlier approaches found leverage
The paper describes AES’s wide-trail design as a reason why straightforward versions of differential and linear cryptanalysis had limited reach. Differential cryptanalysis studies how changes at one point in a cipher are reflected at another. Linear cryptanalysis looks for statistical relations that can help a researcher distinguish or test guesses. The paper identifies impossible differentials and Square-style methods as particularly productive for single-key AES research at the time.
An impossible differential uses a change that cannot give rise to a specified change somewhere else. If a key guess implies that forbidden transition, the guess can be excluded. In the paper’s historical account, this family produced a 7-round AES-128 result whose data requirement was meaningfully smaller than the entire set of possible blocks. Square attacks and the related integral and multiset approaches look for properties of collections of cipher states. The paper credits that family with some of the lowest reported workloads on reduced-round AES and highlights its role in the earlier 8-round AES-192 results.
Other studies reached more rounds under other assumptions. Related-key cryptanalysis had reached full AES-192 and AES-256. The rebound approach had found a non-random property in 8-round AES-128. The paper treats both as important evidence about structure within AES. An observation under several related keys, a demonstration of non-random behavior, and recovery of one unknown key from observations under that key each establish different things. A technique effective for one objective still needs a way to connect its structural observation to the evidence available for another.
The authors saw another point of comparison in hash-function research. Differential methods had migrated from block ciphers to hash functions. Could an idea that had become useful for hash analysis migrate in the opposite direction? Local collisions had offered one possible route, with an access requirement tied to related keys in the work the authors describe. Bicliques grew out of a different line of hash research, the splice-and-cut framework, and had already been used for preimage studies. In a preimage problem, a researcher starts with a target output and seeks an input that produces it. Work on SHA and Skein had used bicliques to arrange calculations around that target.
Why meeting in the middle was attractive
A meet-in-the-middle test checks a candidate’s consistency somewhere inside the cipher. One calculation starts at the plaintext and proceeds towards the comparison point. The other starts at the ciphertext and proceeds backward. The same key and the same observed pair must give the same value at their meeting point. The comparison can use a selected part of the state, with further checks for candidates that pass it.
Simply dividing an encryption into two computations does little to reduce the work. The gain appears when one calculation serves several candidates. If a portion of the key affects only the forward calculation of the particular value being compared, a change to that portion leaves the backward result reusable. The corresponding independence in the other direction lets a researcher prepare answers for whole groups of candidates. One observed pair can suffice for the basic comparison mechanism. The method’s appeal in the paper is its potential to keep data requirements low.
AES’s key schedule makes the independence requirement hard to satisfy over long stretches. The key schedule produces the material used in successive rounds from the original key, and nonlinear operations in the schedule help spread the effect of changing a key bit. Diffusion in the data transformation also spreads a difference across the cipher state. As the intervals to either side of a comparison grow, it becomes harder to find a value that depends on only the right part of a key guess. The authors note that earlier meet-in-the-middle work had typically been limited in the number of rounds it could reach, although elements of the approach had also appeared in collision attacks.
The paper reframes the problem around where reuse is possible. One interval may admit a particularly convenient relationship among candidate keys, internal states, and ciphertexts. Another interval may still contain enough localized dependencies for partial reuse even when it fails the independence requirements of a basic meet-in-the-middle calculation. A result for the whole cipher can combine these properties, provided the cost of arranging and joining the calculations remains below the cost of direct search.
The method, step by step
What a biclique represents
Imagine a grid in which each cell represents a candidate key. Each row has a ciphertext attached to it, and each column has an internal cipher state attached to it. Under the key in a given cell, the last portion of the cipher must take that column’s state to that row’s ciphertext. The structure is called a biclique because every state on one side has a connection to every ciphertext on the other. The edges are labeled by keys. Completeness means every cell has a valid connection.
The arrangement combines endpoints that may look unrelated when viewed one key at a time. Many candidate keys use the same state on the inner side of the structure. Many use the same ciphertext on the outer side. The same ciphertext can also be supplied to the secret-key decryption interface once, and the resulting plaintext is relevant to all candidates in its row. The biclique is built using the candidate keys and the public cipher. Its construction needs no information from the secret key. Secret-key observations come into play when checking whether a candidate explains the plaintext corresponding to its assigned ciphertext.
The dimension describes the width of this grid. The authors use a logarithmic parameter, so that the number of endpoints on either side and the number of keys in a group can be described using the same quantity.
group size = 2^(2d)
Here d is the biclique dimension. Each side has 2^d endpoints. The exponent 2d accounts for choosing a row and a column, and the base 2 reflects the binary indexing of the choices. For a fixed key size, a larger dimension gives more candidates per group and usually makes the structure harder to arrange. Length measures something separate, the number of cipher rounds covered by the biclique. A design can be wide and short or narrow and long.
The defining equation expresses the connection at a single cell. The row index belongs to the ciphertext and the column index to the internal state.
Cᵢ = f_{K[i,j]}(Sⱼ)
Here Cᵢ is the ciphertext at row i, Sⱼ is the state at column j, and K[i,j] is the candidate key at that row and column. The function f is the last portion of the cipher, and the subscript means that it is evaluated under the indicated key. The equality must hold for every pair of indices in the group. A partial decryption from Cᵢ under the same key would therefore arrive at Sⱼ.
This equation describes a relationship that already holds for the last part of the cipher. It says nothing yet about whether the first part of the cipher takes a plaintext from the secret-key interface to the stipulated state. The search tests precisely that remaining condition. This is why the method can use a structure involving many hypothetical keys without requiring observations from any of them.
Joining the structure to secret-key observations
The paper first expresses the cipher as two consecutive transformations. The first runs from plaintext to the internal state. The second takes that state to ciphertext and is the portion covered by the biclique.
e = f ∘ g
Here e is the full encryption transformation for whichever key is being evaluated. The symbol ∘ denotes composition, with g applied first and f applied afterwards. The function g covers the portion that remains to be checked against the secret-key observations. Both functions use the relevant material from the same key when evaluating a candidate.
For a given group, the researcher uses the biclique’s ciphertexts as inputs to the decryption interface. The paper describes this interface as an oracle, an abstraction that returns plaintext for a supplied ciphertext under the hidden key. The output for a row becomes the plaintext associated with that row. Ciphertexts may recur across different groups. That possibility matters for the total amount of distinct data needed, because a pair obtained earlier can be used again.
Pᵢ = e⁻¹_{K_secret}(Cᵢ)
Here Pᵢ is the plaintext returned for ciphertext Cᵢ, i identifies their row, and K_secret is the unknown key used by the oracle. The superscript ⁻¹ denotes the inverse of encryption, so the right side is decryption under the secret key. This is the part of the search that relies on access to the secret-key cipher.
Suppose the true key occurs in a particular cell. The corresponding plaintext and ciphertext come from the same secret-key encryption. The definition of the biclique already specifies the state immediately before its interval for that ciphertext and cell. The preceding interval of the cipher must arrive at that same state.
g_{K[i,j]}(Pᵢ) = Sⱼ
Here g is the part of encryption preceding the biclique. The key used for that calculation is K[i,j]. The row index i picks the observed plaintext Pᵢ, and the column index j picks the state Sⱼ. Equality makes the key a candidate consistent with that observation. The biclique condition then supplies the rest of the path to the row’s ciphertext. If the comparison is made on a small part of the state, further checks are needed to confirm the key.
How a biclique organizes the key search
The steps in order.
A matching variable is the value chosen for the internal comparison. It may comprise only a small part of the cipher state. A small variable can cost less to compute because many operations do not feed into it. It also makes accidental agreement more common. The paper accounts for the resulting false positives as additional work. Choosing the comparison point and deciding how much of the state to examine are therefore linked decisions. The cheapest variable to compute may leave too much work to later verification.
In the basic meet-in-the-middle setup, the value calculated from a row’s plaintext is the same for all candidate keys in that row, and the value calculated from the other endpoint is the same for all keys in the corresponding column. The authors express the expected number of matching candidates using the width of the comparison.
expected candidates = 2^(2d − |v|)
Here d is the dimension, v is the matching variable, and |v| is its size in bits. The exponent 2d represents the number of candidate keys per group on a binary logarithmic scale. The subtraction of |v| expresses the reduction associated with requiring agreement on the compared bits. This is an estimate for matches, based on how the compared values behave. A match on selected bits is evidence to check, with weaker force than agreement across the whole remaining computation.
Building a short biclique from changes that stay apart
The efficient short construction starts with a reference calculation under a reference key. A differential describes a difference between calculations, such as how a change in key material or in the starting state affects a later state. A trail describes where the difference travels through operations inside the cipher. The short-biclique construction uses two families of differences with complementary endpoint behavior. One family changes the candidate key and produces a ciphertext difference while keeping the input state fixed. The other changes the input state and candidate key together while keeping the ciphertext fixed.
The distinction between linear and nonlinear operations explains why the two families can sometimes be combined. With bitwise exclusive OR, differences add using that same operation. The AES byte substitutions are nonlinear. If both families change the input to the same substitution, the output difference under their combination may depend on the actual values at that point. Knowing what each change does in isolation then gives insufficient information about what they do together. When the active nonlinear operations are disjoint, each substitution sees at most one family’s change and the linear parts can carry both. An active substitution is one whose input differs between the calculations defining the trail.
The paper describes this as a rectangle property. Starting at a reference state and key, the differences supply independent ways to move from the reference calculation to nearby ones. The fourth corner combines the two movements. The key mathematical claim is that under the independence condition the combined movement obeys the endpoint relation required by the biclique. The right ciphertext offset is paired with the right state offset for every cell. The construction uses relations among computations already defined by candidate keys. The reference calculation serves as an anchor shared by those relations.
f_{K[0,0] ⊕ ΔKᵢ ⊕ ∇Kⱼ}(S₀ ⊕ ∇ⱼ) = C₀ ⊕ Δᵢ
Here K[0,0] is the reference key, S₀ the reference internal state, and C₀ the ciphertext reached from that state under the reference key. The symbol ⊕ denotes bitwise exclusive OR. The offsets ΔKᵢ and ∇Kⱼ are the candidate-key differences for the two families, indexed by row i and column j. The state difference ∇ⱼ identifies the column’s state relative to S₀. The ciphertext difference Δᵢ identifies the row’s ciphertext relative to C₀. The function f is the biclique interval, with the subscript giving the combined candidate key.
That identity explains why a researcher can construct the endpoints from the component families instead of solving a separate key-recovery problem for every cell. The paper bounds the work of obtaining the component differences by 2 · 2^d computations of the biclique interval. The condition about activity is central to the bound’s usefulness. As a trail extends over more rounds, diffusion creates more opportunities for the families to affect the same nonlinear operation. The full-round results use short enough intervals to keep the families apart while representing a group large enough for the rest of the search to benefit.
There is a separate requirement about the arrangement of the keys. Each group must stand for the intended distinct candidates, and the collection of groups must cover the intended key space. The connection equation establishes the validity of the edges. It cannot, by itself, establish that an enumeration visits every key. In the full-round constructions, the authors use invertible relationships between the original key and an appropriate block of expanded key material. That gives them coordinates for specifying base keys and varying candidates while retaining a complete partition. A partition divides the key space into groups without overlap.
Making a longer biclique when trails overlap
The long-biclique approach gives up the separation between active nonlinear operations. That gains room to cover more rounds. It also creates constraints on the values that can support the proposed trails. At an operation reached by both differences, the researchers need values that actually realize the combined pattern. A long biclique is therefore a structure to search for, whereas a suitable pair of independent families gives the short construction a direct guarantee.
The paper describes the long construction in terms of an intermediate region of the biclique interval. A trail from one direction and a trail from the other impose conditions there. Initially a truncated trail records the pattern of differences, such as which positions are active. Specifying concrete differences turns this pattern into constraints on values. The inbound phase seeks values satisfying the conditions where the trails meet. The outbound phase then checks whether those values sustain the differences over the surrounding operations. The reduced-round case studies use small dimensions to keep this problem tractable at the level of the paper’s search estimates.
A useful solution may carry information about more than one key group. The authors look for portions of key material that can vary while leaving the constraints used to find the structure intact. These are called neutral bits or bytes. A change to neutral material can still require updates elsewhere in the computation. Its value is that the expensive constraint-solving step can serve several groups. The cost of the original search can then be distributed over the structures it makes available. This is amortization, and it is essential when the up-front construction would otherwise outweigh the saving during matching.
The study also shows why data control can become difficult in this approach. When the search for a long structure already consumes much of the freedom to choose values, forcing its ciphertexts into a small set adds another condition to satisfy. If the search has sufficient freedom left, the researchers can retain only solutions with a desired ciphertext property. If that freedom is scarce, the structure may yield a favorable computation estimate at the price of many more distinct chosen ciphertexts. The two reduced-round examples illustrate different outcomes of this tradeoff.
Reusing calculations when independence is incomplete
For the independent-biclique results, a short final interval leaves a substantial earlier part of the cipher to check. In that earlier part a matching value may depend on both coordinates of a key. Basic meet-in-the-middle reuse across complete rows and columns is then unavailable for the entire calculation. The authors instead keep reference computations and reuse the portions that are unaffected by the change from a reference key to the candidate in question.
To understand the saving, consider the calculation from one observed plaintext to the matching point. Some intermediate operations have the same inputs under the row’s reference key and under the candidate. Their outputs can be taken from the saved calculation. Elsewhere the change in key material reaches the state, so the computation must reflect the candidate’s values. There is a second limit on the work needed. An operation can change without affecting the selected variable. Only operations both affected by the key change and relevant to the comparison contribute to the recomputation cost.
The same reasoning applies on the other side of the comparison, where the calculation runs backward from the column’s biclique state. The forward and backward paths can have very different costs. The location of a change in the expanded key, how it spreads through the key schedule, and where the matching variable lies all matter. A short path can still touch many relevant substitutions. A longer path can be cheaper for a particular variable if the change reaches fewer of the operations on which that value depends.
The authors distinguish the saved reference computations from the changes made for each cell with an equation for the entire search. It separates the different sources of work within a group and scales them by the number of groups.
C_full = 2^(n − 2d) × (C_biclique + C_precomp + C_recomp + C_falsepos)
Here C_full is the total estimated computational cost, n is the key size in bits, and d is the biclique dimension. The factor 2^(n − 2d) counts the groups in a complete partition. The multiplication sign × applies the per-group costs to that count. C_biclique is the cost of constructing the group’s structure, C_precomp is the cost of computing and retaining the reference paths, C_recomp is the cost of adapting the partial computations to the candidate keys, and C_falsepos is the cost of checking accidental matches. The additions combine costs expressed in a common unit.
For long bicliques, the analogous accounting includes a matching term in place of the separate precomputation and recomputation terms. The long structure is intended to leave an interval that can be handled with the basic form of meeting in the middle. Its construction term can still depend heavily on how much work is shared among structures. For independent bicliques the construction is cheap enough that the paper identifies per-candidate recomputation as the largest term in the full AES cases. The quality of the shortcut depends mainly on how much of a full evaluation that term represents.
Which properties of AES affect the calculation
AES’s data state is 128 bits, arranged as a 4 × 4 matrix of bytes. The operations in a regular round have different roles. SubBytes substitutes each byte through a nonlinear table called an S-box. ShiftRows moves bytes within rows. MixColumns combines the bytes of each column through a linear transformation. AddRoundKey combines the state and a round subkey by exclusive OR. AES also combines the plaintext with key material before the rounds, and its last round omits MixColumns. The key schedule produces the subkeys from the original key and has its own nonlinear operations.
These details matter to different parts of the argument. The substitution layer determines where overlapping differences complicate construction. The row and column operations determine how quickly a difference reaches new substitutions and which parts of the state influence a selected comparison. Omitting MixColumns at the end changes how differences in that interval can spread to the final ciphertext. Backward diffusion in the key schedule can be slow enough that a small change in expanded key material leaves considerable earlier work unchanged. The usefulness of that property depends on the interval and the comparison variable.
The authors count nonlinear work because they regard it as a major contribution to AES evaluation cost. They also examine which linear operations are involved, especially where only some outputs from a column calculation are needed. The reported cost therefore reflects an inventory of dependencies and operations instead of a count of the number of rounds touched. There is no training procedure. The data are plaintext and ciphertext pairs available under the unknown key, and the precomputation is the evaluation of public cipher operations for the candidate groups. The practical work reported in the paper checks selected properties of those operations and selected construction costs.
Experiments and results
What the reported costs measure
The paper evaluates designs for key recovery and compression-function preimage search. The central results are analytical costs. The researchers also verify parts of the designs through computations that are small enough to carry out. There is no benchmark corpus. In key recovery, data complexity refers to plaintext and ciphertext pairs available under the same unknown key. The authors’ procedure obtains the pairs through chosen ciphertexts, with repeated requests avoidable if the pair is already known. Memory complexity concerns retained computations or other stored information, depending on the construction. Workload is expressed in equivalents of calls to the relevant cipher, using the operation accounting described in the paper.
The main baseline for the full-round results is brute-force key search on the same version of AES. Earlier single-key work offers context for the number of rounds reached. The reduced-round results also provide comparisons between constructions on the same version and number of rounds. Reading the computational cost beside the data, memory, and success conditions is necessary to make those comparisons. A less expensive search in equivalent cipher computations can involve more observations or cover less of the key space.
For the full AES results, the designs all use independent bicliques and complete groups of keys. The paper gives their success probability as 1. Three quantities are important here. The total search work measures the cost the paper estimates for the procedure. The data bound measures the size of the set of observations it can need. The success statement describes coverage and recovery under the specified conditions. It comes from the construction and its enumeration of groups, rather than from a frequency of successful full searches.
Chosen-ciphertext data bounds for full-round single-key AES recovery
The full AES-256 construction restricts its ciphertexts to the smallest set.
The numbers
| System or setting | Exponent of two in the plaintext-ciphertext pair bound |
|---|---|
| Full AES-128 | 88 |
| Full AES-192 | 80 |
| Full AES-256 (this paper) | 40 |
The chart compares data bounds across designs for different AES versions. Its lowest value identifies the smallest collection of pairs, alongside a very large computation cost for that version. The bounds follow from restrictions on possible ciphertexts across groups. Fixed bytes and equalities among changing bytes reduce how many different ciphertexts can enter the calculation. That is a distinct source of improvement from reusing intermediate work to save time.
Recovering keys for full AES
For full AES-128, the authors place the biclique in the final 3 rounds and match across the earlier 7 rounds. The biclique has dimension 8. The candidate groups are described in terms of expanded key material that uniquely determines the original key. The resulting partition contains 2^112 groups of 2^16 keys. The differential structure restricts the ciphertexts to a set of at most 2^88. That is the overall data bound for the full key-recovery design, instead of the number of fresh observations required for every group.
The AES-128 recomputation estimate illustrates how the authors translate partial operations into full-cipher equivalents. They report 3.4375 SubBytes operations’ worth of nonlinear work per candidate in the recomputation, or 55 S-box evaluations, together with 2.3125 MixColumns operations’ worth of work. For normalization they use 12.5 SubBytes operations’ worth of nonlinear work for a full AES-128 computation including the key schedule. The reported recomputation cost for a group is 2^14.14 full AES-128 equivalents. Construction and precomputation together take no more than 2^8 full calls in the group accounting. With verification of false positives included, the total is about 2^126.18 full AES-128 computations.
For full AES-192, the biclique spans the last 4 rounds and the comparison spans 8 rounds. The paper describes a partition with 2^176 base keys and 2^16 candidates per group. The design uses an expanded key block to identify candidates, as in the AES-128 case, but the longer key gives the authors different choices about where differences can be introduced and how their effects travel. This lets the construction reserve a longer interval for the biclique while maintaining disjoint nonlinear activity for its two difference families.
The full AES-192 design has an overall chosen-ciphertext bound of 2^80. The authors report 2.8125 SubBytes equivalents for the recomputation per candidate, with 14 as the full-cipher normalization for nonlinear work including the schedule. They give the recomputation term as 2^13.68 full AES-192 equivalents per group. The total reported in the overview and the detailed results prose is about 2^189.74 computations. The parameters table gives 2^189.68. These totals are reported estimates, with a discrepancy that matters when interpreting the displayed precision.
For full AES-256, the final 4 rounds form the biclique interval and the comparison covers the preceding 10 rounds. The partition contains 2^240 groups of 2^16 candidate keys. The paper’s ciphertext restrictions give a bound of 2^40 chosen ciphertexts. The small data requirement in relation to the other full-round designs reflects how the changes in this particular biclique reach the ciphertext and how the affected bytes are related. It does not serve as a measure of the work still needed for each group.
The AES-256 result is about 2^254.42 full AES-256 computations in the overview and detailed results prose. The parameters table gives 2^254.64. The detailed discussion uses 17.25 SubBytes equivalents as the full-cipher normalization. Its description and its arithmetic expression list different amounts of recomputed nonlinear work. As with AES-192, the overview value identifies the headline comparison, while the differing figures limit confidence in its last digits.
For all three full versions, the authors describe the principal memory requirement as retaining 2^8 full computations of the matching portion of the cipher. That unit is a stored calculation, which can contain intermediate values and subkeys. It differs from a byte count. The parameters tables also show memory quantities for individual phases. Reading the memory claim with its unit makes the role of storage clearer. The gain comes from keeping reusable computations for a group, without retaining equivalent information for the entire search.
What changes when the number of rounds is reduced
The results on reduced-round variants let the paper compare techniques where more than one arrangement is possible. For 8-round AES-128, the independent construction gives about 2^125.34 computations, 2^88 data, 2^8 memory, and success probability 1. By contrast, the long-biclique approach covers 5 rounds with a biclique of dimension 1. Its small key groups are easy to describe as connections between endpoints. The challenge is finding enough valid instances of the longer structure and accounting for how well those instances cover the possible key groups.
In the long-biclique AES-128 construction, the authors generate key groups adaptively. The procedure can produce the same group more than once, so generating as many structures as there are groups would not prove complete coverage. The paper estimates a coverage proportion of 63% using equal chances for individual groups. The detailed discussion also describes a variant taking 2^124.3 time with 2^126.33 chosen ciphertexts at an estimated success probability of 63%. The resulting workload-to-success ratio is 2^124.97. The lower normalized workload comes with a much larger data requirement than the independent construction.
For 9-round AES-192, the independent construction is reported at about 2^188.8 computations, with 2^80 data, 2^8 memory, and success probability 1. For 9-round AES-256, the independent result is 2^251.92 computations, with 2^120 data, 2^8 memory, and success probability 1. These estimates use the relevant reduced-round cipher when discussing workload. They cannot be read as a reduction in the amount of work needed for the full version, since the underlying transformations have different lengths.
The long-biclique design for 9-round AES-256 gives another result for the same reduced-round target. The paper estimates 2^253.1 computations and 2^120 data, with success probability 1. The authors can constrain the ciphertexts in this case and generate sufficiently many usable structures to cover the key groups. Their workload includes the cost of creating new structures from an existing one and of matching states across the earlier part of the cipher. The comparison with the independent design holds the version and round count fixed.
Key-recovery work for long and independent bicliques on 9-round AES-256
Independent bicliques have the lower estimated workload at the stated data and success conditions.
The numbers
| System or setting | Exponent of two in equivalent 9-round AES-256 computations |
|---|---|
| Long bicliques | 253.1 |
| Independent bicliques (this paper) | 251.92 |
The comparison illustrates why biclique length is an intermediate design choice. The long construction makes a larger part of the cipher conform to the biclique. That can simplify the remaining match, while imposing a search and amortization cost of its own. Here, accounting for the whole procedure gives the independent construction the lower workload. The corresponding 8-round AES-128 results demonstrate that a favorable comparison in work can also come with a different data bound and success condition.
Searching for compression-function preimages
The paper separately studies compression functions that use full AES. The objective is a preimage, an input to the compression function that yields a specified output. The function combines AES with other input material according to a specified mode. The AES-128 example uses Miyaguchi-Preneel. The AES-192 and AES-256 examples use Davies-Meyer. The estimates concern those compression functions and their input-output relationships.
The reported workload is 2^125.83 computations for the full AES-128 compression function, 2^125.71 for the full AES-192 compression function, and 2^126.35 for the full AES-256 compression function. The table gives memory as 2^8 for each and a success rate of 0.632. The detailed prose gives the success probability as about 0.6321. The biclique lengths are 3 rounds for the AES-128 case and 4 rounds for the other cases. The comparison is between the reported constructions under their respective compression-function settings. In particular, the AES-192 preimage workload and the AES-192 key-recovery workload express the cost of solving different problems.
Estimated work for preimages in compression functions built from full AES
The AES-192 Davies-Meyer construction has the lowest reported preimage workload of the studied settings.
The numbers
| System or setting | Exponent of two in the reported computation count |
|---|---|
| AES-128 Miyaguchi-Preneel | 125.83 |
| AES-192 Davies-Meyer (this paper) | 125.71 |
| AES-256 Davies-Meyer | 126.35 |
The preimage estimates illustrate how the structure can be adapted when AES is used as a component in a different task. In key recovery the connection to the outside of the cipher comes from observations under a fixed secret key. A preimage problem starts with a target value of the compression function and concerns the inputs that could produce it. The design and success conditions must be read with that change of objective in mind.
What the ablations show
The paper has no formal ablation series. It offers comparisons between biclique constructions, counts of operations saved by particular structural choices, and checks of specific assumptions about the behavior of differences. These analyses show where the estimated work comes from and where an independence or coverage claim needs separate scrutiny.
Length makes sense only together with construction cost
The comparison on 9-round AES-256 comes closest to a controlled comparison of the two approaches. Both designs address the same reduced-round cipher, report the same data bound, and have success probability 1. The independent construction is cheaper in the paper’s computation metric. This gives evidence about the complete designs, including their different group sizes and methods of matching. Since those choices change together, the comparison cannot isolate length as a single cause of the difference.
The long construction does make good on one intended benefit. An initial biclique is expensive to find, but the authors identify neutral material that lets them reuse the result across many groups. In this example they report 136 neutral bits. A change to those bits can preserve the conditions that made the expensive construction possible while still requiring some updates to the computed values. The relevant contrast is between the initial search for a structure and its amortized use. The cost of finding one instance in isolation would misrepresent the cost the authors attribute to a group when the method is applied at scale.
The long AES-128 example shows a different issue. Additional freedom helps generate structures, yet adaptive choices can produce repeats in the group enumeration. Keeping a record of the groups would affect the memory cost. Reporting a workload normalized by success is the authors’ way of expressing the tradeoff when the search can leave some groups uncovered. A reader comparing the two AES-128 designs has to track what the work figure buys in probability of recovery and how much chosen data it requires.
The placement of a change affects the work in each direction
The detailed operation counts show where the independent construction saves work. For AES-192, the authors explain that a particular choice of difference gives six substitutions to recompute at one backward stage where the design would otherwise require eight. This comparison is local to one portion of one computation. Its importance is that a count based on rounds alone would miss it. The round still participates in the comparison under every candidate. Its contribution becomes smaller because the design changes which byte substitutions need new values.
The forward and backward counts also differ within a design. The AES-192 parameters table lists 1.1875 SubBytes equivalents forward and 1.625 backward. The AES-256 table gives 0.625 forward and 4.8125 backward. These figures describe the work the authors assign to the two directional parts of recomputation. Even though each part ends at the same matching variable, it reaches that variable from a different endpoint with a different pattern of changes in key and state. Counting either direction as some fixed share of the interval would lose the asymmetry.
For full AES-128, the authors separately examine the nonlinear work in the state and in the key schedule, as well as the work in MixColumns. Matching on a selected byte limits which paths matter. Slow propagation of a key change allows some values along those paths to be reused. These are distinct reasons an operation can drop out of the recomputation count. An operation may receive unchanged inputs, or its output may be irrelevant to the selected comparison. The workload estimate depends on tracing both properties.
The data results can be explained in a similarly local way. The paper derives bounds by looking at how differences reach the ciphertext and what restrictions across bytes remain. Some bytes can stay fixed across an entire family of ciphertexts. Other bytes can change together in ways that limit the number of possible outputs. Full AES-256 offers the most restrictive ciphertext set among the full versions studied, even though its matching calculation covers the longest span. In these designs, the size of the chosen-ciphertext set and the work per candidate are governed by different dependencies.
What the practical checks establish
The authors verify truncated difference propagation through the key schedules for 8-round and 10-round AES-128 and for 9-round AES-256. These checks concern which positions can carry a non-zero change. The resulting patterns matter for locating disjoint activity and identifying work that would have to be repeated. A wrong pattern could undermine a construction or its estimated workload before the question of a full search even arose.
The researchers also implement the long-biclique construction used in the AES-256 example. They report using it to verify the complexity estimate for that component, and they give a concrete instance of the resulting structure. This is evidence that the most technically demanding part of that design can be instantiated as described. Evidence about the cost of producing a structure is different from an observed runtime for sweeping the whole key space. The full workload still comes from composing and scaling the component costs.
In the long constructions, the authors check distributions of differences for a group of AES operations treated together as a super-box. They report behavior sufficiently close to random where their construction uses such estimates, alongside some observed departures from randomness. They also confirm that certain difference guesses in the AES-256 analysis have to agree because the linear mixing ties their propagation together. These checks sharpen the argument about which conditions can be counted independently. The short construction’s disjoint-activity guarantee avoids this particular reliance on distributional behavior in overlapping nonlinear operations.
Limitations
Limits the authors state
The authors describe the full searches as computationally infeasible. The gain they claim is measured against the workload of exhaustive search, which is itself extremely large. Expressing a workload as a power of two can make a change in the exponent easy to locate while obscuring the scale of the remaining computation. The paper’s factor of about 3 to 5 for full AES is a meaningful change to the theoretical comparison. The work estimates remain too large to make the method a practical threat to the use of AES.
The authors also identify tradeoffs in the use of length and dimension. Making an independent biclique longer is constrained by diffusion, because the two families must continue to avoid sharing active nonlinear operations. A long biclique can accommodate overlap, but finding and reusing solutions becomes more expensive and may leave little freedom to restrict the ciphertexts. The paper regards fast diffusion as a serious obstacle to constructing a biclique that is both long and high-dimensional.
The practical verification is explicitly partial. The authors distinguish checking a propagation pattern, building an example structure, and estimating the work of a component from performing a complete search. They also distinguish the full AES designs, whose groups cover the key space, from the adaptive construction for reduced AES-128, where they estimate coverage. Their argument for the long designs uses conservative cost choices where they say a precise estimate is harder to justify. Which assumptions enter the comparison depends on the design being read.
Memory and data also depend on the construction. Independent bicliques can give the researcher room to restrict the chosen ciphertexts, and the authors discuss giving up some of the computational advantage to obtain a smaller data requirement. A good time estimate on its own establishes little about the difficulty of obtaining those pairs. The paper’s attacks work under the specified single-key oracle access, with the same secret key used throughout.
Several extensions remain open in the authors’ discussion. They suggest examining other block ciphers, allowing graphs in which some of the state-to-ciphertext connections are absent, and looking for generic ways to exploit partial codebooks or available memory. A codebook is the collection of all paired plaintexts and ciphertexts under a key. Relaxing the requirement that every edge exist changes how many keys a structure can represent and can change the balance among data, coverage, and work. The paper presents that as a direction of inquiry.
Limits that follow from the evaluation
The reported workloads depend on a normalization. S-box costs receive much of the attention because the authors regard nonlinear operations as a major contributor to the cost of AES. The work also includes linear operations, handling saved values, and later checks of candidates. A cost in full-cipher equivalents provides a comparison under the paper’s accounting. Actual elapsed time would also depend on the implementation of both the shortcut and the brute-force baseline, including the cost of accessing intermediate values. The authors expect faster AES implementations to help biclique computations as well. The paper offers no complete timing comparison that fixes the practical size of that effect.
The different AES-192 and AES-256 totals within the paper limit the precision of a claim based on the last decimal places. For AES-192 the detailed cost expression uses a group multiplier of 2^172, while the partition discussion specifies 2^176 base keys. The total in the parameters table also differs from the overview and detailed prose. For AES-256 the text gives 5.4375 SubBytes equivalents for the nonlinear recomputation, whereas the displayed cost expression uses 5.625. Its parameters table and overview give different total workloads as well. The headline values identify the authors’ reported overall comparisons. The internal discrepancies prevent treating the individual printed expressions as a single consistent derivation of those values.
The meaning of success also depends on the case. A complete partition gives a reason that the actual key is visited, assuming the specified observations and correctness of the computations. A partial-coverage estimate depends on how the groups are produced and on the chance that the true key belongs to a group reached by the search. For a compression-function preimage, the event is the discovery of an input for a target output. Comparing any of those success statements directly with the others would lose the assumptions behind the probability and the objective it describes.
The full AES designs also tell us about properties of specific intervals. Disjoint differential activity in the biclique region establishes a construction there. Limited diffusion in computations feeding into a selected comparison establishes opportunities for reuse in another region. Together, these make the whole search less costly under the paper’s accounting. They give no general estimate for how the method will behave on a different cipher, where the intervals and dependencies may be different. The success of the arrangement is evidence about the interplay of AES’s round transformation and key schedule at the particular cuts the researchers study.
Finally, the preimage results are bounded by the functions whose outputs and inputs the paper studies. Incorporating a block cipher into a compression function creates a distinct problem with its own success condition. A reported preimage workload for one such construction cannot be transferred to an unspecified larger hashing scheme. That conclusion would require an argument about how the compression function is used, what output is being targeted, and how a local preimage would satisfy the larger objective.
What came after
Quantum algorithms: A survey of applications and end-to-end complexities cites the biclique paper. The survey’s stated subject is quantum algorithms, their applications, and end-to-end complexity. The documented connection is the citation. It does not establish that the survey adapts biclique construction to quantum computation, improves the AES workload estimates, or reports another key-recovery result.
An end-to-end complexity question is already present in the classical paper. Lowering the cost of the innermost calculation matters only after accounting for the work of constructing its inputs, obtaining observations, retaining intermediate values, and verifying candidates. The full AES results are expressed relative to a computational baseline under particular data and access conditions. A later result in a different computational setting would need to identify its own baseline and explain how those costs and conditions carry over before the two estimates could be compared.
Cite
Cite as Andrey Bogdanov, Dmitry Khovratovich and Christian Rechberger. 2011. Biclique Cryptanalysis of the Full AES. Lecture notes in computer science.
@inproceedings{bogdanov2011biclique,
title = {{Biclique Cryptanalysis of the Full AES}},
author = {Andrey Bogdanov, Dmitry Khovratovich and Christian Rechberger},
booktitle = {Lecture notes in computer science},
year = {2011},
doi = {10.1007/978-3-642-25385-0\_19},
url = {https://doi.org/10.1007/978-3-642-25385-0_19}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/bogdanov-2011-biclique-cryptanalysis-full-aes/