Home
last modified time | relevance | path

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

/third_party/openssl/crypto/
Dasn1_dsa.c159 if (!PACKET_get_1(pkt, &byte)) in ossl_decode_der_length()
193 if (!PACKET_get_1(pkt, &tag) in ossl_decode_der_integer()
201 if (!PACKET_get_1(&tmppkt, &tmp) in ossl_decode_der_integer()
206 if (!PACKET_get_1(&tmppkt, &tmp) in ossl_decode_der_integer()
241 || !PACKET_get_1(&pkt, &tag) in ossl_decode_der_dsa_sig()
/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.c131 if (!PACKET_get_1(&pkt, &u) || u != SSL3_RT_HANDSHAKE) in validate_client_hello()
141 if (!PACKET_get_1(&pkt, &u) || u != SSL3_MT_CLIENT_HELLO) in validate_client_hello()
174 if (!PACKET_get_1(&pkt, &u) || !PACKET_forward(&pkt, u)) in validate_client_hello()
408 if (!PACKET_get_1(&pkt, &u) || u != SSL3_RT_CHANGE_CIPHER_SPEC) in validate_ccs()
418 if (!PACKET_get_1(&pkt, &u) || u != SSL3_MT_CCS) in validate_ccs()
426 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.c82 || !TEST_true(PACKET_get_1(&pkt4, &servname_type)) in get_sni_from_client_hello()
Dsslapitest.c6695 || !TEST_true(PACKET_get_1(&pkt3, &MFL_code))) in get_MFL_from_client_hello()
/third_party/openssl/include/internal/
Dpacket.h301 __owur static ossl_inline int PACKET_get_1(PACKET *pkt, unsigned int *data) in PACKET_get_1() function
315 int ret = PACKET_get_1(pkt, &i); in PACKET_get_1_len()
520 if (!PACKET_get_1(&tmp, &length) || in PACKET_get_length_prefixed_1()
542 if (!PACKET_get_1(&tmp, &length) || in PACKET_as_length_prefixed_1()
/third_party/openssl/ssl/statem/
Dextensions_srvr.c48 if (!PACKET_get_1(pkt, &ilen) in tls_parse_ctos_renegotiate()
118 if (!PACKET_get_1(&sni, &servname_type) in tls_parse_ctos_server_name()
171 if (PACKET_remaining(pkt) != 1 || !PACKET_get_1(pkt, &value)) { in tls_parse_ctos_maxfragmentlen()
314 if (!PACKET_get_1(pkt, (unsigned int *)&s->ext.status_type)) { in tls_parse_ctos_status_request()
511 if (!PACKET_get_1(pkt, &mki_len)) { in tls_parse_ctos_use_srtp()
553 while (PACKET_get_1(&psk_kex_modes, &mode)) { in tls_parse_ctos_psk_kex_modes()
800 if (!PACKET_get_1(&cookie, &key_share) in tls_parse_ctos_cookie()
Dstatem_clnt.c1434 if (!PACKET_get_1(pkt, &compression)) { in tls_process_server_hello()
1786 if ((SSL_IS_TLS13(s) && !PACKET_get_1(pkt, &context)) in tls_process_server_certificate()
2131 if (!PACKET_get_1(pkt, &curve_type) || !PACKET_get_net_2(pkt, &curve_id)) { in tls_process_ske_ecdhe()
2637 if (!PACKET_get_1(pkt, &type) in tls_process_cert_status_body()
Dextensions_clnt.c1262 if (PACKET_remaining(pkt) != 1 || !PACKET_get_1(pkt, &value)) { in tls_parse_stoc_maxfragmentlen()
1639 || !PACKET_get_1(pkt, &mki) in tls_parse_stoc_use_srtp()
Dstatem_srvr.c1435 if (!PACKET_get_1(pkt, &mt) in tls_process_client_hello()
3026 if (!PACKET_get_1(pkt, &i) || !PACKET_get_bytes(pkt, &data, i) in tls_process_cke_ecdhe()
Dstatem_lib.c665 if (!PACKET_get_1(pkt, &updatetype) in tls_process_key_update()
/third_party/openssl/ssl/
Dd1_lib.c543 if (!PACKET_get_1(&pkt, &rectype) in DTLSv1_listen()
544 || !PACKET_get_1(&pkt, &versmajor)) { in DTLSv1_listen()
586 if (!PACKET_get_1(&msgpkt, &msgtype) in DTLSv1_listen()
Dssl_lib.c5623 if (!PACKET_get_1(&sslv2ciphers, &leadbyte) in ssl_cache_cipherlist()
/third_party/openssl/ssl/record/
Drec_layer_d1.c559 || !PACKET_get_1(&alert, &alert_level) in dtls1_read_bytes()
560 || !PACKET_get_1(&alert, &alert_descr) in dtls1_read_bytes()
Drec_layer_s3.c1553 || !PACKET_get_1(&alert, &alert_level) in ssl3_read_bytes()
1554 || !PACKET_get_1(&alert, &alert_descr) in ssl3_read_bytes()
Dssl3_record.c246 || !PACKET_get_1(&sslv2pkt, &type)) { in ssl3_get_record()
285 if (!PACKET_get_1(&pkt, &type) in ssl3_get_record()