Home
last modified time | relevance | path

Searched refs:SHA1_MAX_LENGTH (Results 1 – 2 of 2) sorted by relevance

/PHP-5.3/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.c423 zend_uchar sha1[SHA1_MAX_LENGTH]; in php_mysqlnd_scramble()
424 zend_uchar sha2[SHA1_MAX_LENGTH]; in php_mysqlnd_scramble()
434 PHP_SHA1Update(&context, (zend_uchar*)sha1, SHA1_MAX_LENGTH); in php_mysqlnd_scramble()
440 PHP_SHA1Update(&context, (zend_uchar*)sha2, SHA1_MAX_LENGTH); in php_mysqlnd_scramble()
444 php_mysqlnd_crypt(buffer, (const zend_uchar *)buffer, (const zend_uchar *)sha1, SHA1_MAX_LENGTH); in php_mysqlnd_scramble()
449 #define AUTH_WRITE_BUFFER_LEN (MYSQLND_HEADER_SIZE + MYSQLND_MAX_ALLOWED_USER_LEN + SHA1_MAX_LENGTH
483 int1store(p, SHA1_MAX_LENGTH); in php_mysqlnd_auth_write()
486 p+= SHA1_MAX_LENGTH; in php_mysqlnd_auth_write()
H A Dmysqlnd_enum_n_def.h72 #define SHA1_MAX_LENGTH 20 macro

Completed in 14 milliseconds