xref: /PHP-7.0/ext/standard/crypt_blowfish.h (revision b7a7b1a6)
1 /* $Id$ */
2 /*
3  * Written by Solar Designer <solar at openwall.com> in 2000-2011.
4  * No copyright is claimed, and the software is hereby placed in the public
5  * domain. In case this attempt to disclaim copyright and place the software
6  * in the public domain is deemed null and void, then the software is
7  * Copyright (c) 2000-2011 Solar Designer and it is hereby released to the
8  * general public under the following terms:
9  *
10  * Redistribution and use in source and binary forms, with or without
11  * modification, are permitted.
12  *
13  * There's ABSOLUTELY NO WARRANTY, express or implied.
14  *
15  * See crypt_blowfish.c for more information.
16  */
17 
18 #ifndef _CRYPT_BLOWFISH_H
19 #define _CRYPT_BLOWFISH_H
20 
21 #if 0
22 extern int _crypt_output_magic(const char *setting, char *output, int size);
23 #endif
24 extern char *php_crypt_blowfish_rn(const char *key, const char *setting,
25 	char *output, int size);
26 #if 0
27 extern char *_crypt_gensalt_blowfish_rn(const char *prefix,
28 	unsigned long count,
29 	const char *input, int size, char *output, int output_size);
30 #endif
31 
32 #endif
33