diff --git a/crypto/hash-speedtest.c b/crypto/hash-speedtest.c index c3f6bbc8..1425946c 100644 --- a/crypto/hash-speedtest.c +++ b/crypto/hash-speedtest.c @@ -1,6 +1,7 @@ #include "../kerncompat.h" #include "crypto/hash.h" #include "crypto/crc32c.h" +#include "crypto/sha.h" #ifndef __x86_64__ #error "Only x86_64 supported" @@ -60,6 +61,7 @@ int main(int argc, char **argv) { { .name = "NULL-MEMCPY", .digest = hash_null_memcpy, .digest_size = 32 }, { .name = "CRC32C", .digest = hash_crc32c, .digest_size = 4 }, { .name = "XXHASH", .digest = hash_xxhash, .digest_size = 8 }, + { .name = "SHA256", .digest = hash_sha256, .digest_size = 32 }, }; if (argc > 1) {