Lines Matching refs:siglen
7170 size_t siglen; local
7174 EVP_DigestSign(md_ctx, NULL, &siglen, (unsigned char*)data, data_len) &&
7175 (sigbuf = zend_string_alloc(siglen, 0)) != NULL &&
7176 …EVP_DigestSign(md_ctx, (unsigned char*)ZSTR_VAL(sigbuf), &siglen, (unsigned char*)data, data_len))…
7181 (siglen = EVP_PKEY_size(pkey)) &&
7182 (sigbuf = zend_string_alloc(siglen, 0)) != NULL &&
7183 EVP_SignFinal(md_ctx, (unsigned char*)ZSTR_VAL(sigbuf), (unsigned int*)&siglen, pkey)) {
7185 ZSTR_VAL(sigbuf)[siglen] = '\0';
7186 ZSTR_LEN(sigbuf) = siglen;
7574 unsigned int siglen; local
7586 siglen = EVP_MD_size(mdtype);
7587 sigbuf = zend_string_alloc(siglen, 0);
7592 EVP_DigestFinal (md_ctx, (unsigned char *)ZSTR_VAL(sigbuf), &siglen)) {
7594 ZSTR_VAL(sigbuf)[siglen] = '\0';
7595 ZSTR_LEN(sigbuf) = siglen;
7598 int digest_str_len = siglen * 2;
7601 make_digest_ex(ZSTR_VAL(digest_str), (unsigned char*)ZSTR_VAL(sigbuf), siglen);