4 ms·
No, we use assembly for access to specialized (e.g. AES-NI) or vector instructions, and we do so reluctantly. We much prefer writing cross-platform constant tim
by FiloSottile 3y ago
No, we use assembly for access to specialized (e.g. AES-NI) or vector instructions, and we do so reluctantly. We much prefer writing cross-platform constant time Go. https://go.dev/wiki/AssemblyPolicy https://go.dev/wiki/AssemblyPolicy
The actual implementations are in that tree, too: https://cs.opensource.google/go/go/+/master:src/crypto/ https://cs.opensource.google/go/go/+/master:src/crypto/