/openssl/ssl/record/methods/ |
H A D | tlsany_meth.c | 67 if (HAS_PREFIX((char *)p, "GET ") || in tls_validate_record_header() 68 HAS_PREFIX((char *)p, "POST ") || in tls_validate_record_header() 69 HAS_PREFIX((char *)p, "HEAD ") || in tls_validate_record_header() 70 HAS_PREFIX((char *)p, "PUT ")) { in tls_validate_record_header() 73 } else if (HAS_PREFIX((char *)p, "CONNE")) { in tls_validate_record_header()
|
/openssl/crypto/x509/ |
H A D | v3_cpols.c | 273 if (len == sizeof("UTF8") - 1 && HAS_PREFIX(tagstr, "UTF8")) in displaytext_str2tag() 275 if (len == sizeof("UTF8String") - 1 && HAS_PREFIX(tagstr, "UTF8String")) in displaytext_str2tag() 277 if (len == sizeof("BMP") - 1 && HAS_PREFIX(tagstr, "BMP")) in displaytext_str2tag() 279 if (len == sizeof("BMPSTRING") - 1 && HAS_PREFIX(tagstr, "BMPSTRING")) in displaytext_str2tag() 281 if (len == sizeof("VISIBLE") - 1 && HAS_PREFIX(tagstr, "VISIBLE")) in displaytext_str2tag() 283 if (len == sizeof("VISIBLESTRING") - 1 && HAS_PREFIX(tagstr, "VISIBLESTRING")) in displaytext_str2tag()
|
H A D | v3_ncons.c | 164 if (HAS_PREFIX(val->name, "permitted") && val->name[9]) { in v2i_NAME_CONSTRAINTS() 167 } else if (HAS_PREFIX(val->name, "excluded") && val->name[8]) { in v2i_NAME_CONSTRAINTS()
|
H A D | v3_crld.c | 78 if (HAS_PREFIX(cnf->name, "fullname")) { in set_dist_point_name()
|
/openssl/crypto/asn1/ |
H A D | asn1_gen.c | 328 if (HAS_PREFIX(vstart, "ASCII")) in asn1_cb() 330 else if (HAS_PREFIX(vstart, "UTF8")) in asn1_cb() 332 else if (HAS_PREFIX(vstart, "HEX")) in asn1_cb() 334 else if (HAS_PREFIX(vstart, "BITLIST")) in asn1_cb() 769 if (len == 3 && HAS_PREFIX(elem, "DIR")) { in mask_cb()
|
H A D | asn_mime.c | 1001 return HAS_PREFIX(line + blen, "--") ? 2 : 1; in mime_bound_check()
|
/openssl/include/internal/ |
H A D | common.h | 58 #define HAS_PREFIX(str, pre) (strncmp(str, pre "", sizeof(pre) - 1) == 0) macro 61 (HAS_PREFIX(str, pre) ? ((str) += sizeof(pre) - 1, 1) : 0)
|
/openssl/test/testutil/ |
H A D | stanza.c | 57 if (HAS_PREFIX(tmpbuf, "-----END")) in read_key()
|
/openssl/crypto/pem/ |
H A D | pem_lib.c | 782 } while (!HAS_PREFIX(linebuf, BEGINSTR) in get_name() 784 || !HAS_PREFIX(linebuf + len - TAILLEN, TAILSTR)); in get_name() 853 if (HAS_PREFIX(linebuf, ENDSTR) || got_header == IN_HEADER) in get_header_and_data() 880 !HAS_PREFIX(p + namelen, TAILSTR)) { in get_header_and_data()
|
/openssl/crypto/http/ |
H A D | http_client.c | 205 } else if (HAS_PREFIX(path, "http://")) { /* absoluteURI for proxy use */ in OSSL_HTTP_REQ_CTX_set_request_line() 1202 if (HAS_PREFIX(old_url, OSSL_HTTPS_NAME":") && in redirection_ok() 1203 !HAS_PREFIX(new_url, OSSL_HTTPS_NAME":")) { in redirection_ok() 1483 if (!HAS_PREFIX(mbufp, HTTP_VERSION_PATT)) { in OSSL_HTTP_proxy_connect() 1493 if (!HAS_PREFIX(mbufp, " 2")) { in OSSL_HTTP_proxy_connect()
|
/openssl/crypto/ |
H A D | punycode.c | 273 if (!HAS_PREFIX(inptr, "xn--")) { in ossl_a2ulabel()
|
/openssl/test/ |
H A D | dtls_mtu_test.c | 174 if (!HAS_PREFIX(cipher_name, "PSK-")) in run_mtu_tests()
|
H A D | evp_test.c | 3383 if (HAS_PREFIX(keyword, "Entropy.")) in rand_test_parse() 3385 if (HAS_PREFIX(keyword, "ReseedEntropy.")) in rand_test_parse() 3388 if (HAS_PREFIX(keyword, "Nonce.")) in rand_test_parse() 3390 if (HAS_PREFIX(keyword, "PersonalisationString.")) in rand_test_parse() 3392 if (HAS_PREFIX(keyword, "ReseedAdditionalInput.")) in rand_test_parse() 3395 if (HAS_PREFIX(keyword, "AdditionalInputA.")) in rand_test_parse() 3397 if (HAS_PREFIX(keyword, "AdditionalInputB.")) in rand_test_parse() 3399 if (HAS_PREFIX(keyword, "EntropyPredictionResistanceA.")) in rand_test_parse() 3403 if (HAS_PREFIX(keyword, "Output.")) in rand_test_parse() 3735 if (HAS_PREFIX(keyword, "Ctrl")) in kdf_test_parse() [all …]
|
H A D | http_test.c | 69 if (!HAS_PREFIX(path, RPATH)) { in mock_http_server()
|
/openssl/ssl/ |
H A D | ssl_ciph.c | 1191 if ((buflen == 8) && HAS_PREFIX(buf, "STRENGTH")) { in ssl_cipher_process_rulestr() 1234 if (HAS_PREFIX(*prule_str, "SUITEB128ONLY")) { in check_suiteb_cipher_list() 1236 } else if (HAS_PREFIX(*prule_str, "SUITEB128C2")) { in check_suiteb_cipher_list() 1239 } else if (HAS_PREFIX(*prule_str, "SUITEB128")) { in check_suiteb_cipher_list() 1241 } else if (HAS_PREFIX(*prule_str, "SUITEB192")) { in check_suiteb_cipher_list() 1591 if (HAS_PREFIX(rule_str, "DEFAULT")) { in STACK_OF()
|
H A D | ssl_rsa.c | 907 if (HAS_PREFIX(name, NAME_PREFIX1)) { in SSL_CTX_use_serverinfo_file() 914 if (!HAS_PREFIX(name, NAME_PREFIX2)) { in SSL_CTX_use_serverinfo_file()
|
/openssl/crypto/cmp/ |
H A D | cmp_util.c | 56 if (HAS_PREFIX(level, OSSL_CMP_LOG_PREFIX)) in parse_level()
|
/openssl/apps/ |
H A D | fipsinstall.c | 741 if (HAS_PREFIX(opt_arg(), "hexkey:")) in fipsinstall_main() 743 else if (HAS_PREFIX(opt_arg(), "digest:")) in fipsinstall_main()
|
H A D | s_server.c | 3319 if ((www == 1 && HAS_PREFIX(buf, "GET ")) in www_body() 3320 || (www == 2 && HAS_PREFIX(buf, "GET /stats "))) { in www_body() 3325 if (www == 1 && HAS_PREFIX(buf, "GET /reneg")) { in www_body() 3326 if (HAS_PREFIX(buf, "GET /renegcert")) in www_body() 3765 if (!s_ign_eof && i == 5 && HAS_PREFIX(buf, "CLOSE")) { in rev_body()
|
H A D | speed.c | 2331 if (HAS_PREFIX(algo, "rsa")) { in speed_main() 2342 if (HAS_PREFIX(algo, "ffdh")) { in speed_main() 2354 if (HAS_PREFIX(algo, "dsa")) { in speed_main() 2373 if (HAS_PREFIX(algo, "ecdsa")) { in speed_main() 2383 if (HAS_PREFIX(algo, "ecdh")) { in speed_main() 5022 } else if (!HAS_PREFIX(buf, "+H:")) { in do_multi()
|
H A D | s_client.c | 2762 if (HAS_PREFIX(mbuf, "\"STARTTLS\"")) in s_client_main() 2790 if (!HAS_PREFIX(sbuf, "OK")) { in s_client_main()
|
/openssl/apps/lib/ |
H A D | http_server.c | 360 if (!HAS_PREFIX(end, HTTP_VERSION_STR)) { in http_server_get_asn1_req()
|
H A D | apps.c | 481 #define IS_HTTP(uri) ((uri) != NULL && HAS_PREFIX(uri, OSSL_HTTP_PREFIX)) 482 #define IS_HTTPS(uri) ((uri) != NULL && HAS_PREFIX(uri, OSSL_HTTPS_PREFIX))
|
/openssl/test/helpers/ |
H A D | handshake.c | 177 if (len == strlen("server2") && HAS_PREFIX(servername, "server2")) { in client_hello_select_server_ctx() 191 HAS_PREFIX(servername, "server1")) { in client_hello_select_server_ctx()
|
/openssl/crypto/store/ |
H A D | store_lib.c | 98 if (HAS_PREFIX(p, "//")) in OSSL_STORE_open_ex()
|