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.h130 const char *password, size_t password_len,
138 const char *password, size_t password_len,
H A Dopenssl.c5347 size_t password_len; in PHP_FUNCTION() local
5357 &password, &password_len, in PHP_FUNCTION()
7538 int key_len, password_len; in php_openssl_cipher_init() local
7571 password_len = (int) *ppassword_len; in php_openssl_cipher_init()
7573 if (key_len > password_len) { in php_openssl_cipher_init()
7581 memcpy(key, *ppassword, password_len); in php_openssl_cipher_init()
7586 if (password_len > key_len && !EVP_CIPHER_CTX_set_key_length(cipher_ctx, password_len)) { in php_openssl_cipher_init()
7649 const char *password, size_t password_len, in php_openssl_encrypt() argument
7683 &password, &password_len, &free_password, in php_openssl_encrypt()
7762 const char *password, size_t password_len, in php_openssl_decrypt() 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.c2014 zend_uchar *buffer = do_alloca(MYSQLND_HEADER_SIZE + packet->password_len + 1, use_heap); in php_mysqlnd_cached_sha2_result_write()
2023 if (packet->password_len != 0) { in php_mysqlnd_cached_sha2_result_write()
2024 memcpy(buffer + MYSQLND_HEADER_SIZE, packet->password, packet->password_len); in php_mysqlnd_cached_sha2_result_write()
2026 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.c688 size_t password_len = 0; local
951 password_len = strlen(dbh->password);
954 …if (mysqlnd_connect(H->server, host, dbh->username, dbh->password, password_len, dbname, dbname_le…
/php-src/ext/zip/
H A Dphp_zip.c1526 size_t password_len; local
1528 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &password, &password_len) == FAILURE) {
1534 if (password_len < 1) {
2350 size_t name_len, password_len; local
2353 &name, &name_len, &method, &password, &password_len) == FAILURE) {
2384 size_t password_len; local
2387 &index, &method, &password, &password_len) == FAILURE) {
/php-src/ext/hash/
H A Dhash.c1290 size_t password_len, salt_len; in PHP_FUNCTION() local
1293 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "lssl", &algorithm, &password, &password_len, &salt, &s… in PHP_FUNCTION()
1341 ops->hash_update(context, (unsigned char *)password, password_len); in PHP_FUNCTION()
/php-src/ext/mysqli/
H A Dmysqli_api.c212 size_t user_len, password_len, dbname_len; in PHP_FUNCTION() local
215 …, &mysql_link, mysqli_link_class_entry, &user, &user_len, &password, &password_len, &dbname, &dbna… in PHP_FUNCTION()
220 rc = mysqlnd_change_user_ex(mysql->mysql, user, password, dbname, false, (size_t) password_len); in PHP_FUNCTION()

Completed in 139 milliseconds