std: Constify the bytes sent to Sha1::input

We are of course never going to modify the data, and this change allows us to
accept data from to_bytes::IterBytes types.
remove apparently-superfluous extra parens from types