Home
last modified time | relevance | path

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

/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_auth.c980 #define SHA256_LENGTH 32 macro
986 zend_uchar sha1[SHA256_LENGTH]; in php_mysqlnd_scramble_sha2()
987 zend_uchar sha2[SHA256_LENGTH]; in php_mysqlnd_scramble_sha2()
996 PHP_SHA256Update(&context, (zend_uchar*)sha1, SHA256_LENGTH); in php_mysqlnd_scramble_sha2()
1001 PHP_SHA256Update(&context, (zend_uchar*)sha2, SHA256_LENGTH); in php_mysqlnd_scramble_sha2()
1006 php_mysqlnd_crypt(buffer, (const zend_uchar *)sha1, (const zend_uchar *)buffer, SHA256_LENGTH); in php_mysqlnd_scramble_sha2()
1108 ret = malloc(SHA256_LENGTH + 1); in mysqlnd_caching_sha2_get_auth_data()
1109 *auth_data_len = SHA256_LENGTH; in mysqlnd_caching_sha2_get_auth_data()
1111 ret[SHA256_LENGTH] = '\0'; in mysqlnd_caching_sha2_get_auth_data()

Completed in 8 milliseconds