mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
Base structure for passsword_create and password_make_salt
This commit is contained in:
parent
d68b614b09
commit
c77f2c2958
6 changed files with 328 additions and 2 deletions
|
@ -1866,6 +1866,21 @@ ZEND_END_ARG_INFO()
|
|||
ZEND_BEGIN_ARG_INFO(arginfo_getlastmod, 0)
|
||||
ZEND_END_ARG_INFO()
|
||||
/* }}} */
|
||||
/* {{{ password.c */
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_password_create, 0, 0, 1)
|
||||
ZEND_ARG_INFO(0, password)
|
||||
ZEND_ARG_INFO(0, algo)
|
||||
ZEND_ARG_INFO(0, options)
|
||||
ZEND_END_ARG_INFO()
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_password_verify, 0, 0, 2)
|
||||
ZEND_ARG_INFO(0, password)
|
||||
ZEND_ARG_INFO(0, hash)
|
||||
ZEND_END_ARG_INFO()
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_password_make_salt, 0, 0, 1)
|
||||
ZEND_ARG_INFO(0, length)
|
||||
ZEND_ARG_INFO(0, raw_output)
|
||||
ZEND_END_ARG_INFO()
|
||||
/* }}} */
|
||||
/* {{{ proc_open.c */
|
||||
#ifdef PHP_CAN_SUPPORT_PROC_OPEN
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_proc_terminate, 0, 0, 1)
|
||||
|
@ -2880,6 +2895,10 @@ const zend_function_entry basic_functions[] = { /* {{{ */
|
|||
PHP_FE(base64_decode, arginfo_base64_decode)
|
||||
PHP_FE(base64_encode, arginfo_base64_encode)
|
||||
|
||||
PHP_FE(password_create, arginfo_password_create)
|
||||
PHP_FE(password_verify, arginfo_password_verify)
|
||||
PHP_FE(password_make_salt, arginfo_password_make_salt)
|
||||
|
||||
PHP_FE(convert_uuencode, arginfo_convert_uuencode)
|
||||
PHP_FE(convert_uudecode, arginfo_convert_uudecode)
|
||||
|
||||
|
@ -3630,6 +3649,7 @@ PHP_MINIT_FUNCTION(basic) /* {{{ */
|
|||
BASIC_MINIT_SUBMODULE(browscap)
|
||||
BASIC_MINIT_SUBMODULE(standard_filters)
|
||||
BASIC_MINIT_SUBMODULE(user_filters)
|
||||
BASIC_MINIT_SUBMODULE(password)
|
||||
|
||||
#if defined(HAVE_LOCALECONV) && defined(ZTS)
|
||||
BASIC_MINIT_SUBMODULE(localeconv)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue