0

I am trying to find the implementation of the AES-Algorithm in the javax.crypto repo.

When I am using the javax.crypto in my own project and I try to use AES, then I usually define:

Cipher cipher = Cipher.getInstance("AES/ECB/...")

so obviously the implementation must be found in:

(https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/javax/crypto/Cipher.java)

But I could not find the file where you can see the implementation of the AES-Algorithm. I want to check if this bib uses some hardware-optimization like the AES-NI instruction set or if the implementation of the AES uses any bitslicing methods for speed-up if there is no hw-optimization possible.

schegga_BC
  • 13
  • 3

0 Answers0