diff options
| author | Ed Schouten <ed@FreeBSD.org> | 2016-08-10 15:16:28 +0000 |
|---|---|---|
| committer | Ed Schouten <ed@FreeBSD.org> | 2016-08-10 15:16:28 +0000 |
| commit | 5f521d7ba72145092ea23ff6081d8791ad6c1f9d (patch) | |
| tree | 80c95ae1764bc54824036934952da43ecbf095e2 /lib/libcrypt/crypt.h | |
| parent | 3a77833e87a68b01242cfe5f7d0002be04f1a0b0 (diff) | |
Notes
Diffstat (limited to 'lib/libcrypt/crypt.h')
| -rw-r--r-- | lib/libcrypt/crypt.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libcrypt/crypt.h b/lib/libcrypt/crypt.h index b33ad0943e29..81b0e0324efd 100644 --- a/lib/libcrypt/crypt.h +++ b/lib/libcrypt/crypt.h @@ -32,12 +32,12 @@ #define MD4_SIZE 16 #define MD5_SIZE 16 -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 *crypt_sha256 (const char *pw, const char *salt); -char *crypt_sha512 (const char *pw, const char *salt); +int crypt_des(const char *pw, const char *salt, char *buf); +int crypt_md5(const char *pw, const char *salt, char *buf); +int crypt_nthash(const char *pw, const char *salt, char *buf); +int crypt_blowfish(const char *pw, const char *salt, char *buf); +int crypt_sha256 (const char *pw, const char *salt, char *buf); +int crypt_sha512 (const char *pw, const char *salt, char *buf); 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); +extern void b64_from_24bit(uint8_t B2, uint8_t B1, uint8_t B0, int n, char **cp); |
