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()
1472 *signature = estrndup(Z_STRVAL(zp[1]), Z_STRLEN(zp[1])); in phar_call_openssl_signverify()
1484 …phar, uint32_t sig_type, char *sig, size_t sig_len, char *fname, char **signature, size_t *signatu… in phar_verify_signature() argument
1629 *signature_len = phar_hex_str((const char*)sig, sig_len, signature); in phar_verify_signature()
1669 *signature_len = phar_hex_str((const char*)digest, sizeof(digest), signature); in phar_verify_signature()
1709 *signature_len = phar_hex_str((const char*)digest, sizeof(digest), signature); in phar_verify_signature()
1749 *signature_len = phar_hex_str((const char*)digest, sizeof(digest), signature); in phar_verify_signature()
1789 *signature_len = phar_hex_str((const char*)digest, sizeof(digest), signature); in phar_verify_signature()
1802 int phar_create_signature(phar_archive_data *phar, php_stream *fp, char **signature, size_t *signat… in phar_create_signature() argument
1809 if (phar->signature) { in phar_create_signature()
1810 efree(phar->signature); in phar_create_signature()
1811 phar->signature = NULL; in phar_create_signature()
1826 *signature = estrndup((char *) digest, 64); in phar_create_signature()
1844 *signature = estrndup((char *) digest, 32); in phar_create_signature()
1936 *signature = (char *) sigbuf; in phar_create_signature()
1951 *signature = estrndup((char *) digest, 20); in phar_create_signature()
1966 *signature = estrndup((char *) digest, 16); in phar_create_signature()
1972 phar->sig_len = phar_hex_str((const char *)*signature, *signature_length, &phar->signature); in phar_create_signature()
2051 if (phar->signature) { in phar_copy_cached_phar()
2052 phar->signature = estrdup(phar->signature); in phar_copy_cached_phar()