Searched refs:SCRAMBLE_LENGTH (Results 1 – 4 of 4) sorted by relevance
/PHP-7.3/ext/mysqlnd/ |
H A D | mysqlnd_auth.c | 539 PHP_SHA1Update(&context, scramble, SCRAMBLE_LENGTH); in php_mysqlnd_scramble() 565 if (auth_plugin_data_len < SCRAMBLE_LENGTH) { in mysqlnd_native_auth_get_auth_data() 568 …The server sent wrong length for scramble %u. Expected %u", auth_plugin_data_len, SCRAMBLE_LENGTH); in mysqlnd_native_auth_get_auth_data() 574 ret = malloc(SCRAMBLE_LENGTH); in mysqlnd_native_auth_get_auth_data() 575 *auth_data_len = SCRAMBLE_LENGTH; in mysqlnd_native_auth_get_auth_data()
|
H A D | mysqlnd_wireprotocol.h | 67 char intern_auth_plugin_data[SCRAMBLE_LENGTH];
|
H A D | mysqlnd_wireprotocol.c | 412 …memcpy(packet->authentication_plugin_data.s + SCRAMBLE_LENGTH_323, p, SCRAMBLE_LENGTH - SCRAMBLE_L… in php_mysqlnd_greet_read() 413 p+= SCRAMBLE_LENGTH - SCRAMBLE_LENGTH_323; in php_mysqlnd_greet_read() 429 if (packet->authentication_plugin_data.l > SCRAMBLE_LENGTH) { in php_mysqlnd_greet_read() 434 memcpy(new_auth_plugin_data, packet->authentication_plugin_data.s, SCRAMBLE_LENGTH); in php_mysqlnd_greet_read() 436 …memcpy(new_auth_plugin_data + SCRAMBLE_LENGTH, p, packet->authentication_plugin_data.l - SCRAMBLE_… in php_mysqlnd_greet_read() 437 p+= (packet->authentication_plugin_data.l - SCRAMBLE_LENGTH); in php_mysqlnd_greet_read() 487 #define AUTH_WRITE_BUFFER_LEN (MYSQLND_HEADER_SIZE + MYSQLND_MAX_ALLOWED_USER_LEN + SCRAMBLE_LENGTH…
|
H A D | mysqlnd_enum_n_def.h | 79 #define SCRAMBLE_LENGTH 20 macro
|
Completed in 33 milliseconds