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

Enhance SunJCE provider to support SHA-3 based Hmac algorithms

    XMLWordPrintable

    Details

    • Type: CSR
    • Status: Closed
    • Priority: P3
    • Resolution: Approved
    • Fix Version/s: 15
    • Component/s: security-libs
    • Labels:
      None
    • Subcomponent:
    • Compatibility Kind:
      behavioral
    • Compatibility Risk:
      minimal
    • Compatibility Risk Description:
      No impact to existing applications as the new impls are registered under their own names.
    • Interface Kind:
      Other
    • Scope:
      SE

      Description

      Summary

      Enhance SunJCE provider to support SHA-3 based Hmac algorithms.

      Problem

      No default JDK providers support SHA-3 based Hmac algorithms.

      Solution

      Enhance SunJCE provider to support SHA-3 based Hmac algorithms, including Mac and KeyGenerator implementations for HmacSHA3-224, HmacSHA3-256, HmacSHA3-384, HmacSHA3-512. In addition, also added KeyGenerator implementations for HmacSHA512/224 and HmacSHA512/256 whose Mac implementation is already made available under an earlier RFE.

      Specification

      No changes to existing public APIs. These newly supported algorithm names are already documented in the "Java Security Standard Algorithm Names". Only the "JDK Providers Documentation" needs to be updated to add these algorithms as available algorithms for SunJCE provider. In particular, add HmacSHA512/224, HmacSHA512/256, HmacSHA3-224, HmacSHA3-256, HmacSHA3-384, HmacSHA3-512 to the algorithms under "KeyGenerator", and add HmacSHA3-224, HmacSHA3-256, HmacSHA3-384, HmacSHA3-512 to the algorithms under "Mac". Please find the pdf diff of the documentation as attached.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              valeriep Valerie Peng
              Reporter:
              valeriep Valerie Peng
              Reviewed By:
              Jamil Nimeh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: