I think this should be a buffer of the message hash instead of the message itself. Should rename to `hashbuf`. 