Home
last modified time | relevance | path

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

/PHP-7.3/ext/mysqlnd/
H A Dmysqlnd_auth.c539 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 Dmysqlnd_wireprotocol.h67 char intern_auth_plugin_data[SCRAMBLE_LENGTH];
H A Dmysqlnd_wireprotocol.c412 …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 Dmysqlnd_enum_n_def.h79 #define SCRAMBLE_LENGTH 20 macro

Completed in 19 milliseconds