[security-dev 00571]: Re: inefficient Des3DkCrypto/DigestMD5Base.setParityBit()

Brad Wetmore Bradford.Wetmore at Sun.COM
Tue Feb 17 18:30:42 UTC 2009


You'd want to talk to Max (Weijun) as he has primary responsibility for 
the Kerberos code, but so far it sounds very reasonable to me.

Looks like you are setup in the SCA database, it would be best to 
discuss it here with Max and others that would be interested, and if you 
develop a patch, please file it in the new bugzilla instance. 
http://bugs.openjdk.java.net

Thanks, good luck!

Brad


Christian Thalinger wrote:
> [I was told on core-libs-dev that I should probably send this one to
> this list.]
> 
> 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
> 



More information about the security-dev mailing list