Home
last modified time | relevance | path

Searched refs:password_len (Results 1 – 12 of 12) sorted by relevance

/PHP-7.4/ext/openssl/
H A Dphp_openssl.h101 size_t password_len, zend_long options, char *iv, size_t iv_len,
105 size_t password_len, zend_long options, char *iv, size_t iv_len,
H A Dopenssl.c5093 size_t password_len; in PHP_FUNCTION() local
5103 &password, &password_len, in PHP_FUNCTION()
5127 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(password_len, password); in PHP_FUNCTION()
6601 int key_len, password_len; in php_openssl_cipher_init() local
6634 password_len = (int) *ppassword_len; in php_openssl_cipher_init()
6636 if (key_len > password_len) { in php_openssl_cipher_init()
6644 memcpy(key, *ppassword, password_len); in php_openssl_cipher_init()
6649 if (password_len > key_len && !EVP_CIPHER_CTX_set_key_length(cipher_ctx, password_len)) { in php_openssl_cipher_init()
6719 PHP_OPENSSL_CHECK_SIZE_T_TO_INT_NORET(password_len, password); in php_openssl_encrypt()
6739 &password, &password_len, &free_password, in php_openssl_encrypt()
[all …]
/PHP-7.4/ext/oci8/
H A Doci8.c116 …p_oci_get_spool(char *username, int username_len, char *password, int password_len, char *dbname, …
1629 size_t username_len = 0, password_len = 0; in php_oci_do_connect() local
1636 Z_PARAM_STRING(password, password_len) in php_oci_do_connect()
1707 if (username_len != 1 || username[0] != '/' || password_len != 0) { in php_oci_do_connect_ex()
1757 if (password_len) { in php_oci_do_connect_ex()
1759 password_hash = zend_inline_hash_func(password, password_len); in php_oci_do_connect_ex()
2892 …p_oci_get_spool(char *username, int username_len, char *password, int password_len, char *dbname, … in php_oci_get_spool() argument
2912 if (password_len) { in php_oci_get_spool()
2914 password_hash = zend_inline_hash_func(password, password_len); in php_oci_get_spool()
2939 …session_pool = php_oci_create_spool(username, username_len, password, password_len, dbname, dbname… in php_oci_get_spool()
[all …]
H A Dphp_oci8_int.h427 …i_do_connect_ex(char *username, int username_len, char *password, int password_len, char *new_pass…
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_auth.c549 …r, const zend_uchar * const scramble, const zend_uchar * const password, const size_t password_len) in php_mysqlnd_scramble() argument
557 PHP_SHA1Update(&context, password, password_len); in php_mysqlnd_scramble()
985 …r, const zend_uchar * const scramble, const zend_uchar * const password, const size_t password_len) in php_mysqlnd_scramble_sha2() argument
993 PHP_SHA256Update(&context, password, password_len); in php_mysqlnd_scramble_sha2()
1271 result_packet.password_len = passwd_len + 1; in mysqlnd_caching_sha2_handle_server_response()
1275 …result_packet.password_len = mysqlnd_caching_sha2_get_and_use_key(conn, auth_plugin_data, auth_plu… in mysqlnd_caching_sha2_handle_server_response()
H A Dmysqlnd_wireprotocol.h290 size_t password_len; member
H A Dmysqlnd_wireprotocol.c2162 zend_uchar *buffer = do_alloca(MYSQLND_HEADER_SIZE + packet->password_len + 1, use_heap); in php_mysqlnd_cached_sha2_result_write()
2171 memcpy(buffer + MYSQLND_HEADER_SIZE, packet->password, packet->password_len); in php_mysqlnd_cached_sha2_result_write()
2172 sent = pfc->data->m.send(pfc, vio, buffer, packet->password_len, stats, error_info); in php_mysqlnd_cached_sha2_result_write()
/PHP-7.4/ext/com_dotnet/
H A Dcom_com.c39 user_name_len, domain_name_len, password_len; in PHP_FUNCTION() local
111 password_len = Z_STRLEN_P(tmp); in PHP_FUNCTION()
149 authid.PasswordLength = (ULONG)password_len; in PHP_FUNCTION()
/PHP-7.4/ext/pdo_mysql/
H A Dmysql_driver.c606 size_t password_len = 0; local
857 password_len = strlen(dbh->password);
860 …if (mysqlnd_connect(H->server, host, dbh->username, dbh->password, password_len, dbname, dbname_le…
/PHP-7.4/ext/zip/
H A Dphp_zip.c1513 size_t password_len; local
1517 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &password, &password_len) == FAILURE) {
1521 if (password_len < 1) {
2236 size_t name_len, password_len; local
2241 &name, &name_len, &method, &password, &password_len) == FAILURE) {
2269 size_t password_len; local
2274 &index, &method, &password, &password_len) == FAILURE) {
/PHP-7.4/ext/hash/
H A Dhash.c1046 size_t password_len, salt_len; in PHP_FUNCTION() local
1049 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "lssl", &algorithm, &password, &password_len, &salt, &s… in PHP_FUNCTION()
1097 ops->hash_update(context, (unsigned char *)password, password_len); in PHP_FUNCTION()
/PHP-7.4/ext/mysqli/
H A Dmysqli_api.c615 size_t user_len, password_len, dbname_len; in PHP_FUNCTION() local
621 …, &mysql_link, mysqli_link_class_entry, &user, &user_len, &password, &password_len, &dbname, &dbna… in PHP_FUNCTION()
631 rc = mysqlnd_change_user_ex(mysql->mysql, user, password, dbname, FALSE, (size_t) password_len); in PHP_FUNCTION()

Completed in 77 milliseconds