aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2024-05-08 17:03:17 -0400
committerPaul Duncan <pabs@pablotron.org>2024-05-08 17:03:17 -0400
commitb55d14bbe2f5d93b92ab8e37d8a2376ed5cb1f11 (patch)
tree70b13921ec1e66fe719f923f31eacfb0a9dbd42f /README.md
parent255c5fcfec7b1296c4ba764ce72d14f9dc25dea9 (diff)
downloadsha3-b55d14bbe2f5d93b92ab8e37d8a2376ed5cb1f11.tar.bz2
sha3-b55d14bbe2f5d93b92ab8e37d8a2376ed5cb1f11.zip
s/SHA3_BACKEND/BACKEND/g
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/README.md b/README.md
index 4c5e348..c221e77 100644
--- a/README.md
+++ b/README.md
@@ -203,20 +203,20 @@ size.
## Backends
This library includes several accelerated backends which are selectable
-at compile time via the `SHA3_BACKEND` make argument and define. By
-default the fastest backend is selected at compile-time.
+at compile time via the `BACKEND` make argument and define. By default
+the fastest backend is selected at compile-time.
The available backends are:
-- Scalar (`SHA3_BACKEND=1`): Default if no faster backend is available.
-- [AVX-512][] (`SHA3_BACKEND=2`): [AVX-512][] acceleration. Selected by
+- Scalar (`BACKEND=1`): Default if no faster backend is available.
+- [AVX-512][] (`BACKEND=2`): [AVX-512][] acceleration. Selected by
default if [AVX-512][] is supported.
-- [Neon][] (`SHA3_BACKEND=3`): ARM [Neon][] acceleration. Currently
- slower than the scalar backend on ARM CPUs and not enabled by default.
+- [Neon][] (`BACKEND=3`): ARM [Neon][] acceleration. Currently slower
+ than the scalar backend on ARM CPUs and not enabled by default.
The name of the selected backend is available at run-time via the
`sha3_backend()` function. See the `tests/bench/` for examples of the
-`SHA3_BACKEND` make argument and the `sha3_backend()` function.
+`BACKEND` make argument and the `sha3_backend()` function.
## Benchmarks