perlin-network / noise

A decentralized P2P networking stack written in Go.
https://godoc.org/github.com/perlin-network/noise
MIT License
1.78k stars 213 forks source link

Allow noise to work if CPU does not support AES-NI #256

Closed hasyimibhar closed 4 years ago

hasyimibhar commented 4 years ago

This PR removes the check which panics if the CPU does not support AES-NI instructions. Without AES-NI support, the AES implementation provided by Go is not constant-time.

This change is done to allow noise to work on CPU which does not support AES-NI instructions, like Raspberry pi.