RFR: 8258588: MD5 MessageDigest in java.util.UUID should be cached

PROgrm_JARvis github.com+7693005+jarviscraft at openjdk.java.net
Wed Feb 10 14:10:39 UTC 2021


On Thu, 7 Jan 2021 17:09:14 GMT, Claes Redestad <redestad at openjdk.org> wrote:

>> Hi Claes,
>> Would flattening the state of MD5 bring any further improvements?
>> https://github.com/plevart/jdk/commit/92bf48ff58f0ce9648e49466dbf1befebbf49083
>
>> Hi Claes,
>> Would flattening the state of MD5 bring any further improvements?
>> [plevart at 92bf48f](https://github.com/plevart/jdk/commit/92bf48ff58f0ce9648e49466dbf1befebbf49083)
> 
> I think it might, marginally, but it seemed to me that the implCompress0 MD5 intrinsic is using `state` so I've not tried that yet since rewriting and checking the intrinsic code is a lot of work. (I've blogged about my experiments in this area and mentioned this issue in passing: https://cl4es.github.io/2021/01/04/Investigating-MD5-Overheads.html#accidental-constraints)

> 
> 
> @JarvisCraft This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

-------------

PR: https://git.openjdk.java.net/jdk/pull/1821


More information about the security-dev mailing list