Home
last modified time | relevance | path

Searched refs:sigbuf (Results 1 – 4 of 4) sorted by relevance

/PHP-5.6/ext/phar/
H A Dutil.c1882 unsigned char *sigbuf; local
1910 sigbuf = emalloc(siglen + 1);
1913 efree(sigbuf);
1922 efree(sigbuf);
1930 if (!EVP_SignFinal (md_ctx, sigbuf,(unsigned int *)&siglen, key)) {
1931 efree(sigbuf);
1938 sigbuf[siglen] = '\0';
1941 sigbuf = NULL;
1945 …), PHAR_G(openssl_privatekey), PHAR_G(openssl_privatekey_len), (char **)&sigbuf, &siglen TSRMLS_CC…
1952 *signature = (char *) sigbuf;
H A Dtar.c952 char *buf, *signature, *tmp, sigbuf[8]; in phar_tar_flush() local
1227 PHAR_SET_32(sigbuf, phar->sig_flags); in phar_tar_flush()
1228 PHAR_SET_32(sigbuf + 4, signature_length); in phar_tar_flush()
1230 …if (8 != (int)php_stream_write(entry.fp, sigbuf, 8) || signature_length != (int)php_stream_write(e… in phar_tar_flush()
H A Dzip.c1085 char *signature, sigbuf[8]; in phar_zip_applysignature() local
1127 PHAR_SET_32(sigbuf, phar->sig_flags); in phar_zip_applysignature()
1128 PHAR_SET_32(sigbuf + 4, signature_length); in phar_zip_applysignature()
1130 …if (8 != (int)php_stream_write(entry.fp, sigbuf, 8) || signature_length != (int)php_stream_write(e… in phar_zip_applysignature()
/PHP-5.6/ext/openssl/
H A Dopenssl.c4797 unsigned char *sigbuf; in PHP_FUNCTION() local
4832 sigbuf = emalloc(siglen + 1); in PHP_FUNCTION()
4838 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()
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()
[all …]

Completed in 34 milliseconds