Lines Matching refs:siglen
6729 unsigned int siglen; in PHP_FUNCTION() local
6764 siglen = EVP_PKEY_size(pkey); in PHP_FUNCTION()
6765 sigbuf = zend_string_alloc(siglen, 0); in PHP_FUNCTION()
6771 EVP_SignFinal(md_ctx, (unsigned char*)ZSTR_VAL(sigbuf), &siglen, pkey)) { in PHP_FUNCTION()
6772 ZSTR_VAL(sigbuf)[siglen] = '\0'; in PHP_FUNCTION()
6773 ZSTR_LEN(sigbuf) = siglen; in PHP_FUNCTION()
7155 unsigned int siglen; in PHP_FUNCTION() local
7167 siglen = EVP_MD_size(mdtype); in PHP_FUNCTION()
7168 sigbuf = zend_string_alloc(siglen, 0); in PHP_FUNCTION()
7173 EVP_DigestFinal (md_ctx, (unsigned char *)ZSTR_VAL(sigbuf), &siglen)) { in PHP_FUNCTION()
7175 ZSTR_VAL(sigbuf)[siglen] = '\0'; in PHP_FUNCTION()
7176 ZSTR_LEN(sigbuf) = siglen; in PHP_FUNCTION()
7179 int digest_str_len = siglen * 2; in PHP_FUNCTION()
7182 make_digest_ex(ZSTR_VAL(digest_str), (unsigned char*)ZSTR_VAL(sigbuf), siglen); in PHP_FUNCTION()