Home
last modified time | relevance | path

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

/PHP-5.6/ext/hash/
H A Dhash.c179 char *hex_digest = safe_emalloc(ops->digest_size, 2, 1); in php_hash_do_hash() local
181 php_hash_bin2hex(hex_digest, (unsigned char *) digest, ops->digest_size); in php_hash_do_hash()
182 hex_digest[2 * ops->digest_size] = 0; in php_hash_do_hash()
184 RETURN_STRINGL(hex_digest, 2 * ops->digest_size, 0); in php_hash_do_hash()
307 char *hex_digest = safe_emalloc(ops->digest_size, 2, 1); in php_hash_do_hash_hmac() local
310 hex_digest[2 * ops->digest_size] = 0; in php_hash_do_hash_hmac()
312 RETURN_STRINGL(hex_digest, 2 * ops->digest_size, 0); in php_hash_do_hash_hmac()
546 char *hex_digest = safe_emalloc(digest_len,2,1); in PHP_FUNCTION() local
548 php_hash_bin2hex(hex_digest, (unsigned char *) digest, digest_len); in PHP_FUNCTION()
549 hex_digest[2 * digest_len] = 0; in PHP_FUNCTION()
[all …]

Completed in 8 milliseconds