Import of libmd SHA256
I brought in libmd SHA256 support from FreeBSD to help with a build
issue. The attached patch is a simple import with minimal changes and
passes the "make test" built-in diagnostics.