Add Linus' optimized sha1 hash for checksum
It does appear to be pretty fast.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/options.c b/options.c
index b7262a7..ef20c24 100644
--- a/options.c
+++ b/options.c
@@ -1206,6 +1206,10 @@
.oval = VERIFY_CRC7,
.help = "Use crc7 checksums for verification",
},
+ { .ival = "sha1",
+ .oval = VERIFY_SHA1,
+ .help = "Use sha1 checksums for verification",
+ },
{ .ival = "sha256",
.oval = VERIFY_SHA256,
.help = "Use sha256 checksums for verification",