correct the cs1a hmac inputs to match the spec
misc notes/stubs