6439285 kernel des3 fails to return corrected key when all 3 parts of the key are identical (fix export source build)
--- a/usr/src/common/crypto/des/des_impl.c Thu Jul 27 03:07:55 2006 -0700
+++ b/usr/src/common/crypto/des/des_impl.c Thu Jul 27 08:28:38 2006 -0700
@@ -768,6 +768,7 @@
void
des_parity_fix(uint8_t *key, des_strength_t strength, uint8_t *corrected_key)
{
+/* EXPORT DELETE START */
uint64_t aligned_key[DES3_KEYSIZE / sizeof (uint64_t)];
uint8_t *paritied_key;
uint64_t key_so_far;
@@ -805,6 +806,7 @@
}
bcopy(paritied_key, corrected_key, DES_KEYSIZE * strength);
+/* EXPORT DELETE END */
}