How to check if a target supports crypto hardware acceleration?

Let’s take AES as an example, if there’s a file called asm_target.s under the src/crypto/aes, then the hardware acceleration is available, right?

For ARM platforms, there’s only asm_arm64.s. So, ARM 32bit does not support AES hardware acceleration?

Do I need to add additional flags to enable hardware acceleration during the build?

Hi, William, and welcome to the forum.

Have you seen this package? It looks like it might tell you what you need to know: cpu package - - Go Packages

I’m not sure if you need to add any flags to opt-in to hardware acceleration.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.