summaryrefslogtreecommitdiff
path: root/Backend
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-03-01 17:07:15 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-03-01 17:07:15 -0400
commit1b9c4477fb542cddbb05012a52c602eb203b2d83 (patch)
treecfd188f22919147efab10deb00e9a3bfea6c0236 /Backend
parentb7f4801801aa8b8e20ea82261b193a73b7fec799 (diff)
New backends: SHA512 SHA384 SHA256 SHA224
Diffstat (limited to 'Backend')
-rw-r--r--Backend/SHA224.hs14
-rw-r--r--Backend/SHA256.hs14
-rw-r--r--Backend/SHA384.hs14
-rw-r--r--Backend/SHA512.hs14
4 files changed, 56 insertions, 0 deletions
diff --git a/Backend/SHA224.hs b/Backend/SHA224.hs
new file mode 100644
index 000000000..614f31c4b
--- /dev/null
+++ b/Backend/SHA224.hs
@@ -0,0 +1,14 @@
+{- git-annex "SHA224" backend
+ -
+ - Copyright 2011 Joey Hess <joey@kitenet.net>
+ -
+ - Licensed under the GNU GPL version 3 or higher.
+ -}
+
+module Backend.SHA224 (backend) where
+
+import Types
+import Backend.SHA
+
+backend :: Backend Annex
+backend = genBackend 224
diff --git a/Backend/SHA256.hs b/Backend/SHA256.hs
new file mode 100644
index 000000000..42d3d48c7
--- /dev/null
+++ b/Backend/SHA256.hs
@@ -0,0 +1,14 @@
+{- git-annex "SHA256" backend
+ -
+ - Copyright 2011 Joey Hess <joey@kitenet.net>
+ -
+ - Licensed under the GNU GPL version 3 or higher.
+ -}
+
+module Backend.SHA256 (backend) where
+
+import Types
+import Backend.SHA
+
+backend :: Backend Annex
+backend = genBackend 256
diff --git a/Backend/SHA384.hs b/Backend/SHA384.hs
new file mode 100644
index 000000000..0cf77ea64
--- /dev/null
+++ b/Backend/SHA384.hs
@@ -0,0 +1,14 @@
+{- git-annex "SHA384" backend
+ -
+ - Copyright 2011 Joey Hess <joey@kitenet.net>
+ -
+ - Licensed under the GNU GPL version 3 or higher.
+ -}
+
+module Backend.SHA384 (backend) where
+
+import Types
+import Backend.SHA
+
+backend :: Backend Annex
+backend = genBackend 384
diff --git a/Backend/SHA512.hs b/Backend/SHA512.hs
new file mode 100644
index 000000000..aed8bbced
--- /dev/null
+++ b/Backend/SHA512.hs
@@ -0,0 +1,14 @@
+{- git-annex "SHA512" backend
+ -
+ - Copyright 2011 Joey Hess <joey@kitenet.net>
+ -
+ - Licensed under the GNU GPL version 3 or higher.
+ -}
+
+module Backend.SHA512 (backend) where
+
+import Types
+import Backend.SHA
+
+backend :: Backend Annex
+backend = genBackend 512