The test code is attached with the bug. Stack trace on Cipher.wrap: com.oracle.security.ucrypto.UcryptoException: Cannot initialize Cipher at com.oracle.security.ucrypto.NativeCipher.ensureInitialized(NativeCipher.java:652) at com.oracle.security.ucrypto.NativeCipher.update(NativeCipher.java:683) at com.oracle.security.ucrypto.NativeCipher.engineDoFinal(NativeCipher.java:538) at com.oracle.security.ucrypto.NativeCipher.engineDoFinal(NativeCipher.java:520) at com.oracle.security.ucrypto.NativeCipher.engineWrap(NativeCipher.java:557) at javax.crypto.Cipher.wrap(Cipher.java:2427) at AEADKeyWrapperTest.execute(AEADKeyWrapperTest.java:70) at AEADKeyWrapperTest.main(AEADKeyWrapperTest.java:46) Stack trace on SealedObject.unseal: com.oracle.security.ucrypto.UcryptoException: Cannot initialize Cipher at com.oracle.security.ucrypto.NativeCipher.ensureInitialized(NativeCipher.java:652) at com.oracle.security.ucrypto.NativeCipher.update(NativeCipher.java:683) at com.oracle.security.ucrypto.NativeCipher.engineDoFinal(NativeCipher.java:538) at com.oracle.security.ucrypto.NativeCipher.engineDoFinal(NativeCipher.java:520) at javax.crypto.Cipher.doFinal(Cipher.java:2097) at javax.crypto.SealedObject.unseal(SealedObject.java:425) at javax.crypto.SealedObject.getObject(SealedObject.java:253) at AEAD_SO_Test.execute(AEAD_SO_Test.java:102) at AEAD_SO_Test.main(AEAD_SO_Test.java:44) These failures are not observed on other platforms.
|