Your mission
Fill out with the chained blocks, each one folded into the value before it.
today's brief
Buenos Aires, September 2011. Thai Duong and Juliano Rizzo run BEAST against a live PayPal session on stage and pull the cookie out one byte at a time. TLS 1.0 chained its blocks straight across records, so the starting value for your next record was the last block of the one an eavesdropper had already watched go past. TLS 1.1 had fixed that in 2006 and almost nobody had switched. Build the chain and see it.
See it in action
chain(out, {1,1,1}, 3, 0)1 2 3chain(out, {200,200}, 2, 100)44 244chain(out, {0,0,0}, 3, 5)5 5 5
Your checklist
Constraints
- Expected file
chain.c- Allowed functions
- None. Write every helper yourself.
