Lines Matching refs:siglen
6535 unsigned int siglen; in PHP_FUNCTION() local
6570 siglen = EVP_PKEY_size(pkey); in PHP_FUNCTION()
6571 sigbuf = zend_string_alloc(siglen, 0); in PHP_FUNCTION()
6577 EVP_SignFinal(md_ctx, (unsigned char*)ZSTR_VAL(sigbuf), &siglen, pkey)) { in PHP_FUNCTION()
6578 ZSTR_VAL(sigbuf)[siglen] = '\0'; in PHP_FUNCTION()
6579 ZSTR_LEN(sigbuf) = siglen; in PHP_FUNCTION()
6929 unsigned int siglen; in PHP_FUNCTION() local
6941 siglen = EVP_MD_size(mdtype); in PHP_FUNCTION()
6942 sigbuf = zend_string_alloc(siglen, 0); in PHP_FUNCTION()
6947 EVP_DigestFinal (md_ctx, (unsigned char *)ZSTR_VAL(sigbuf), &siglen)) { in PHP_FUNCTION()
6949 ZSTR_VAL(sigbuf)[siglen] = '\0'; in PHP_FUNCTION()
6950 ZSTR_LEN(sigbuf) = siglen; in PHP_FUNCTION()
6953 int digest_str_len = siglen * 2; in PHP_FUNCTION()
6956 make_digest_ex(ZSTR_VAL(digest_str), (unsigned char*)ZSTR_VAL(sigbuf), siglen); in PHP_FUNCTION()