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

Add comment to explain an HKDF optimization in SSLSecretDerivation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 18
    • Component/s: security-libs
    • Labels:
      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

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

                Dates

                Created:
                Updated:
                Resolved: