[c] Copy md5 implementation.