Lines Matching refs:sigbuf
5947 zend_string *sigbuf; in PHP_FUNCTION() local
5982 sigbuf = zend_string_alloc(siglen, 0); in PHP_FUNCTION()
5988 EVP_SignFinal(md_ctx, (unsigned char*)ZSTR_VAL(sigbuf), &siglen, pkey)) { in PHP_FUNCTION()
5990 ZSTR_VAL(sigbuf)[siglen] = '\0'; in PHP_FUNCTION() local
5991 ZSTR_LEN(sigbuf) = siglen; in PHP_FUNCTION()
5992 ZVAL_NEW_STR(signature, sigbuf); in PHP_FUNCTION()
5996 efree(sigbuf); in PHP_FUNCTION()
6362 zend_string *sigbuf; in PHP_FUNCTION() local
6374 sigbuf = zend_string_alloc(siglen, 0); in PHP_FUNCTION()
6379 EVP_DigestFinal (md_ctx, (unsigned char *)ZSTR_VAL(sigbuf), &siglen)) { in PHP_FUNCTION()
6381 ZSTR_VAL(sigbuf)[siglen] = '\0'; in PHP_FUNCTION() local
6382 ZSTR_LEN(sigbuf) = siglen; in PHP_FUNCTION()
6383 RETVAL_STR(sigbuf); in PHP_FUNCTION()
6388 make_digest_ex(ZSTR_VAL(digest_str), (unsigned char*)ZSTR_VAL(sigbuf), siglen); in PHP_FUNCTION()
6390 zend_string_release_ex(sigbuf, 0); in PHP_FUNCTION()
6395 zend_string_release_ex(sigbuf, 0); in PHP_FUNCTION()