Home
last modified time | relevance | path

Searched refs:HAS_PREFIX (Results 1 – 25 of 26) sorted by relevance

12

/openssl/ssl/record/methods/
H A Dtlsany_meth.c67 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 Dv3_cpols.c273 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 Dv3_ncons.c164 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 Dv3_crld.c78 if (HAS_PREFIX(cnf->name, "fullname")) { in set_dist_point_name()
/openssl/crypto/asn1/
H A Dasn1_gen.c328 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 Dasn_mime.c1001 return HAS_PREFIX(line + blen, "--") ? 2 : 1; in mime_bound_check()
/openssl/include/internal/
H A Dcommon.h58 #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 Dstanza.c57 if (HAS_PREFIX(tmpbuf, "-----END")) in read_key()
/openssl/crypto/pem/
H A Dpem_lib.c782 } 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 Dhttp_client.c205 } 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 Dpunycode.c273 if (!HAS_PREFIX(inptr, "xn--")) { in ossl_a2ulabel()
/openssl/test/
H A Ddtls_mtu_test.c174 if (!HAS_PREFIX(cipher_name, "PSK-")) in run_mtu_tests()
H A Devp_test.c3383 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 Dhttp_test.c69 if (!HAS_PREFIX(path, RPATH)) { in mock_http_server()
/openssl/ssl/
H A Dssl_ciph.c1191 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 Dssl_rsa.c907 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 Dcmp_util.c56 if (HAS_PREFIX(level, OSSL_CMP_LOG_PREFIX)) in parse_level()
/openssl/apps/
H A Dfipsinstall.c741 if (HAS_PREFIX(opt_arg(), "hexkey:")) in fipsinstall_main()
743 else if (HAS_PREFIX(opt_arg(), "digest:")) in fipsinstall_main()
H A Ds_server.c3319 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 Dspeed.c2331 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 Ds_client.c2762 if (HAS_PREFIX(mbuf, "\"STARTTLS\"")) in s_client_main()
2790 if (!HAS_PREFIX(sbuf, "OK")) { in s_client_main()
/openssl/apps/lib/
H A Dhttp_server.c360 if (!HAS_PREFIX(end, HTTP_VERSION_STR)) { in http_server_get_asn1_req()
H A Dapps.c481 #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 Dhandshake.c177 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 Dstore_lib.c98 if (HAS_PREFIX(p, "//")) in OSSL_STORE_open_ex()

Completed in 163 milliseconds

12