inefficient Des3DkCrypto/DigestMD5Base.setParityBit()
Alan Bateman
Alan.Bateman at Sun.COM
Tue Feb 17 15:18:55 UTC 2009
Christian Thalinger wrote:
> Hi!
>
> While looking at the bitCount() thing I mentioned in the other thread, I
> noticed that Des3DkCrypto and DigestMD5Base are using a very inefficient
> implementation of setParityBit(). The one from DESKeyGenerator is much
> better and uses Integer.bitCount(), which could benefit from a
> population-count intrinsic.
>
> Should I file a CR or even propose a patch?
>
> -- Christian
>
I don't know if the security folks on this mailing list so it might be
better to send it to security-dev.
-Alan.
More information about the core-libs-dev
mailing list