Home
last modified time | relevance | path

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

/PHP-7.1/ext/mysqlnd/
H A Dmysqlnd_auth.c553 PHP_SHA1Update(&context, scramble, SCRAMBLE_LENGTH); in php_mysqlnd_scramble()
579 if (auth_plugin_data_len < SCRAMBLE_LENGTH) { in mysqlnd_native_auth_get_auth_data()
582 …The server sent wrong length for scramble %u. Expected %u", auth_plugin_data_len, SCRAMBLE_LENGTH); in mysqlnd_native_auth_get_auth_data()
588 ret = malloc(SCRAMBLE_LENGTH); in mysqlnd_native_auth_get_auth_data()
589 *auth_data_len = SCRAMBLE_LENGTH; in mysqlnd_native_auth_get_auth_data()
H A Dmysqlnd_wireprotocol.h77 char intern_auth_plugin_data[SCRAMBLE_LENGTH];
H A Dmysqlnd_enum_n_def.h79 #define SCRAMBLE_LENGTH 20 macro
H A Dmysqlnd_wireprotocol.c411 …memcpy(packet->authentication_plugin_data.s + SCRAMBLE_LENGTH_323, p, SCRAMBLE_LENGTH - SCRAMBLE_L… in php_mysqlnd_greet_read()
412 p+= SCRAMBLE_LENGTH - SCRAMBLE_LENGTH_323; in php_mysqlnd_greet_read()
427 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()
490 #define AUTH_WRITE_BUFFER_LEN (MYSQLND_HEADER_SIZE + MYSQLND_MAX_ALLOWED_USER_LEN + SCRAMBLE_LENGTH

Completed in 20 milliseconds