IBM / OpenJCEPlus

This project makes use of Java and C/C++. This project will create OpenJCEPlus and OpenJCEPlusFIPS cryptographic providers which are implementations of the Java™ Cryptography Extensions (JCE) APIs. The actual cryptographic code will come from the OpenCryptographyKitC project which is based on OpenSSL.
Apache License 2.0
3 stars 10 forks source link

Revert "Remove RSA Cipher from OpenJCEPlusFIPS" #55

Closed jasonkatonica closed 2 months ago

jasonkatonica commented 4 months ago

There is value in allowing a FIPS module call a non FIPS algoriothm with the module so RSA encryption and decryption will be added again to the FIPS provider.

This reverts commit https://github.com/IBM/OpenJCEPlus/commit/1c30d2888570daa95f214003aa5f8b1db2b4d954.

While reverting this commit the TestRSA_2048 test was being run for the first time in the openjceplusfips multithread test suite. An adjustment was needed to make it pass by moving the overrided methods for isAlgorithmValidButUnsupported and isPaddingValidButUnsupported into the child BaseTestRSA class.

Signed-off-by: Jason Katonica katonica@us.ibm.com