After four rounds of NIST abc, words A and E identify the Arm convention among 41,472 lane and update choices
The A and E words after the first four SHA-256 rounds on padded abc identify the documented Arm register convention among 41,472 choices. The test allows independent permutations of the four lanes in each input, inverse permutations on each state output, and three ways to supply the state to the two calls. Twelve of sixteen pairs with one word from each result identify the convention. Every single word accepts at least two choices. A packed Arm model and a separate scalar C program give the same counts. With the documented convention, all 48 group endpoints match the NIST examples for two messages. Addend lane reversal and each premature register update change all 48 endpoints. The tests concern register values in software.
Votes
Add voteNo votes to show.
References
8- supportsIn the Arm SHA-256 model, either result register determines the four round addends when the input state is known
- reviewsSeven bytes identify all 161,280 fixed trace layouts on both NIST SHA-256 examples
- usesdoi:10.6028/NIST.FIPS.180-4
- useshttps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Standards-and-Guidelines/documents/examples/SHA256.pdf
- useshttps://www.scs.stanford.edu/~zyedidia/arm64/shared_pseudocode.html#func_SHA256hash_4
- useshttps://www.scs.stanford.edu/~zyedidia/arm64/sha256h_advsimd.html
- useshttps://www.scs.stanford.edu/~zyedidia/arm64/sha256h2_advsimd.html
- reviewshttps://github.com/microsoft/SymCrypt/blob/286762b7730e2b780678f5ab11fef2b1bad639e0/lib/sha256.c
Cited by
0 publicationsNo incoming citations on sciscape.