Home
last modified time | relevance | path

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

/openssl/crypto/
H A 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()
H A 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()
H A Dpunycode.c301 if (!WPACKET_put_bytes_u8(&pkt, '.')) in ossl_a2ulabel()
307 if (!WPACKET_put_bytes_u8(&pkt, '\0')) in ossl_a2ulabel()
H A Dpacket.c306 if (!WPACKET_put_bytes_u8(pkt, numlenbytes)) in wpacket_intern_close()
/openssl/test/
H A Dwpackettest.c73 || !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff)) in test_WPACKET_init()
90 || !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff)) in test_WPACKET_init()
98 || !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff)) in test_WPACKET_init()
122 || !TEST_false(WPACKET_put_bytes_u8(&pkt, 0xff)) in test_WPACKET_init()
132 || !TEST_false(WPACKET_put_bytes_u8(&pkt, 0xff)) in test_WPACKET_init()
178 || !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff)) in test_WPACKET_set_max_size()
196 || !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff)) in test_WPACKET_start_sub_packet()
211 || !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff)) in test_WPACKET_start_sub_packet()
221 || !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff)) in test_WPACKET_start_sub_packet()
223 || !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff)) in test_WPACKET_start_sub_packet()
[all …]
H A Dpunycode_test.c257 if (i > 1 && !TEST_true(WPACKET_put_bytes_u8(&p, '.'))) in test_dotted_overflow()
262 if (!TEST_true(WPACKET_put_bytes_u8(&p, '\0'))) in test_dotted_overflow()
H A Dquic_multistream_test.c3245 if (!TEST_true(WPACKET_put_bytes_u8(&wpkt, 0x42))) in script_32_inject_plain()
3470 || !TEST_true(WPACKET_put_bytes_u8(&wpkt, new_cid.id_len))) /* len */ in script_39_inject_plain()
3474 if (!TEST_true(WPACKET_put_bytes_u8(&wpkt, new_cid.id[i]))) in script_39_inject_plain()
3478 if (!TEST_true(WPACKET_put_bytes_u8(&wpkt, 0x55))) in script_39_inject_plain()
3482 if (!TEST_true(WPACKET_put_bytes_u8(&wpkt, 0x42))) in script_39_inject_plain()
3696 || !TEST_true(WPACKET_put_bytes_u8(&wpkt, 0x42))) in script_42_inject_plain()
4196 if (!TEST_true(WPACKET_put_bytes_u8(&wpkt, 0x42))) in script_53_inject_plain()
4349 if (!TEST_true(WPACKET_put_bytes_u8(&wpkt, 0x40)) in script_58_inject_plain()
4350 || !TEST_true(WPACKET_put_bytes_u8(&wpkt, 0x1E))) in script_58_inject_plain()
/openssl/ssl/quic/
H A Dquic_wire_pkt.c503 if (!WPACKET_put_bytes_u8(pkt, b0) in ossl_quic_wire_encode_pkt_hdr()
547 if (!WPACKET_put_bytes_u8(pkt, b0) in ossl_quic_wire_encode_pkt_hdr()
549 || !WPACKET_put_bytes_u8(pkt, hdr->dst_conn_id.id_len) in ossl_quic_wire_encode_pkt_hdr()
552 || !WPACKET_put_bytes_u8(pkt, hdr->src_conn_id.id_len) in ossl_quic_wire_encode_pkt_hdr()
876 if (!WPACKET_put_bytes_u8(&wpkt, client_initial_dcid->id_len) in ossl_quic_calculate_retry_integrity_tag()
H A Dquic_wire.c329 || !WPACKET_put_bytes_u8(pkt, f->conn_id.id_len) in ossl_quic_wire_encode_frame_new_conn_id()
/openssl/ssl/record/methods/
H A Dtls13_meth.c172 || !WPACKET_put_bytes_u8(&wpkt, rec->type) in tls13_cipher()
334 if (!WPACKET_put_bytes_u8(thispkt, thistempl->type)) { in tls13_add_record_padding()
H A Ddtls_meth.c706 if (!WPACKET_put_bytes_u8(thispkt, rectype) in dtls_prepare_record_header()
H A Dtls_common.c1615 if (!WPACKET_put_bytes_u8(thispkt, rectype) in tls_prepare_record_header_default()
/openssl/ssl/
H A Ds3_lib.c3373 if (!WPACKET_put_bytes_u8(pkt, htype) in ssl3_set_handshake_header()
4448 if (!WPACKET_put_bytes_u8(pkt, TLS_CT_GOST01_SIGN) in ssl3_get_req_cert_type()
4449 || !WPACKET_put_bytes_u8(pkt, TLS_CT_GOST12_IANA_SIGN) in ssl3_get_req_cert_type()
4450 || !WPACKET_put_bytes_u8(pkt, TLS_CT_GOST12_IANA_512_SIGN) in ssl3_get_req_cert_type()
4451 || !WPACKET_put_bytes_u8(pkt, TLS_CT_GOST12_LEGACY_SIGN) in ssl3_get_req_cert_type()
4452 || !WPACKET_put_bytes_u8(pkt, TLS_CT_GOST12_LEGACY_512_SIGN)) in ssl3_get_req_cert_type()
4456 if (!WPACKET_put_bytes_u8(pkt, TLS_CT_GOST12_IANA_SIGN) in ssl3_get_req_cert_type()
4457 || !WPACKET_put_bytes_u8(pkt, TLS_CT_GOST12_IANA_512_SIGN)) in ssl3_get_req_cert_type()
4462 if (!WPACKET_put_bytes_u8(pkt, SSL3_CT_RSA_EPHEMERAL_DH)) in ssl3_get_req_cert_type()
4465 && !WPACKET_put_bytes_u8(pkt, SSL3_CT_DSS_EPHEMERAL_DH)) in ssl3_get_req_cert_type()
[all …]
H A Dd1_lib.c687 || !WPACKET_put_bytes_u8(&wpkt, SSL3_RT_HANDSHAKE) in DTLSv1_listen()
697 || !WPACKET_put_bytes_u8(&wpkt, in DTLSv1_listen()
H A Dssl_cert_comp.c212 if (!WPACKET_put_bytes_u8(&tmppkt, 0)) in ssl_get_cert_to_compress()
/openssl/ssl/statem/
H A Dextensions_srvr.c871 if (!WPACKET_put_bytes_u8(&hrrpkt, SSL3_MT_SERVER_HELLO) in tls_parse_ctos_cookie()
879 || !WPACKET_put_bytes_u8(&hrrpkt, 0) in tls_parse_ctos_cookie()
1347 || !WPACKET_put_bytes_u8(pkt, s->session->ext.max_fragment_len_mode) in tls_construct_stoc_maxfragmentlen()
1563 || !WPACKET_put_bytes_u8(pkt, 0) in tls_construct_stoc_use_srtp()
1809 || !WPACKET_put_bytes_u8(pkt, s->s3.peer_tmp == NULL) in tls_construct_stoc_cookie()
2013 || !WPACKET_put_bytes_u8(pkt, sc->ext.client_cert_type) in tls_construct_stoc_client_cert_type()
2094 || !WPACKET_put_bytes_u8(pkt, sc->ext.server_cert_type) in tls_construct_stoc_server_cert_type()
H A Dextensions_clnt.c40 || !WPACKET_put_bytes_u8(pkt, 0) in tls_construct_ctos_renegotiate()
75 || !WPACKET_put_bytes_u8(pkt, TLSEXT_NAMETYPE_host_name) in tls_construct_ctos_server_name()
103 || !WPACKET_put_bytes_u8(pkt, s->ext.max_fragment_len_mode) in tls_construct_ctos_maxfragmentlen()
367 || !WPACKET_put_bytes_u8(pkt, TLSEXT_STATUSTYPE_ocsp) in tls_construct_ctos_status_request()
495 || !WPACKET_put_bytes_u8(pkt, 0) in tls_construct_ctos_use_srtp()
612 || !WPACKET_put_bytes_u8(pkt, TLSEXT_KEX_MODE_KE_DHE) in tls_construct_ctos_psk_kex_modes()
613 || (nodhe && !WPACKET_put_bytes_u8(pkt, TLSEXT_KEX_MODE_KE)) in tls_construct_ctos_psk_kex_modes()
H A Dstatem_srvr.c2466 || !WPACKET_put_bytes_u8(pkt, compm)) { in tls_construct_server_hello()
2745 if (!WPACKET_put_bytes_u8(pkt, NAMED_CURVE_TYPE) in tls_construct_server_key_exchange()
2746 || !WPACKET_put_bytes_u8(pkt, 0) in tls_construct_server_key_exchange()
2747 || !WPACKET_put_bytes_u8(pkt, curve_id) in tls_construct_server_key_exchange()
2853 if (!WPACKET_put_bytes_u8(pkt, 0)) { in tls_construct_certificate_request()
3829 if (SSL_CONNECTION_IS_TLS13(s) && !WPACKET_put_bytes_u8(pkt, 0)) { in tls_construct_server_certificate()
4310 if (!WPACKET_put_bytes_u8(pkt, s->ext.status_type) in tls_construct_cert_status_body()
H A Dstatem_clnt.c1330 if (!WPACKET_put_bytes_u8(pkt, comp->id)) { in tls_construct_client_hello()
1338 if (!WPACKET_put_bytes_u8(pkt, 0) || !WPACKET_close(pkt)) { in tls_construct_client_hello()
3342 if (!WPACKET_put_bytes_u8(pkt, V_ASN1_SEQUENCE | V_ASN1_CONSTRUCTED) in tls_construct_cke_gost()
3343 || (msglen >= 0x80 && !WPACKET_put_bytes_u8(pkt, 0x81)) in tls_construct_cke_gost()
3765 if (!WPACKET_put_bytes_u8(pkt, 0)) { in tls_construct_client_certificate()
3839 if (!WPACKET_put_bytes_u8(&tmppkt, 0)) in tls_construct_client_compressed_certificate()
H A Dstatem_lib.c693 if (!WPACKET_put_bytes_u8(pkt, s->key_update)) { in tls_construct_key_update()
957 if (!WPACKET_put_bytes_u8(pkt, SSL3_MT_CCS)) { in tls_construct_change_cipher_spec()
H A Dstatem_dtls.c1321 if (!WPACKET_put_bytes_u8(pkt, SSL3_MT_CCS)) in dtls1_set_handshake_header()
/openssl/include/internal/
H A Dpacket.h877 #define WPACKET_put_bytes_u8(pkt, val) \ macro

Completed in 171 milliseconds