]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - cmd/Kconfig
Kconfig: Finish migration of hashing commands
[people/ms/u-boot.git] / cmd / Kconfig
index 5ee52f62cc140a4419bed705c8c46e08dfe387d4..6f75b86e255626ebc7a86052f4e8fe3d76f4300d 100644 (file)
@@ -355,6 +355,12 @@ config CMD_CRC32
        help
          Compute CRC32.
 
+config CRC32_VERIFY
+       bool "crc32 -v"
+       depends on CMD_CRC32
+       help
+         Add -v option to verify data against a crc32 checksum.
+
 config CMD_EEPROM
        bool "eeprom - EEPROM subsystem"
        help
@@ -410,13 +416,25 @@ config CMD_MD5SUM
        help
          Compute MD5 checksum.
 
-config MD5SUM_VERFIY
+config MD5SUM_VERIFY
        bool "md5sum -v"
        default n
        depends on CMD_MD5SUM
        help
          Add -v option to verify data against an MD5 checksum.
 
+config CMD_SHA1SUM
+       bool "sha1sum"
+       select SHA1
+       help
+         Compute SHA1 checksum.
+
+config SHA1SUM_VERIFY
+       bool "sha1sum -v"
+       depends on CMD_SHA1SUM
+       help
+         Add -v option to verify data against a SHA1 checksum.
+
 config LOOPW
        bool "loopw"
        help
@@ -1068,6 +1086,12 @@ config CMD_HASH
          saved to memory or to an environment variable. It is also possible
          to verify a hash against data in memory.
 
+config HASH_VERIFY
+       bool "hash -v"
+       depends on CMD_HASH
+       help
+         Add -v option to verify data against a hash.
+
 config CMD_TPM
        bool "Enable the 'tpm' command"
        depends on TPM