Home
last modified time | relevance | path

Searched refs:PACKET_get_1 (Results 1 – 17 of 17) sorted by relevance

/third_party/openssl/test/
Dasynciotest.c153 if (!PACKET_get_1(&pkt, &contenttype) in async_write()
154 || !PACKET_get_1(&pkt, &versionhi) in async_write()
155 || !PACKET_get_1(&pkt, &versionlo) in async_write()
164 && !PACKET_get_1(&wholebody, &msgtype)) in async_write()
205 while (PACKET_get_1(&payload, &data)) { in async_write()
Dbad_dtls_test.c128 if (!PACKET_get_1(&pkt, &u) || u != SSL3_RT_HANDSHAKE) in validate_client_hello()
138 if (!PACKET_get_1(&pkt, &u) || u != SSL3_MT_CLIENT_HELLO) in validate_client_hello()
171 if (!PACKET_get_1(&pkt, &u) || !PACKET_forward(&pkt, u)) in validate_client_hello()
389 if (!PACKET_get_1(&pkt, &u) || u != SSL3_RT_CHANGE_CIPHER_SPEC) in validate_ccs()
399 if (!PACKET_get_1(&pkt, &u) || u != SSL3_MT_CCS) in validate_ccs()
407 if (!PACKET_get_1(&pkt, &u) || u != SSL3_RT_HANDSHAKE) in validate_ccs()
Dpackettest.c54 || !TEST_true(PACKET_get_1(&pkt, &i)) in test_PACKET_get_1()
57 || !TEST_true(PACKET_get_1(&pkt, &i)) in test_PACKET_get_1()
59 || !TEST_false(PACKET_get_1(&pkt, &i))) in test_PACKET_get_1()
Dtls13ccstest.c108 if (!PACKET_get_1(&pkt, &rectype) in watchccs_write()
116 if (!PACKET_get_1(&msg, &msgtype) in watchccs_write()
Dservername_test.c69 || !TEST_true(PACKET_get_1(&pkt4, &servname_type)) in get_sni_from_client_hello()
Dsslapitest.c4882 || !TEST_true(PACKET_get_1(&pkt3, &MFL_code))) in get_MFL_from_client_hello()
/third_party/openssl/ssl/
Dpacket_local.h267 __owur static ossl_inline int PACKET_get_1(PACKET *pkt, unsigned int *data) in PACKET_get_1() function
281 int ret = PACKET_get_1(pkt, &i); in PACKET_get_1_len()
486 if (!PACKET_get_1(&tmp, &length) || in PACKET_get_length_prefixed_1()
508 if (!PACKET_get_1(&tmp, &length) || in PACKET_as_length_prefixed_1()
Dd1_lib.c549 if (!PACKET_get_1(&pkt, &rectype) in DTLSv1_listen()
550 || !PACKET_get_1(&pkt, &versmajor)) { in DTLSv1_listen()
592 if (!PACKET_get_1(&msgpkt, &msgtype) in DTLSv1_listen()
Dssl_lib.c5388 if (!PACKET_get_1(&sslv2ciphers, &leadbyte) in ssl_cache_cipherlist()
/third_party/openssl/ssl/statem/
Dextensions_srvr.c48 if (!PACKET_get_1(pkt, &ilen) in tls_parse_ctos_renegotiate()
122 if (!PACKET_get_1(&sni, &servname_type) in tls_parse_ctos_server_name()
185 if (PACKET_remaining(pkt) != 1 || !PACKET_get_1(pkt, &value)) { in tls_parse_ctos_maxfragmentlen()
345 if (!PACKET_get_1(pkt, (unsigned int *)&s->ext.status_type)) { in tls_parse_ctos_status_request()
555 if (!PACKET_get_1(pkt, &mki_len)) { in tls_parse_ctos_use_srtp()
599 while (PACKET_get_1(&psk_kex_modes, &mode)) { in tls_parse_ctos_psk_kex_modes()
853 if (!PACKET_get_1(&cookie, &key_share) in tls_parse_ctos_cookie()
Dstatem_clnt.c1460 if (!PACKET_get_1(pkt, &compression)) { in tls_process_server_hello()
1834 if ((SSL_IS_TLS13(s) && !PACKET_get_1(pkt, &context)) in tls_process_server_certificate()
2200 if (!PACKET_get_1(pkt, &curve_type) || !PACKET_get_net_2(pkt, &curve_id)) { in tls_process_ske_ecdhe()
2762 if (!PACKET_get_1(pkt, &type) in tls_process_cert_status_body()
Dextensions_clnt.c1287 if (PACKET_remaining(pkt) != 1 || !PACKET_get_1(pkt, &value)) { in tls_parse_stoc_maxfragmentlen()
1697 || !PACKET_get_1(pkt, &mki) in tls_parse_stoc_use_srtp()
Dstatem_srvr.c1446 if (!PACKET_get_1(pkt, &mt) in tls_process_client_hello()
3259 if (!PACKET_get_1(pkt, &i) || !PACKET_get_bytes(pkt, &data, i) in tls_process_cke_ecdhe()
Dstatem_lib.c637 if (!PACKET_get_1(pkt, &updatetype) in tls_process_key_update()
/third_party/openssl/ssl/record/
Drec_layer_d1.c557 || !PACKET_get_1(&alert, &alert_level) in dtls1_read_bytes()
558 || !PACKET_get_1(&alert, &alert_descr) in dtls1_read_bytes()
Drec_layer_s3.c1493 || !PACKET_get_1(&alert, &alert_level) in ssl3_read_bytes()
1494 || !PACKET_get_1(&alert, &alert_descr) in ssl3_read_bytes()
Dssl3_record.c223 || !PACKET_get_1(&sslv2pkt, &type)) { in ssl3_get_record()
267 if (!PACKET_get_1(&pkt, &type) in ssl3_get_record()