javaencryptionaesbouncycastleaes-ni

Are BouncyCastle's AES engines hardware accelerated?


I wonder if anyone knows if BouncyCastle's AES engines support hardware acceleration, e.g., make use of AES-NI. My understanding is that some "native code" need to be invoked in order to be accelerated, but I couldn't find any.

Are BC's AES engines completely software implementations? If so, that's not so good given that many modern MCUs/CPUs provide AES modules - correct? A similar question was asked about 5 years ago, but the situation was somewhat different as hardware acceleration was not prevalent.


Solution

  • According to Bouncy Castle it is not supported and will not be supported: https://github.com/bcgit/bc-java/issues/221