Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8241960

The SHA3 message digests impl of SUN provider are not thread safe after cloned

    XMLWordPrintable

    Details

      Backports

        Description

        The SHA3 message digests implemented in SUN provider are not thread-safe when cloned.
        The digest value calculated incorrectly, in case of SHA3 message digest object is cloned and hash value for original and cloned objects are calculated in parallel.
        The problem is in the SHA3.lanes buffer. It becomes shared between original and cloned object.

        This issue does not happen with other message digests.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                abakhtin Alexey Bakhtin
                Reporter:
                abakhtin Alexey Bakhtin
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: