Home
last modified time | relevance | path

Searched refs:sig_len (Results 1 – 6 of 6) sorted by relevance

/php-src/ext/phar/
H A Dutil.c1575 tempsig = sig_len; in phar_verify_signature()
1589 sig_len = tempsig; in phar_verify_signature()
1667 if (sig_len < sizeof(digest)) { in phar_verify_signature()
1707 if (sig_len < sizeof(digest)) { in phar_verify_signature()
1747 if (sig_len < sizeof(digest)) { in phar_verify_signature()
1787 if (sig_len < sizeof(digest)) { in phar_verify_signature()
1836 size_t sig_len; in phar_create_signature() local
1853 PHP_SHA512Update(&context, buf, sig_len); in phar_create_signature()
1871 PHP_SHA256Update(&context, buf, sig_len); in phar_create_signature()
1985 PHP_SHA1Update(&context, buf, sig_len); in phar_create_signature()
[all …]
H A Dphar_internal.h269 uint32_t sig_len; member
415 …php_stream *fp, size_t end_of_phar, uint32_t sig_type, char *sig, size_t sig_len, char *fname, cha…
H A Dtar.c285 size_t sig_len; in phar_parse_tarfile() local
314 … - size - 512, myphar->sig_flags, buf + 8, size - 8, fname, &myphar->signature, &sig_len, error)) { in phar_parse_tarfile()
322 myphar->sig_len = sig_len; in phar_parse_tarfile()
H A Dphar.c742 size_t sig_len; in phar_parse_pharfile() local
899 …fy_signature(fp, end_of_phar, sig_flags, sig, signature_len, fname, &signature, &sig_len, error)) { in phar_parse_pharfile()
928 …signature(fp, read_len, PHAR_SIG_SHA512, (char *)digest, 64, fname, &signature, &sig_len, error)) { in phar_parse_pharfile()
955 …signature(fp, read_len, PHAR_SIG_SHA256, (char *)digest, 32, fname, &signature, &sig_len, error)) { in phar_parse_pharfile()
982 …y_signature(fp, read_len, PHAR_SIG_SHA1, (char *)digest, 20, fname, &signature, &sig_len, error)) { in phar_parse_pharfile()
1009 …fy_signature(fp, read_len, PHAR_SIG_MD5, (char *)digest, 16, fname, &signature, &sig_len, error)) { in phar_parse_pharfile()
1040 sig_len = 0; in phar_parse_pharfile()
1256 mydata->sig_len = sig_len; in phar_parse_pharfile()
H A Dzip.c490 size_t sig_len; in phar_parse_zipfile() local
522 …sig_flags, sig + 8, entry.uncompressed_filesize - 8, fname, &mydata->signature, &sig_len, error)) { in phar_parse_zipfile()
535 mydata->sig_len = sig_len; in phar_parse_zipfile()
H A Dphar_object.c3086 add_assoc_stringl(return_value, "hash", phar_obj->archive->signature, phar_obj->archive->sig_len); in PHP_METHOD()

Completed in 38 milliseconds