Lines Matching refs:sigbuf
4797 unsigned char *sigbuf; in PHP_FUNCTION() local
4832 sigbuf = emalloc(siglen + 1); in PHP_FUNCTION()
4836 if (EVP_SignFinal (&md_ctx, sigbuf,(unsigned int *)&siglen, pkey)) { in PHP_FUNCTION()
4838 sigbuf[siglen] = '\0'; in PHP_FUNCTION()
4839 ZVAL_STRINGL(signature, (char *)sigbuf, siglen, 0); in PHP_FUNCTION()
4842 efree(sigbuf); in PHP_FUNCTION()
5156 unsigned char *sigbuf; in PHP_FUNCTION() local
5168 sigbuf = emalloc(siglen + 1); in PHP_FUNCTION()
5172 if (EVP_DigestFinal (&md_ctx, (unsigned char *)sigbuf, (unsigned int *)&siglen)) { in PHP_FUNCTION()
5174 sigbuf[siglen] = '\0'; in PHP_FUNCTION()
5175 RETVAL_STRINGL((char *)sigbuf, siglen, 0); in PHP_FUNCTION()
5180 make_digest_ex(digest_str, sigbuf, siglen); in PHP_FUNCTION()
5181 efree(sigbuf); in PHP_FUNCTION()
5185 efree(sigbuf); in PHP_FUNCTION()