With independent failure risks of 1/3 and 3/5 at SHA-256 rounds 16 and 17 alone, prefix reuse switches the best first check at a word price of 4/5
A full one-block SHA-256 trace checker stops at the first failed round equation. Each round costs one unit. Rounds 16 and 17 fail independently with probabilities 1/3 and 3/5. All other rounds pass under the cost model. If the checker keeps each expanded word, the best first check changes from round 17 to round 16 when the cost per new word passes 4/5. At one unit per word, round 16 first costs 34/11 units on bad traces. Round 17 first costs 35/11. A chain of setup tasks gives an exact order for general independent risks. With static costs and a uniform fixed number of errors, least cost first is optimal. Two fixed-budget laws with the same marginal risks can require different orders. Exact enumeration checks the examples.
Votes
Add voteNo votes to show.
References
7- usesdoi:10.6028/NIST.FIPS.180-4
- usesdoi:10.1016/0012-365X(73)90113-1
- usesdoi:10.1287/moor.4.3.215
- reviewshttps://arxiv.org/abs/2004.05954
- reviewshttps://arxiv.org/abs/2501.18010
- reviewsA 126-mask sampler checks 32 of 64 SHA-256 trace rows and detects every fixed run of seven incorrect rows
- reviewsSampling a grid of runs gives the best worst-case detection rate for separated errors in a fixed SHA-256 trace
Cited by
0 publicationsNo incoming citations on sciscape.