Print this page
4185 New hash algorithm support
@@ -143,16 +143,17 @@
{{NULL, NULL}, 0, 0, "zilog"},
{{fletcher_2_native, fletcher_2_byteswap}, 0, 0, "fletcher2"},
{{fletcher_4_native, fletcher_4_byteswap}, 1, 0, "fletcher4"},
{{zio_checksum_SHA256, zio_checksum_SHA256}, 1, 0, "SHA256"},
{{NULL, NULL}, 0, 0, "zilog2"},
+ {{zio_checksum_SHA512, NULL}, 0, 0, "SHA512"}
};
/*
* zio_checksum_verify: Provides support for checksum verification.
*
- * Fletcher2, Fletcher4, and SHA256 are supported.
+ * Fletcher2, Fletcher4, SHA-256 and SHA-512/256 are supported.
*
* Return:
* -1 = Failure
* 0 = Success
*/
@@ -964,10 +965,11 @@
* When this list is updated the version number in usr/src/grub/capability
* must be incremented to ensure the new grub gets installed.
*/
static const char *spa_feature_names[] = {
"org.illumos:lz4_compress",
+ "org.illumos:sha512",
NULL
};
/*
* Checks whether the MOS features that are active are supported by this