fix up checksum.rs and ecdsa.rs