Home
last modified time | relevance | path

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

/php-src/ext/openssl/
H A Dphp_openssl.h132 const char *password, size_t password_len,
140 const char *password, size_t password_len,
H A Dopenssl.c5541 size_t password_len; in PHP_FUNCTION() local
5551 &password, &password_len, in PHP_FUNCTION()
7746 int key_len, password_len; local
7779 password_len = (int) *ppassword_len;
7781 if (key_len > password_len) {
7789 memcpy(key, *ppassword, password_len);
7794 if (password_len > key_len && !EVP_CIPHER_CTX_set_key_length(cipher_ctx, password_len)) {
7857 const char *password, size_t password_len, argument
7891 &password, &password_len, &free_password,
7970 const char *password, size_t password_len, argument
[all …]
/php-src/ext/mysqlnd/
H A Dmysqlnd_auth.c529 …r, const zend_uchar * const scramble, const zend_uchar * const password, const size_t password_len) in php_mysqlnd_scramble() argument
537 PHP_SHA1Update(&context, password, password_len); in php_mysqlnd_scramble()
979 …r, const zend_uchar * const scramble, const zend_uchar * const password, const size_t password_len) in php_mysqlnd_scramble_sha2() argument
987 PHP_SHA256Update(&context, password, password_len); in php_mysqlnd_scramble_sha2()
1272 result_packet.password_len = passwd_len + 1; in mysqlnd_caching_sha2_handle_server_response()
1276 …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.h286 size_t password_len; member
H A Dmysqlnd_wireprotocol.c2083 zend_uchar *buffer = do_alloca(MYSQLND_HEADER_SIZE + packet->password_len + 1, use_heap); in php_mysqlnd_cached_sha2_result_write()
2092 if (packet->password_len != 0) { in php_mysqlnd_cached_sha2_result_write()
2093 memcpy(buffer + MYSQLND_HEADER_SIZE, packet->password, packet->password_len); in php_mysqlnd_cached_sha2_result_write()
2095 sent = pfc->data->m.send(pfc, vio, buffer, packet->password_len, stats, error_info); in php_mysqlnd_cached_sha2_result_write()
/php-src/ext/pdo_mysql/
H A Dmysql_driver.c700 size_t password_len = 0; local
963 password_len = strlen(dbh->password);
966 …if (mysqlnd_connect(H->server, host, dbh->username, dbh->password, password_len, dbname, dbname_le…
/php-src/ext/zip/
H A Dphp_zip.c1532 size_t password_len; local
1534 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &password, &password_len) == FAILURE) {
1540 if (password_len < 1) {
2356 size_t name_len, password_len; local
2359 &name, &name_len, &method, &password, &password_len) == FAILURE) {
2390 size_t password_len; local
2393 &index, &method, &password, &password_len) == FAILURE) {
/php-src/ext/mysqli/
H A Dmysqli_api.c204 size_t user_len, password_len, dbname_len; in PHP_FUNCTION() local
206 …, &mysql_link, mysqli_link_class_entry, &user, &user_len, &password, &password_len, &dbname, &dbna… in PHP_FUNCTION()
211 …us rc = mysqlnd_change_user_ex(mysql->mysql, user, password, dbname, false, (size_t) password_len); in PHP_FUNCTION()
/php-src/ext/hash/
H A Dhash.c1293 size_t password_len, salt_len; in PHP_FUNCTION() local
1296 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "lssl", &algorithm, &password, &password_len, &salt, &s… in PHP_FUNCTION()
1344 ops->hash_update(context, (unsigned char *)password, password_len); in PHP_FUNCTION()

Completed in 80 milliseconds