JDK-8241325 : Enhance SunJCE provider to support SHA-3 based Hmac algorithms
  • Type: CSR
  • Component: security-libs
  • Sub-Component: javax.crypto
  • Priority: P3
  • Status: Closed
  • Resolution: Approved
  • Fix Versions: 15
  • Submitted: 2020-03-19
  • Updated: 2020-04-07
  • Resolved: 2020-04-07
Related Reports
CSR :  
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.


Comments
Moving to Approved.
07-04-2020

[~valeriep], yes please give some kind of indication of the diff of the changes to "JDK Providers Documentation."
31-03-2020

[~darcy] What updates should I include before finalizing this? Is it the changes for "JDK Providers Documentation" guide under SunJCE provider? Updating of this guide is handled by doc team through a separate gate/schedule though. Is a diff for this doc change needed? Could you please clarify what further detail I should add. Thanks!
31-03-2020

Moving to Provisional. Before the request is finalized, please include the updates to the other documentation mentioned.
23-03-2020