Home
last modified time | relevance | path

Searched refs:WPACKET_put_bytes_u8 (Results 1 – 15 of 15) sorted by relevance

/third_party/openssl/test/
Dwpackettest.c45 || !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff)) in test_WPACKET_init()
62 || !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff)) in test_WPACKET_init()
70 || !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff)) in test_WPACKET_init()
83 if (!TEST_int_eq(WPACKET_put_bytes_u8(&pkt, 0xff), i < 256)) in test_WPACKET_init()
94 || !TEST_false(WPACKET_put_bytes_u8(&pkt, 0xff)) in test_WPACKET_init()
104 || !TEST_false(WPACKET_put_bytes_u8(&pkt, 0xff)) in test_WPACKET_init()
147 || !TEST_false(WPACKET_put_bytes_u8(&pkt, 0xff)) in test_WPACKET_set_max_size()
150 || !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff)) in test_WPACKET_set_max_size()
151 || !TEST_false(WPACKET_put_bytes_u8(&pkt, 0xff)) in test_WPACKET_set_max_size()
168 || !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff)) in test_WPACKET_start_sub_packet()
[all …]
/third_party/openssl/crypto/
Dder_writer.c48 && (size1 == size2 || WPACKET_put_bytes_u8(pkt, tag)); in int_end_context()
64 && (!b || WPACKET_put_bytes_u8(pkt, 0xFF)) in ossl_DER_w_boolean()
66 && !WPACKET_put_bytes_u8(pkt, DER_P_BOOLEAN) in ossl_DER_w_boolean()
77 && WPACKET_put_bytes_u8(pkt, DER_P_OCTET_STRING) in ossl_DER_w_octet_string()
103 && ((top_byte & 0x80) == 0 || WPACKET_put_bytes_u8(pkt, 0)) in int_der_w_integer()
105 && WPACKET_put_bytes_u8(pkt, DER_P_INTEGER) in int_der_w_integer()
166 && WPACKET_put_bytes_u8(pkt, DER_P_NULL) in ossl_DER_w_null()
197 : WPACKET_put_bytes_u8(pkt, DER_F_CONSTRUCTED | DER_P_SEQUENCE)) in ossl_DER_w_end_sequence()
Dasn1_dsa.c45 if (!WPACKET_put_bytes_u8(pkt, 0x82) in ossl_encode_der_length()
50 && !WPACKET_put_bytes_u8(pkt, 0x81)) in ossl_encode_der_length()
52 if (!WPACKET_put_bytes_u8(pkt, cont_len)) in ossl_encode_der_length()
86 || !WPACKET_put_bytes_u8(pkt, ID_INTEGER) in ossl_encode_der_integer()
135 if (!WPACKET_put_bytes_u8(pkt, ID_SEQUENCE) in ossl_encode_der_dsa_sig()
Dpacket.c281 if (!WPACKET_put_bytes_u8(pkt, numlenbytes)) in wpacket_intern_close()
/third_party/openssl/ssl/
Ds3_lib.c3318 if (!WPACKET_put_bytes_u8(pkt, htype) in ssl3_set_handshake_header()
4339 if (!WPACKET_put_bytes_u8(pkt, TLS_CT_GOST01_SIGN) in ssl3_get_req_cert_type()
4340 || !WPACKET_put_bytes_u8(pkt, TLS_CT_GOST12_IANA_SIGN) in ssl3_get_req_cert_type()
4341 || !WPACKET_put_bytes_u8(pkt, TLS_CT_GOST12_IANA_512_SIGN) in ssl3_get_req_cert_type()
4342 || !WPACKET_put_bytes_u8(pkt, TLS_CT_GOST12_LEGACY_SIGN) in ssl3_get_req_cert_type()
4343 || !WPACKET_put_bytes_u8(pkt, TLS_CT_GOST12_LEGACY_512_SIGN)) in ssl3_get_req_cert_type()
4347 if (!WPACKET_put_bytes_u8(pkt, TLS_CT_GOST12_IANA_SIGN) in ssl3_get_req_cert_type()
4348 || !WPACKET_put_bytes_u8(pkt, TLS_CT_GOST12_IANA_512_SIGN)) in ssl3_get_req_cert_type()
4353 if (!WPACKET_put_bytes_u8(pkt, SSL3_CT_RSA_EPHEMERAL_DH)) in ssl3_get_req_cert_type()
4356 && !WPACKET_put_bytes_u8(pkt, SSL3_CT_DSS_EPHEMERAL_DH)) in ssl3_get_req_cert_type()
[all …]
Dd1_lib.c713 || !WPACKET_put_bytes_u8(&wpkt, SSL3_RT_HANDSHAKE) in DTLSv1_listen()
723 || !WPACKET_put_bytes_u8(&wpkt, in DTLSv1_listen()
/third_party/openssl/ssl/record/
Dssl3_record_tls13.c156 || !WPACKET_put_bytes_u8(&wpkt, rec->type) in tls13_enc()
Drec_layer_s3.c909 && (!WPACKET_put_bytes_u8(thispkt, rectype) in do_ssl3_write()
958 if (!WPACKET_put_bytes_u8(thispkt, type)) { in do_ssl3_write()
/third_party/openssl/ssl/statem/
Dextensions_clnt.c48 || !WPACKET_put_bytes_u8(pkt, TLSEXT_NAMETYPE_host_name) in tls_construct_ctos_server_name()
76 || !WPACKET_put_bytes_u8(pkt, s->ext.max_fragment_len_mode) in tls_construct_ctos_maxfragmentlen()
338 || !WPACKET_put_bytes_u8(pkt, TLSEXT_STATUSTYPE_ocsp) in tls_construct_ctos_status_request()
462 || !WPACKET_put_bytes_u8(pkt, 0) in tls_construct_ctos_use_srtp()
576 || !WPACKET_put_bytes_u8(pkt, TLSEXT_KEX_MODE_KE_DHE) in tls_construct_ctos_psk_kex_modes()
577 || (nodhe && !WPACKET_put_bytes_u8(pkt, TLSEXT_KEX_MODE_KE)) in tls_construct_ctos_psk_kex_modes()
Dextensions_srvr.c832 if (!WPACKET_put_bytes_u8(&hrrpkt, SSL3_MT_SERVER_HELLO) in tls_parse_ctos_cookie()
840 || !WPACKET_put_bytes_u8(&hrrpkt, 0) in tls_parse_ctos_cookie()
1299 || !WPACKET_put_bytes_u8(pkt, s->session->ext.max_fragment_len_mode) in tls_construct_stoc_maxfragmentlen()
1513 || !WPACKET_put_bytes_u8(pkt, 0) in tls_construct_stoc_use_srtp()
1749 || !WPACKET_put_bytes_u8(pkt, s->s3.peer_tmp == NULL) in tls_construct_stoc_cookie()
Dstatem_srvr.c2371 || !WPACKET_put_bytes_u8(pkt, compm)) { in tls_construct_server_hello()
2646 if (!WPACKET_put_bytes_u8(pkt, NAMED_CURVE_TYPE) in tls_construct_server_key_exchange()
2647 || !WPACKET_put_bytes_u8(pkt, 0) in tls_construct_server_key_exchange()
2648 || !WPACKET_put_bytes_u8(pkt, curve_id) in tls_construct_server_key_exchange()
2753 if (!WPACKET_put_bytes_u8(pkt, 0)) { in tls_construct_certificate_request()
3609 if (SSL_IS_TLS13(s) && !WPACKET_put_bytes_u8(pkt, 0)) { in tls_construct_server_certificate()
4041 if (!WPACKET_put_bytes_u8(pkt, s->ext.status_type) in tls_construct_cert_status_body()
Dstatem_clnt.c1256 if (!WPACKET_put_bytes_u8(pkt, comp->id)) { in tls_construct_client_hello()
1264 if (!WPACKET_put_bytes_u8(pkt, 0) || !WPACKET_close(pkt)) { in tls_construct_client_hello()
3098 if (!WPACKET_put_bytes_u8(pkt, V_ASN1_SEQUENCE | V_ASN1_CONSTRUCTED) in tls_construct_cke_gost()
3099 || (msglen >= 0x80 && !WPACKET_put_bytes_u8(pkt, 0x81)) in tls_construct_cke_gost()
3506 if (!WPACKET_put_bytes_u8(pkt, 0)) { in tls_construct_client_certificate()
Dstatem_lib.c643 if (!WPACKET_put_bytes_u8(pkt, s->key_update)) { in tls_construct_key_update()
887 if (!WPACKET_put_bytes_u8(pkt, SSL3_MT_CCS)) { in tls_construct_change_cipher_spec()
Dstatem_dtls.c1326 if (!WPACKET_put_bytes_u8(pkt, SSL3_MT_CCS)) in dtls1_set_handshake_header()
/third_party/openssl/include/internal/
Dpacket.h875 #define WPACKET_put_bytes_u8(pkt, val) \ macro