Searched refs:SHA256_LENGTH (Results 1 – 1 of 1) sorted by relevance
976 #define SHA256_LENGTH 32 macro982 zend_uchar sha1[SHA256_LENGTH]; in php_mysqlnd_scramble_sha2()983 zend_uchar sha2[SHA256_LENGTH]; in php_mysqlnd_scramble_sha2()992 PHP_SHA256Update(&context, (zend_uchar*)sha1, SHA256_LENGTH); in php_mysqlnd_scramble_sha2()997 PHP_SHA256Update(&context, (zend_uchar*)sha2, SHA256_LENGTH); in php_mysqlnd_scramble_sha2()1002 php_mysqlnd_crypt(buffer, (const zend_uchar *)sha1, (const zend_uchar *)buffer, SHA256_LENGTH); in php_mysqlnd_scramble_sha2()1111 ret = malloc(SHA256_LENGTH + 1); in mysqlnd_caching_sha2_get_auth_data()1112 *auth_data_len = SHA256_LENGTH; in mysqlnd_caching_sha2_get_auth_data()1114 ret[SHA256_LENGTH] = '\0'; in mysqlnd_caching_sha2_get_auth_data()
Completed in 14 milliseconds