Searched refs:SHA256_LENGTH (Results 1 – 1 of 1) sorted by relevance
980 #define SHA256_LENGTH 32 macro986 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 10 milliseconds