Add GFNI affine parity generation for RAID polynomial

This commit is contained in:
Andrea Mazzoleni 2026-08-19 17:59:02 +02:00
parent 711ccba629
commit c34cfe24da
11 changed files with 805 additions and 28 deletions

View file

@ -1151,6 +1151,12 @@ void selftest(void)
exit(EXIT_FAILURE);
/* LCOV_EXCL_STOP */
}
if (raid_test_gfaffine() != 0) {
/* LCOV_EXCL_START */
log_fatal(EINTERNAL, "Failed GFNI AFFINE test\n");
exit(EXIT_FAILURE);
/* LCOV_EXCL_STOP */
}
if (raid_test_par(RAID_MODE_VANDERMONDE_RAID, 32, 256) != 0) {
/* LCOV_EXCL_START */
log_fatal(EINTERNAL, "Failed GEN Vandermonde RAID test\n");