Closed superajun-wsj closed 2 years ago
Yes, for ACCP 1.x (backed by OpenSSL's libcrypto), the primary advantage of ACCP over Bouncy Castle is performance.
In 2.0, ACCP drops its dependency on OpenSSL and uses AWS-LC as its native backing crypto library. performance benchmarks of ACCP 2.0 against Bouncy Castle show as much as an order of magnitude speedup for most algorithms. Benchmarks against SunJCE providers (many of which also use native code for hardware acceleration) show some speedups, but not as pronounced as those over Bouncy Castle.
@WillChilds-Klein Is it possible to swap out AWS-LC for OpenSSL3 since OpenSSL3 is already FIPS validated?
There are currently no plans to support OpenSSL 3 as a backing crypto library in ACCP.
Stay tuned for ACCP's upcoming 2.3.0 release, which will provide ACCP artifacts using AWS-LC built in FIPS mode on Maven Central. Please note that AWS-LC is still awaiting its FIPS certificate, so we recommend consulting your team's compliance expert regarding the implications of that for your projects.
Why does corretto adopt native openssl for Java while not adopting jca or third library boucy castle? Is the performance of openssl much better than bouncy castle?