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

Add comment to explain an HKDF optimization in SSLSecretDerivation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • None
    • security-libs
    • None

      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...

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

              Created:
              Updated:
              Resolved: