Lines Matching refs:signature
39 …sign, php_stream *fp, zend_off_t end, char *key, size_t key_len, char **signature, size_t *signatu…
1413 static int phar_hex_str(const char *digest, size_t digest_len, char **signature) /* {{{ */ in phar_hex_str() argument
1418 *signature = (char*)safe_pemalloc(digest_len, 2, 1, PHAR_G(persist)); in phar_hex_str()
1421 (*signature)[++pos] = hexChars[((const unsigned char *)digest)[len] >> 4]; in phar_hex_str()
1422 (*signature)[++pos] = hexChars[((const unsigned char *)digest)[len] & 0x0F]; in phar_hex_str()
1424 (*signature)[++pos] = '\0'; in phar_hex_str()
1430 …sign, php_stream *fp, zend_off_t end, char *key, size_t key_len, char **signature, size_t *signatu… in phar_call_openssl_signverify() argument
1448 ZVAL_STRINGL(&zp[1], *signature, *signature_len); in phar_call_openssl_signverify()
1506 *signature = estrndup(Z_STRVAL(zp[1]), Z_STRLEN(zp[1])); in phar_call_openssl_signverify()
1519 …phar, uint32_t sig_type, char *sig, size_t sig_len, char *fname, char **signature, size_t *signatu… in phar_verify_signature() argument
1660 *signature_len = phar_hex_str((const char*)sig, sig_len, signature); in phar_verify_signature()
1700 *signature_len = phar_hex_str((const char*)digest, sizeof(digest), signature); in phar_verify_signature()
1740 *signature_len = phar_hex_str((const char*)digest, sizeof(digest), signature); in phar_verify_signature()
1780 *signature_len = phar_hex_str((const char*)digest, sizeof(digest), signature); in phar_verify_signature()
1820 *signature_len = phar_hex_str((const char*)digest, sizeof(digest), signature); in phar_verify_signature()
1833 zend_result phar_create_signature(phar_archive_data *phar, php_stream *fp, char **signature, size_t… in phar_create_signature() argument
1840 if (phar->signature) { in phar_create_signature()
1841 efree(phar->signature); in phar_create_signature()
1842 phar->signature = NULL; in phar_create_signature()
1857 *signature = estrndup((char *) digest, 64); in phar_create_signature()
1875 *signature = estrndup((char *) digest, 32); in phar_create_signature()
1974 *signature = (char *) sigbuf; in phar_create_signature()
1989 *signature = estrndup((char *) digest, 20); in phar_create_signature()
2004 *signature = estrndup((char *) digest, 16); in phar_create_signature()
2010 phar->sig_len = phar_hex_str((const char *)*signature, *signature_length, &phar->signature); in phar_create_signature()
2089 if (phar->signature) { in phar_copy_cached_phar()
2090 phar->signature = estrdup(phar->signature); in phar_copy_cached_phar()