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