xref: /php-src/ext/standard/password_arginfo.h (revision 10957e49)
1 /* This is a generated file, edit the .stub.php file instead.
2  * Stub hash: aab38646ace967e985c348b78251474693da95a7 */
3 
register_password_symbols(int module_number)4 static void register_password_symbols(int module_number)
5 {
6 	REGISTER_STRING_CONSTANT("PASSWORD_DEFAULT", "2y", CONST_PERSISTENT);
7 	REGISTER_STRING_CONSTANT("PASSWORD_BCRYPT", "2y", CONST_PERSISTENT);
8 	REGISTER_LONG_CONSTANT("PASSWORD_BCRYPT_DEFAULT_COST", PHP_PASSWORD_BCRYPT_COST, CONST_PERSISTENT);
9 #if defined(HAVE_ARGON2LIB)
10 	REGISTER_STRING_CONSTANT("PASSWORD_ARGON2I", "argon2i", CONST_PERSISTENT);
11 #endif
12 #if defined(HAVE_ARGON2LIB)
13 	REGISTER_STRING_CONSTANT("PASSWORD_ARGON2ID", "argon2id", CONST_PERSISTENT);
14 #endif
15 #if defined(HAVE_ARGON2LIB)
16 	REGISTER_STRING_CONSTANT("PASSWORD_ARGON2_PROVIDER", "standard", CONST_PERSISTENT);
17 #endif
18 #if defined(HAVE_ARGON2LIB)
19 	REGISTER_LONG_CONSTANT("PASSWORD_ARGON2_DEFAULT_MEMORY_COST", PHP_PASSWORD_ARGON2_MEMORY_COST, CONST_PERSISTENT);
20 #endif
21 #if defined(HAVE_ARGON2LIB)
22 	REGISTER_LONG_CONSTANT("PASSWORD_ARGON2_DEFAULT_TIME_COST", PHP_PASSWORD_ARGON2_TIME_COST, CONST_PERSISTENT);
23 #endif
24 #if defined(HAVE_ARGON2LIB)
25 	REGISTER_LONG_CONSTANT("PASSWORD_ARGON2_DEFAULT_THREADS", PHP_PASSWORD_ARGON2_THREADS, CONST_PERSISTENT);
26 #endif
27 }
28