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

Add comment to explain an HKDF optimization in SSLSecretDerivation

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 18
    • security-libs
    • None

    Description

      While reading this code, it wasn't clear why this optimization was here. Add a couple lines for the next reader.

          private static final byte[] sha256EmptyDigest = new byte[] {
          ...deleted...
          private static final byte[] sha384EmptyDigest = new byte[] {
          ...deleted...

      Attachments

        Issue Links

          Activity

            People

              wetmore Bradford Wetmore
              wetmore Bradford Wetmore
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: