commit 54a1d611b94166d9d3d03e4123fbe982e643edc4
parent 8e8688f7174c7a613e39104a7985b61b8e3adf9f
Author: Jared Tobin <jared@jtobin.io>
Date: Sat, 10 Oct 2026 15:26:40 +0400
lib: make the Arm module private
Its functions execute SHA2 instructions unconditionally (or, on
non-aarch64 builds, call no-op stubs), so they're only safe behind
the availability check in Crypto.Hash.SHA256. Nothing outside the
package imports the module.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ppad-sha256.cabal b/ppad-sha256.cabal
@@ -37,11 +37,11 @@ library
ghc-options: -fllvm -O2
exposed-modules:
Crypto.Hash.SHA256
- Crypto.Hash.SHA256.Arm
Crypto.Hash.SHA256.Internal
Crypto.Hash.SHA256.Lazy
Crypto.Hash.SHA256.Pure
other-modules:
+ Crypto.Hash.SHA256.Arm
Data.Barrier
build-depends:
base >= 4.9 && < 5