-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P5
-
Affects Version/s: 7
-
Component/s: security-libs
-
b62
-
generic
-
generic
DigestMD5Base.setParityBit and Des3DkCrypto.setParityBit should use the Integer.bitCount method, as e.g. DESKeyGenerator.setParityBit does. The implementation would be much cleaner and faster, especially with HS15 on newer CPUs that implement a population count instruction (see 6378821).
- relates to
-
JDK-6378821 bitCount() should use POPC on SPARC processors and AMD+10h
-
- Closed
-