I don't think you compiled a ramdisk. The ramdisk users distrib/special/md5 to build a binary with fewer included components, otherwise it won't fit on the media.
At least this isn't right: #endif /* !defined(SHA2_ONLY) */ SHA2_CTX sha2; + SHA3_CTX sha3; You can inspect the Makefile there and make the SHA2_ONLY #ifdefs work right.