Searched refs:SCRAMBLE_LENGTH (Results 1 – 4 of 4) sorted by relevance
/PHP-5.4/ext/mysqlnd/ |
H A D | mysqlnd_auth.c | 347 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 D | mysqlnd_wireprotocol.h | 73 zend_uchar intern_auth_plugin_data[SCRAMBLE_LENGTH];
|
H A D | mysqlnd_wireprotocol.c | 384 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 D | mysqlnd_enum_n_def.h | 75 #define SCRAMBLE_LENGTH 20 macro
|
Completed in 16 milliseconds