E4: the lookup-table artifact

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

0.2514166425610241416642561024targets uρOnline time only: targets u 1, ρ 565Online time only: targets u 4, ρ 549Online time only: targets u 16, ρ 500Online time only: targets u 64, ρ 555Online time only: targets u 256, ρ 518Online time only: targets u 1024, ρ 504Table cost counted: targets u 1, ρ 0.55Table cost counted: targets u 4, ρ 2.13Table cost counted: targets u 16, ρ 7.68Table cost counted: targets u 64, ρ 32.67Table cost counted: targets u 256, ρ 103.65Table cost counted: targets u 1024, ρ 252.05Matched baseline: targets u 1, ρ 1Matched baseline: targets u 4, ρ 1Matched baseline: targets u 16, ρ 1Matched baseline: targets u 64, ρ 1Matched baseline: targets u 256, ρ 1Matched baseline: targets u 1024, ρ 1Online time onlyTable cost countedMatched baseline
E4. Apparent advantage ρ of a precomputed table over a declared set of 1,024 keys, against the number of targets, on logarithmic scales. Counting only online time shows a large advantage for plain listing. Counting the table's cost removes it for one target but not for many. Only the matched baseline, which may use the same table, yields ρ = 1 throughout.

Toy group: order-q subgroup of Z_p^*, q = 16777259 (about 2^24). A random set S of M scalars is declared in advance. The table attack computes the public value of every member once (M units) and then recovers each target with one lookup. The plain attacker lists S afresh for every target; its cost is measured as a mean over at least 64 targets (seed 4). Targets are uniform on S.

Three ways to state the advantage of the table attack over listing, for u targets:

M = 2^10

targets u listing per target table attack per target rho, online only rho, cost counted rho, matched baseline
1 565 1025.0 565 0.55 1.00
4 549 257.0 549 2.13 1.00
16 500 65.0 500 7.68 1.00
64 555 17.0 555 32.67 1.00
256 518 5.0 518 103.65 1.00
1024 504 2.0 504 252.05 1.00

M = 2^12

targets u listing per target table attack per target rho, online only rho, cost counted rho, matched baseline
1 1980 4097.0 1980 0.48 1.00
4 2164 1025.0 2164 2.11 1.00
16 2201 257.0 2201 8.57 1.00
64 2009 65.0 2009 30.91 1.00
256 2096 17.0 2096 123.29 1.00
1024 2090 5.0 2090 418.01 1.00

Result

Consequence for the criteria: taxonomy/classification.md I.2 already requires that the baselines get the same precomputation, memory and number of targets. That clause is the one doing the work. The wording "its cost is counted" must not be read as sufficient.