6439285 kernel des3 fails to return corrected key when all 3 parts of the key are identical (fix export source build)
authorizick
Thu, 27 Jul 2006 08:28:38 -0700
changeset 2452 9691923b0690
parent 2451 fce8fdcdc9aa
child 2453 ac69485b8521
6439285 kernel des3 fails to return corrected key when all 3 parts of the key are identical (fix export source build)
usr/src/common/crypto/des/des_impl.c
--- 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 */
 }