Home
last modified time | relevance | path

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

/PHP-8.0/ext/openssl/
H A Dphp_openssl.h100 const char *password, size_t password_len,
108 const char *password, size_t password_len,
H A Dopenssl.c4893 size_t password_len; in PHP_FUNCTION() local
4903 &password, &password_len, in PHP_FUNCTION()
7086 int key_len, password_len; in php_openssl_cipher_init() local
7119 password_len = (int) *ppassword_len; in php_openssl_cipher_init()
7121 if (key_len > password_len) { in php_openssl_cipher_init()
7129 memcpy(key, *ppassword, password_len); in php_openssl_cipher_init()
7134 if (password_len > key_len && !EVP_CIPHER_CTX_set_key_length(cipher_ctx, password_len)) { in php_openssl_cipher_init()
7197 const char *password, size_t password_len, in php_openssl_encrypt() argument
7231 &password, &password_len, &free_password, in php_openssl_encrypt()
7310 const char *password, size_t password_len, in php_openssl_decrypt() argument
[all …]
/PHP-8.0/ext/oci8/
H A Doci8.c117 …p_oci_get_spool(char *username, int username_len, char *password, int password_len, char *dbname, …
866 size_t username_len = 0, password_len = 0; in php_oci_do_connect() local
873 Z_PARAM_STRING(password, password_len) in php_oci_do_connect()
944 if (username_len != 1 || username[0] != '/' || password_len != 0) { in php_oci_do_connect_ex()
994 if (password_len) { in php_oci_do_connect_ex()
996 password_hash = zend_hash_func(password, password_len); in php_oci_do_connect_ex()
2121 …p_oci_get_spool(char *username, int username_len, char *password, int password_len, char *dbname, … in php_oci_get_spool() argument
2138 if (password_len) { in php_oci_get_spool()
2140 password_hash = zend_hash_func(password, password_len); in php_oci_get_spool()
2165 …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.h425 …i_do_connect_ex(char *username, int username_len, char *password, int password_len, char *new_pass…
/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_auth.c547 …r, const zend_uchar * const scramble, const zend_uchar * const password, const size_t password_len) in php_mysqlnd_scramble() argument
555 PHP_SHA1Update(&context, password, password_len); in php_mysqlnd_scramble()
983 …r, const zend_uchar * const scramble, const zend_uchar * const password, const size_t password_len) in php_mysqlnd_scramble_sha2() argument
991 PHP_SHA256Update(&context, password, password_len); in php_mysqlnd_scramble_sha2()
1269 result_packet.password_len = passwd_len + 1; in mysqlnd_caching_sha2_handle_server_response()
1273 …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.h288 size_t password_len; member
H A Dmysqlnd_wireprotocol.c2147 zend_uchar *buffer = do_alloca(MYSQLND_HEADER_SIZE + packet->password_len + 1, use_heap); in php_mysqlnd_cached_sha2_result_write()
2156 if (packet->password_len != 0) { in php_mysqlnd_cached_sha2_result_write()
2157 memcpy(buffer + MYSQLND_HEADER_SIZE, packet->password, packet->password_len); in php_mysqlnd_cached_sha2_result_write()
2159 sent = pfc->data->m.send(pfc, vio, buffer, packet->password_len, stats, error_info); in php_mysqlnd_cached_sha2_result_write()
/PHP-8.0/ext/pdo_mysql/
H A Dmysql_driver.c624 size_t password_len = 0; local
868 password_len = strlen(dbh->password);
871 …if (mysqlnd_connect(H->server, host, dbh->username, dbh->password, password_len, dbname, dbname_le…
/PHP-8.0/ext/zip/
H A Dphp_zip.c1506 size_t password_len; local
1508 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &password, &password_len) == FAILURE) {
1514 if (password_len < 1) {
2276 size_t name_len, password_len; local
2279 &name, &name_len, &method, &password, &password_len) == FAILURE) {
2310 size_t password_len; local
2313 &index, &method, &password, &password_len) == FAILURE) {
/PHP-8.0/ext/hash/
H A Dhash.c1283 size_t password_len, salt_len; in PHP_FUNCTION() local
1286 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "lssl", &algorithm, &password, &password_len, &salt, &s… in PHP_FUNCTION()
1334 ops->hash_update(context, (unsigned char *)password, password_len); in PHP_FUNCTION()
/PHP-8.0/ext/mysqli/
H A Dmysqli_api.c572 size_t user_len, password_len, dbname_len; in PHP_FUNCTION() local
578 …, &mysql_link, mysqli_link_class_entry, &user, &user_len, &password, &password_len, &dbname, &dbna… in PHP_FUNCTION()
588 rc = mysqlnd_change_user_ex(mysql->mysql, user, password, dbname, FALSE, (size_t) password_len); in PHP_FUNCTION()

Completed in 75 milliseconds