ttc0419
(William Tang)
1
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?
skillian
(Sean Killian)
2
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 - golang.org/x/sys/cpu - Go Packages
I’m not sure if you need to add any flags to opt-in to hardware acceleration.