summaryrefslogtreecommitdiffstats
path: root/src/util/crypto/sss_crypto.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-07-29 16:34:00 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-09-08 09:36:21 -0400
commit3b08dec5ee634f83ee18e1753d5ffe0ac5e3c458 (patch)
tree8f173e8097ea31d23aaa9f5d95b7e950a201d421 /src/util/crypto/sss_crypto.h
parentea347b1e07843f7dfc2a0880e2283ee3e63caf4b (diff)
downloadsssd-3b08dec5ee634f83ee18e1753d5ffe0ac5e3c458.tar.gz
sssd-3b08dec5ee634f83ee18e1753d5ffe0ac5e3c458.tar.xz
sssd-3b08dec5ee634f83ee18e1753d5ffe0ac5e3c458.zip
Move crypto functions into its own subdir
A refactoring patch that creates a common util/crypto subdir with per-implementation subdirectories for each underlying crypto library supported by SSSD.
Diffstat (limited to 'src/util/crypto/sss_crypto.h')
-rw-r--r--src/util/crypto/sss_crypto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/crypto/sss_crypto.h b/src/util/crypto/sss_crypto.h
new file mode 100644
index 000000000..5512c5d96
--- /dev/null
+++ b/src/util/crypto/sss_crypto.h
@@ -0,0 +1,4 @@
+
+int s3crypt_sha512(TALLOC_CTX *mmectx,
+ const char *key, const char *salt, char **_hash);
+int s3crypt_gen_salt(TALLOC_CTX *memctx, char **_salt);