Lines Matching refs:signature
37 …sign, php_stream *fp, zend_off_t end, char *key, size_t key_len, char **signature, size_t *signatu…
1367 static int phar_hex_str(const char *digest, size_t digest_len, char **signature) /* {{{ */ in phar_hex_str() argument
1372 *signature = (char*)safe_pemalloc(digest_len, 2, 1, PHAR_G(persist)); in phar_hex_str()
1375 (*signature)[++pos] = hexChars[((const unsigned char *)digest)[len] >> 4]; in phar_hex_str()
1376 (*signature)[++pos] = hexChars[((const unsigned char *)digest)[len] & 0x0F]; in phar_hex_str()
1378 (*signature)[++pos] = '\0'; in phar_hex_str()
1384 …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
1393 ZVAL_STRINGL(&zp[1], *signature, *signature_len); in phar_call_openssl_signverify()
1464 *signature = estrndup(Z_STRVAL(zp[1]), Z_STRLEN(zp[1])); in phar_call_openssl_signverify()
1476 …phar, uint32_t sig_type, char *sig, size_t sig_len, char *fname, char **signature, size_t *signatu… in phar_verify_signature() argument
1600 *signature_len = phar_hex_str((const char*)sig, sig_len, signature); in phar_verify_signature()
1640 *signature_len = phar_hex_str((const char*)digest, sizeof(digest), signature); in phar_verify_signature()
1680 *signature_len = phar_hex_str((const char*)digest, sizeof(digest), signature); in phar_verify_signature()
1720 *signature_len = phar_hex_str((const char*)digest, sizeof(digest), signature); in phar_verify_signature()
1760 *signature_len = phar_hex_str((const char*)digest, sizeof(digest), signature); in phar_verify_signature()
1773 int phar_create_signature(phar_archive_data *phar, php_stream *fp, char **signature, size_t *signat… in phar_create_signature() argument
1780 if (phar->signature) { in phar_create_signature()
1781 efree(phar->signature); in phar_create_signature()
1782 phar->signature = NULL; in phar_create_signature()
1797 *signature = estrndup((char *) digest, 64); in phar_create_signature()
1812 *signature = estrndup((char *) digest, 32); in phar_create_signature()
1893 *signature = (char *) sigbuf; in phar_create_signature()
1910 *signature = estrndup((char *) digest, 20); in phar_create_signature()
1925 *signature = estrndup((char *) digest, 16); in phar_create_signature()
1931 phar->sig_len = phar_hex_str((const char *)*signature, *signature_length, &phar->signature); in phar_create_signature()
2010 if (phar->signature) { in phar_copy_cached_phar()
2011 phar->signature = estrdup(phar->signature); in phar_copy_cached_phar()