Home
last modified time | relevance | path

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

/php-src/ext/phar/
H A Dutil.c1882 unsigned char *sigbuf; in phar_create_signature() local
1927 sigbuf = emalloc(siglen + 1); in phar_create_signature()
1931 efree(sigbuf); in phar_create_signature()
1941 efree(sigbuf); in phar_create_signature()
1949 if (!EVP_SignFinal (md_ctx, sigbuf, &siglen, key)) { in phar_create_signature()
1951 efree(sigbuf); in phar_create_signature()
1958 sigbuf[siglen] = '\0'; in phar_create_signature()
1963 sigbuf = NULL; in phar_create_signature()
1967 …), PHAR_G(openssl_privatekey), PHAR_G(openssl_privatekey_len), (char **)&sigbuf, &siglen, phar->si… in phar_create_signature()
1974 *signature = (char *) sigbuf; in phar_create_signature()
H A Dtar.c972 char *buf, *signature, sigbuf[8]; in phar_tar_flush() local
1209 PHAR_SET_32(sigbuf, phar->sig_flags); in phar_tar_flush()
1210 PHAR_SET_32(sigbuf + 4, signature_length); in phar_tar_flush()
1212 …if (8 != php_stream_write(entry.fp, sigbuf, 8) || signature_length != php_stream_write(entry.fp, s… in phar_tar_flush()
H A Dzip.c1183 char *signature, sigbuf[8]; in phar_zip_applysignature() local
1225 PHAR_SET_32(sigbuf, phar->sig_flags); in phar_zip_applysignature()
1226 PHAR_SET_32(sigbuf + 4, signature_length); in phar_zip_applysignature()
1228 …if (Z_UL(8) != php_stream_write(entry.fp, sigbuf, 8) || signature_length != php_stream_write(entry… in phar_zip_applysignature()
/php-src/ext/openssl/
H A Dopenssl.c7134 zend_string *sigbuf = NULL; local
7185 ZSTR_VAL(sigbuf)[siglen] = '\0'; local
7186 ZSTR_LEN(sigbuf) = siglen;
7191 efree(sigbuf);
7575 zend_string *sigbuf; local
7587 sigbuf = zend_string_alloc(siglen, 0);
7594 ZSTR_VAL(sigbuf)[siglen] = '\0'; local
7595 ZSTR_LEN(sigbuf) = siglen;
7596 RETVAL_STR(sigbuf);
7603 zend_string_release_ex(sigbuf, 0);
[all …]

Completed in 34 milliseconds