diff --git a/cmd/Kconfig b/cmd/Kconfig index ef5315631476f652a8d2ccb322539e1cd4231f45..25e3b783a87fcb51c6ccca4ea547cf5264824b6b 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -338,6 +338,20 @@ config CMD_CRC32 help Compute CRC32. +config CMD_MD5SUM + bool "md5sum" + default n + select MD5 + help + Compute MD5 checksum. + +config MD5SUM_VERFIY + bool "md5sum -v" + default n + depends on CMD_MD5SUM + help + Add -v option to verify data against an MD5 checksum. + config LOOPW bool "loopw" help diff --git a/lib/Kconfig b/lib/Kconfig index b16062fbe33364204efc8a06ca9b68597281ef70..65c01573e194e13b0d4a9c64923c840525782312 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -101,6 +101,10 @@ config SHA_PROG_HW_ACCEL SHA1/SHA256 progressive hashing. Data can be streamed in a block at a time and the hashing is performed in hardware. + +config MD5 + bool + endmenu menu "Compression Support"