Each SHA-256 small sigma needs 31 clean operand bits when one source CNOT can be used and undone before the next addition
A serial reversible SHA-256 schedule adder takes 32 operand bits at once. Allow one CNOT to change a source bit during each small-sigma preparation and undo it after the addition. Each small sigma then needs exactly 31 clean operand bits. Both circuits form the operand in three CNOT layers. They use 354 CNOTs per expansion step for formation and cleanup together. Direct preparation on 32 clean bits uses 358. We prove the scratch and depth bounds and give exact gate counts for direct accumulation with flexible or fixed timing of the source write. Gate replay checks all 48 schedule updates and their inverse. The bounds apply to operand formation in this interface.
SHA-256 · message schedule · reversible circuit · clean scratch · CNOT
Votes
Add voteNo votes to show.