E3: structural advantage of intervals and arbitrary sets

Generated by python3 tools/experiments/e3_structural_advantage.py. Never edit by hand.

0.512481632642⁴2⁸2¹²2¹⁶2²⁰set size Mρgeneric attack caps the baselineInterval: set size M 16, ρ 1.3Interval: set size M 64, ρ 2.6Interval: set size M 256, ρ 5.3Interval: set size M 1024, ρ 10.6Interval: set size M 4096, ρ 21.6Interval: set size M 16384, ρ 33Interval: set size M 65536, ρ 16.4Interval: set size M 262144, ρ 8.2Interval: set size M 1.04858e+06, ρ 4.1Arbitrary set: set size M 16, ρ 1.06Arbitrary set: set size M 64, ρ 0.92Arbitrary set: set size M 256, ρ 1.05Arbitrary set: set size M 1024, ρ 1.02Arbitrary set: set size M 4096, ρ 1.01Arbitrary set: set size M 16384, ρ 1IntervalArbitrary set
E3. Structural advantage ρ against the size of the declared set, both on logarithmic scales. For intervals ρ grows as the square root of M until listing costs more than the generic attack, then falls. For arbitrary sets it stays at 1. Arbitrary sets were measured up to 214.

Toy group: order-q subgroup of Z_p^*, p = 33554519, q = 16777259 (about 2^24). Costs are mean group multiplications over random targets uniform on the set (seed 3); one exponentiation in a listing is charged as one unit. The generic attack is baby-step giant-step over the whole group: mean 6272, worst 8151. \(\rho\) = min(listing, generic) / attack cost, as in taxonomy/classification.md I.2.

set size M listing baseline is interval attack, mean worst rho, interval sigma (bits) arbitrary set, listing rho, arbitrary
2^4 8 listing 6 8 1.3 0.4 8 1.06
2^6 32 listing 13 16 2.6 1.4 35 0.92
2^8 128 listing 24 32 5.3 2.4 122 1.05
2^10 512 listing 48 64 10.6 3.4 503 1.02
2^12 2048 listing 95 128 21.6 4.4 2028 1.01
2^14 8192 generic 190 256 33.0 5.0 8350 1.00
2^16 32768 generic 382 510 16.4 4.0 not run -
2^18 131072 generic 765 1022 8.2 3.0 not run -
2^20 524288 generic 1529 2046 4.1 2.0 not run -

Intervals start at a random offset, not at 1. Arbitrary sets are random samples of the group; listing them is the best method implemented, and the attacker may fall back on the generic attack when that is cheaper.

Result

Limit: this measures the methods implemented. It does not show that no faster attack on arbitrary subsets exists (I.1, best-known costs).