Searched refs:signature_len (Results 1 – 5 of 5) sorted by relevance
/php-src/ext/phar/ |
H A D | util.c | 39 … zend_off_t end, char *key, size_t key_len, char **signature, size_t *signature_len, uint32_t sig_… 1430 … zend_off_t end, char *key, size_t key_len, char **signature, size_t *signature_len, uint32_t sig_… in phar_call_openssl_signverify() argument 1447 if (*signature_len) { in phar_call_openssl_signverify() 1448 ZVAL_STRINGL(&zp[1], *signature, *signature_len); in phar_call_openssl_signverify() 1507 *signature_len = Z_STRLEN(zp[1]); in phar_call_openssl_signverify() 1519 …pe, char *sig, size_t sig_len, char *fname, char **signature, size_t *signature_len, char **error)… in phar_verify_signature() argument 1660 *signature_len = phar_hex_str((const char*)sig, sig_len, signature); in phar_verify_signature() 1700 *signature_len = phar_hex_str((const char*)digest, sizeof(digest), signature); in phar_verify_signature() 1740 *signature_len = phar_hex_str((const char*)digest, sizeof(digest), signature); in phar_verify_signature() 1780 *signature_len = phar_hex_str((const char*)digest, sizeof(digest), signature); in phar_verify_signature() [all …]
|
H A D | phar.c | 866 uint32_t signature_len; in phar_parse_pharfile() local 882 PHAR_GET_32(sig_ptr, signature_len); in phar_parse_pharfile() 883 sig = (char *) emalloc(signature_len); in phar_parse_pharfile() 884 whence = signature_len + 4; in phar_parse_pharfile() 889 || signature_len != php_stream_read(fp, sig, signature_len)) { in phar_parse_pharfile() 899 …if (FAILURE == phar_verify_signature(fp, end_of_phar, sig_flags, sig, signature_len, fname, &signa… in phar_parse_pharfile()
|
H A D | phar_internal.h | 415 …pe, char *sig, size_t sig_len, char *fname, char **signature, size_t *signature_len, char **error);
|
/php-src/ext/sodium/ |
H A D | libsodium.c | 1184 size_t signature_len; in PHP_FUNCTION() local 1187 &signature, &signature_len, in PHP_FUNCTION() 1193 if (signature_len != crypto_sign_BYTES) { in PHP_FUNCTION()
|
/php-src/ext/openssl/ |
H A D | openssl.c | 7210 size_t signature_len; local 7217 Z_PARAM_STRING(signature, signature_len) 7223 PHP_OPENSSL_CHECK_SIZE_T_TO_UINT(signature_len, signature, 2); 7247 …(err = EVP_DigestVerify(md_ctx, (unsigned char *)signature, signature_len, (unsigned char*)data, d… 7251 …(err = EVP_VerifyFinal(md_ctx, (unsigned char *)signature, (unsigned int)signature_len, pkey)) < 0…
|
Completed in 68 milliseconds