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

Enhance SunJCE provider to support SHA-3 based Hmac algorithms

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P3 P3
    • 15
    • security-libs
    • None
    • behavioral
    • minimal
    • No impact to existing applications as the new impls are registered under their own names.
    • Other
    • SE

      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.

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

              Created:
              Updated:
              Resolved: