bradleycha / cliauth

Minimal cross-platform terminal authenticator app.
GNU General Public License v3.0
0 stars 0 forks source link

Make use of architecture-specific hash instructions #16

Open bradleycha opened 2 months ago

bradleycha commented 2 months ago

Add support for architecture-specific hash instructions to improve performance. For example, x86's SSE/AVX SHA instructions (sha256rnds2, sha256msg1, vsha512rnds2, etc). These will only be used if the target architecture supports the instructions, otherwise the existing software implementation will be used as a fallback.

bradleycha commented 2 weeks ago

This can be done using the abstractions in #27