Searched refs:hex_digest (Results 1 – 1 of 1) sorted by relevance
/PHP-8.3/ext/hash/ |
H A D | hash.c | 411 zend_string *hex_digest = zend_string_safe_alloc(ops->digest_size, 2, 0, 0); in php_hash_do_hash() local 413 php_hash_bin2hex(ZSTR_VAL(hex_digest), (unsigned char *) ZSTR_VAL(digest), ops->digest_size); in php_hash_do_hash() 414 ZSTR_VAL(hex_digest)[2 * ops->digest_size] = 0; in php_hash_do_hash() local 416 RETURN_NEW_STR(hex_digest); in php_hash_do_hash() 568 zend_string *hex_digest = zend_string_safe_alloc(ops->digest_size, 2, 0, 0); in php_hash_do_hash_hmac() local 571 ZSTR_VAL(hex_digest)[2 * ops->digest_size] = 0; in php_hash_do_hash_hmac() local 573 RETURN_NEW_STR(hex_digest); in php_hash_do_hash_hmac() 827 zend_string *hex_digest = zend_string_safe_alloc(digest_len, 2, 0, 0); in PHP_FUNCTION() local 829 php_hash_bin2hex(ZSTR_VAL(hex_digest), (unsigned char *) ZSTR_VAL(digest), digest_len); in PHP_FUNCTION() 830 ZSTR_VAL(hex_digest)[2 * digest_len] = 0; in PHP_FUNCTION() local [all …]
|
Completed in 11 milliseconds