git: openjdk/jdk: 8255410: Add ChaCha20 and Poly1305 support to SunPKCS11 provider
Valerie Peng
valeriep at openjdk.java.net
Thu Apr 29 21:03:54 UTC 2021
Changeset: 5d8c1cc8
Author: Valerie Peng <valeriep at openjdk.org>
Date: 2021-04-29 21:02:41 +0000
URL: https://git.openjdk.java.net/jdk/commit/5d8c1cc8a05e0d9aedd6d54b8147d374c2290024
8255410: Add ChaCha20 and Poly1305 support to SunPKCS11 provider
Reviewed-by: jnimeh
! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11AEADCipher.java
! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyGenerator.java
! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11SecretKeyFactory.java
! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SunPKCS11.java
! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_MECHANISM.java
+ src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_SALSA20_CHACHA20_POLY1305_PARAMS.java
! src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_convert.c
! src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_util.c
! src/jdk.crypto.cryptoki/share/native/libj2pkcs11/pkcs11wrapper.h
+ test/jdk/sun/security/pkcs11/Cipher/TestChaChaPoly.java
+ test/jdk/sun/security/pkcs11/Cipher/TestChaChaPolyKAT.java
+ test/jdk/sun/security/pkcs11/Cipher/TestChaChaPolyNoReuse.java
+ test/jdk/sun/security/pkcs11/Cipher/TestChaChaPolyOutputSize.java
+ test/jdk/sun/security/pkcs11/KeyGenerator/TestChaCha20.java
+ test/jdk/sun/security/pkcs11/SecretKeyFactory/TestGeneral.java
More information about the jdk-changes
mailing list