Lines Matching refs:siglen
4796 int siglen; in PHP_FUNCTION() local
4831 siglen = EVP_PKEY_size(pkey); in PHP_FUNCTION()
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()
5155 int siglen; in PHP_FUNCTION() local
5167 siglen = EVP_MD_size(mdtype); in PHP_FUNCTION()
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()
5177 int digest_str_len = siglen * 2; in PHP_FUNCTION()
5180 make_digest_ex(digest_str, sigbuf, siglen); in PHP_FUNCTION()