Lines Matching refs:context
330 PHP_SHA1_CTX context; in php_mysqlnd_scramble() local
335 PHP_SHA1Init(&context); in php_mysqlnd_scramble()
336 PHP_SHA1Update(&context, password, password_len); in php_mysqlnd_scramble()
337 PHP_SHA1Final(sha1, &context); in php_mysqlnd_scramble()
340 PHP_SHA1Init(&context); in php_mysqlnd_scramble()
341 PHP_SHA1Update(&context, (zend_uchar*)sha1, SHA1_MAX_LENGTH); in php_mysqlnd_scramble()
342 PHP_SHA1Final(sha2, &context); in php_mysqlnd_scramble()
345 PHP_SHA1Init(&context); in php_mysqlnd_scramble()
346 PHP_SHA1Update(&context, scramble, SCRAMBLE_LENGTH); in php_mysqlnd_scramble()
347 PHP_SHA1Update(&context, (zend_uchar*)sha2, SHA1_MAX_LENGTH); in php_mysqlnd_scramble()
348 PHP_SHA1Final(buffer, &context); in php_mysqlnd_scramble()