summaryrefslogtreecommitdiff
path: root/lib/libcrypt/crypt.h
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2011-04-09 14:02:04 +0000
committerMark Murray <markm@FreeBSD.org>2011-04-09 14:02:04 +0000
commit3d6f63c0467cf7f15000cf5ca347cabd5f51afa7 (patch)
tree77707a3cb29b813530fe64df7c6a723558bd5ddc /lib/libcrypt/crypt.h
parent3b50f6bf8307efcd9d85203c3db0583673867f8c (diff)
Notes
Diffstat (limited to 'lib/libcrypt/crypt.h')
-rw-r--r--lib/libcrypt/crypt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libcrypt/crypt.h b/lib/libcrypt/crypt.h
index c6771605dc2f..6a73fc99dca5 100644
--- a/lib/libcrypt/crypt.h
+++ b/lib/libcrypt/crypt.h
@@ -36,5 +36,8 @@ char *crypt_des(const char *pw, const char *salt);
char *crypt_md5(const char *pw, const char *salt);
char *crypt_nthash(const char *pw, const char *salt);
char *crypt_blowfish(const char *pw, const char *salt);
+char *sha256_crypt (const char *pw, const char *salt);
+char *sha512_crypt (const char *pw, const char *salt);
extern void _crypt_to64(char *s, u_long v, int n);
+extern void b64_from_24bit(uint8_t B2, uint8_t B1, uint8_t B0, int n, int *buflen, char **cp);