On Thu, 18 Feb 2021 11:08:06 GMT, Valerie Peng <valer...@openjdk.org> wrote:
>> Weijun Wang has updated the pull request incrementally with one additional >> commit since the last revision: >> >> materials > > src/java.base/share/classes/com/sun/crypto/provider/TlsKeyMaterialGenerator.java > line 261: > >> 259: md5.update(clientRandom); >> 260: md5.update(serverRandom); >> 261: digest = md5.digest(); > > In other Tls* sources, you call MessageDigest.reset() but not here? > Particular reason? I usually call it when the last updated bytes are sensitive. They will stay in the buffer. ------------- PR: https://git.openjdk.java.net/jdk/pull/2070