Lines Matching refs:sig_len

1530 …php_stream *fp, size_t end_of_phar, uint32_t sig_type, char *sig, size_t sig_len, char *fname, cha…  in phar_verify_signature()  argument
1586 tempsig = sig_len; in phar_verify_signature()
1600 sig_len = tempsig; in phar_verify_signature()
1654 if (EVP_VerifyFinal(md_ctx, (unsigned char *)sig, sig_len, key) != 1) { in phar_verify_signature()
1671 *signature_len = phar_hex_str((const char*)sig, sig_len, signature); in phar_verify_signature()
1678 if (sig_len < sizeof(digest)) { in phar_verify_signature()
1718 if (sig_len < sizeof(digest)) { in phar_verify_signature()
1758 if (sig_len < sizeof(digest)) { in phar_verify_signature()
1798 if (sig_len < sizeof(digest)) { in phar_verify_signature()
1847 size_t sig_len; in phar_create_signature() local
1863 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) { in phar_create_signature()
1864 PHP_SHA512Update(&context, buf, sig_len); in phar_create_signature()
1881 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) { in phar_create_signature()
1882 PHP_SHA256Update(&context, buf, sig_len); in phar_create_signature()
1949 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) { in phar_create_signature()
1950 if (!EVP_SignUpdate(md_ctx, buf, sig_len)) { in phar_create_signature()
1995 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) { in phar_create_signature()
1996 PHP_SHA1Update(&context, buf, sig_len); in phar_create_signature()
2010 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) { in phar_create_signature()
2011 PHP_MD5Update(&context, buf, sig_len); in phar_create_signature()
2021 phar->sig_len = phar_hex_str((const char *)*signature, *signature_length, &phar->signature); in phar_create_signature()