change sha1_chunk_prep process to 32 bits input and output
change sha1_chunk_prep process to 32 bits input and output