Lines Matching refs:signature

41 …is_sign, php_stream *fp, zend_off_t end, char *key, int key_len, char **signature, int *signature_…
1378 static int phar_hex_str(const char *digest, size_t digest_len, char **signature) /* {{{ */ in phar_hex_str() argument
1383 *signature = (char*)safe_pemalloc(digest_len, 2, 1, PHAR_G(persist)); in phar_hex_str()
1386 (*signature)[++pos] = hexChars[((const unsigned char *)digest)[len] >> 4]; in phar_hex_str()
1387 (*signature)[++pos] = hexChars[((const unsigned char *)digest)[len] & 0x0F]; in phar_hex_str()
1389 (*signature)[++pos] = '\0'; in phar_hex_str()
1395 …is_sign, php_stream *fp, zend_off_t end, char *key, int key_len, char **signature, int *signature_… in phar_call_openssl_signverify() argument
1403 ZVAL_STRINGL(&zp[1], *signature, *signature_len); in phar_call_openssl_signverify()
1471 *signature = estrndup(Z_STRVAL(zp[1]), Z_STRLEN(zp[1])); in phar_call_openssl_signverify()
1483 …_phar, php_uint32 sig_type, char *sig, int sig_len, char *fname, char **signature, int *signature_… in phar_verify_signature() argument
1605 *signature_len = phar_hex_str((const char*)sig, sig_len, signature); in phar_verify_signature()
1646 *signature_len = phar_hex_str((const char*)digest, sizeof(digest), signature); in phar_verify_signature()
1686 *signature_len = phar_hex_str((const char*)digest, sizeof(digest), signature); in phar_verify_signature()
1734 *signature_len = phar_hex_str((const char*)digest, sizeof(digest), signature); in phar_verify_signature()
1774 *signature_len = phar_hex_str((const char*)digest, sizeof(digest), signature); in phar_verify_signature()
1787 int phar_create_signature(phar_archive_data *phar, php_stream *fp, char **signature, int *signature… in phar_create_signature() argument
1794 if (phar->signature) { in phar_create_signature()
1795 efree(phar->signature); in phar_create_signature()
1796 phar->signature = NULL; in phar_create_signature()
1812 *signature = estrndup((char *) digest, 64); in phar_create_signature()
1827 *signature = estrndup((char *) digest, 32); in phar_create_signature()
1912 *signature = (char *) sigbuf; in phar_create_signature()
1929 *signature = estrndup((char *) digest, 20); in phar_create_signature()
1944 *signature = estrndup((char *) digest, 16); in phar_create_signature()
1950 phar->sig_len = phar_hex_str((const char *)*signature, *signature_length, &phar->signature); in phar_create_signature()
2027 if (phar->signature) { in phar_copy_cached_phar()
2028 phar->signature = estrdup(phar->signature); in phar_copy_cached_phar()