[15] RFR 8172680: Support SHA-3 based Hmac algorithms

Michael StJohns mstjohns at comcast.net
Wed Mar 18 23:07:49 UTC 2020


On 3/18/2020 6:57 PM, Valerie Peng wrote:
>
> Anyone has time to help review this straight forward RFE? It's to add 
> SHA-3 support to Hmac.
>
> RFE: https://bugs.openjdk.java.net/browse/JDK-8172680
>
> Webrev: http://cr.openjdk.java.net/~valeriep/8172680/webrev.00/
>
> Mach5 run is clean.
>
> Thanks,
> Valerie

Valerie -

I know the RFE says no PKCS11 because 2.40 doesn't include those items, 
but OASIS PKCS11 has proposed  SHA3 identifiers at 
https://github.com/oasis-tcs/pkcs11/blob/master/working/identifier_db/sha3.result 
- maybe reach out and ask if these have been allocated pending the next 
release?

Mike


#define CKM_SHA3_256              0x000002b0UL
  #define CKM_SHA3_256_HMAC         0x000002b1UL
  #define CKM_SHA3_256_HMAC_GENERAL 0x000002b2UL
  #define CKM_SHA3_224              0x000002b5UL
  #define CKM_SHA3_224_HMAC         0x000002b6UL
  #define CKM_SHA3_224_HMAC_GENERAL 0x000002b7UL
  #define CKM_SHA3_384              0x000002c0UL
  #define CKM_SHA3_384_HMAC         0x000002c1UL
  #define CKM_SHA3_384_HMAC_GENERAL 0x000002c2UL
  #define CKM_SHA3_512              0x000002d0UL
  #define CKM_SHA3_512_HMAC         0x000002d1UL
  #define CKM_SHA3_512_HMAC_GENERAL 0x000002d2UL





More information about the security-dev mailing list