Home
last modified time | relevance | path

Searched refs:SCRAMBLE_LENGTH (Results 1 – 4 of 4) sorted by relevance

/PHP-5.4/ext/mysqlnd/
H A Dmysqlnd_auth.c347 PHP_SHA1Update(&context, scramble, SCRAMBLE_LENGTH); in php_mysqlnd_scramble()
371 if (auth_plugin_data_len < SCRAMBLE_LENGTH) { in mysqlnd_native_auth_get_auth_data()
374 …The server sent wrong length for scramble %u. Expected %u", auth_plugin_data_len, SCRAMBLE_LENGTH); in mysqlnd_native_auth_get_auth_data()
380 ret = malloc(SCRAMBLE_LENGTH); in mysqlnd_native_auth_get_auth_data()
381 *auth_data_len = SCRAMBLE_LENGTH; in mysqlnd_native_auth_get_auth_data()
H A Dmysqlnd_wireprotocol.h73 zend_uchar intern_auth_plugin_data[SCRAMBLE_LENGTH];
H A Dmysqlnd_wireprotocol.c384 memcpy(packet->auth_plugin_data + SCRAMBLE_LENGTH_323, p, SCRAMBLE_LENGTH - SCRAMBLE_LENGTH_323); in php_mysqlnd_greet_read()
385 p+= SCRAMBLE_LENGTH - SCRAMBLE_LENGTH_323; in php_mysqlnd_greet_read()
400 if (packet->auth_plugin_data_len > SCRAMBLE_LENGTH) { in php_mysqlnd_greet_read()
407 memcpy(new_auth_plugin_data, packet->auth_plugin_data, SCRAMBLE_LENGTH); in php_mysqlnd_greet_read()
409 … memcpy(new_auth_plugin_data + SCRAMBLE_LENGTH, p, packet->auth_plugin_data_len - SCRAMBLE_LENGTH); in php_mysqlnd_greet_read()
410 p+= (packet->auth_plugin_data_len - SCRAMBLE_LENGTH); in php_mysqlnd_greet_read()
463 #define AUTH_WRITE_BUFFER_LEN (MYSQLND_HEADER_SIZE + MYSQLND_MAX_ALLOWED_USER_LEN + SCRAMBLE_LENGTH
H A Dmysqlnd_enum_n_def.h75 #define SCRAMBLE_LENGTH 20 macro

Completed in 16 milliseconds