/openssl/include/internal/ |
H A D | packet.h | 778 #define WPACKET_start_sub_packet_u8(pkt) \ argument 780 #define WPACKET_start_sub_packet_u16(pkt) \ argument 782 #define WPACKET_start_sub_packet_u24(pkt) \ argument 784 #define WPACKET_start_sub_packet_u32(pkt) \ argument 877 #define WPACKET_put_bytes_u8(pkt, val) \ argument 879 #define WPACKET_put_bytes_u16(pkt, val) \ argument 881 #define WPACKET_put_bytes_u24(pkt, val) \ argument 883 #define WPACKET_put_bytes_u32(pkt, val) \ argument 885 #define WPACKET_put_bytes_u64(pkt, val) \ argument 906 #define WPACKET_sub_memcpy_u8(pkt, src, len) \ argument [all …]
|
H A D | packet_quic.h | 22 __owur static ossl_inline int PACKET_get_quic_vlint(PACKET *pkt, in PACKET_get_quic_vlint() 46 __owur static ossl_inline int PACKET_peek_quic_vlint_ex(PACKET *pkt, in PACKET_peek_quic_vlint_ex() 68 __owur static ossl_inline int PACKET_peek_quic_vlint(PACKET *pkt, in PACKET_peek_quic_vlint() 77 __owur static ossl_inline int PACKET_skip_quic_vlint(PACKET *pkt) in PACKET_skip_quic_vlint() 100 __owur static ossl_inline int PACKET_get_quic_length_prefixed(PACKET *pkt, in PACKET_get_quic_length_prefixed()
|
/openssl/crypto/ |
H A D | packet.c | 174 int WPACKET_init(WPACKET *pkt, BUF_MEM *buf) in WPACKET_init() 189 int WPACKET_init_null_der(WPACKET *pkt) in WPACKET_init_null_der() 319 int WPACKET_fill_lengths(WPACKET *pkt) in WPACKET_fill_lengths() 334 int WPACKET_close(WPACKET *pkt) in WPACKET_close() 346 int WPACKET_finish(WPACKET *pkt) in WPACKET_finish() 400 int WPACKET_start_sub_packet(WPACKET *pkt) in WPACKET_start_sub_packet() 497 int WPACKET_get_length(WPACKET *pkt, size_t *len) in WPACKET_get_length() 508 unsigned char *WPACKET_get_curr(WPACKET *pkt) in WPACKET_get_curr() 521 int WPACKET_is_null_buf(WPACKET *pkt) in WPACKET_is_null_buf() 526 void WPACKET_cleanup(WPACKET *pkt) in WPACKET_cleanup() [all …]
|
H A D | der_writer.c | 16 static int int_start_context(WPACKET *pkt, int tag) in int_start_context() 25 static int int_end_context(WPACKET *pkt, int tag) in int_end_context() 51 int ossl_DER_w_precompiled(WPACKET *pkt, int tag, in ossl_DER_w_precompiled() 60 int ossl_DER_w_boolean(WPACKET *pkt, int tag, int b) in ossl_DER_w_boolean() 70 int ossl_DER_w_octet_string(WPACKET *pkt, int tag, in ossl_DER_w_octet_string() 93 static int int_der_w_integer(WPACKET *pkt, int tag, in int_der_w_integer() 128 int ossl_DER_w_uint32(WPACKET *pkt, int tag, uint32_t v) in ossl_DER_w_uint32() 133 static int int_put_bytes_bn(WPACKET *pkt, const void *v, in int_put_bytes_bn() 161 int ossl_DER_w_null(WPACKET *pkt, int tag) in ossl_DER_w_null() 171 int ossl_DER_w_begin_sequence(WPACKET *pkt, int tag) in ossl_DER_w_begin_sequence() [all …]
|
H A D | asn1_dsa.c | 39 int ossl_encode_der_length(WPACKET *pkt, size_t cont_len) in ossl_encode_der_length() 66 int ossl_encode_der_integer(WPACKET *pkt, const BIGNUM *n) in ossl_encode_der_integer() 106 int ossl_encode_der_dsa_sig(WPACKET *pkt, const BIGNUM *r, const BIGNUM *s) in ossl_encode_der_dsa_sig() 155 int ossl_decode_der_length(PACKET *pkt, PACKET *subpkt) in ossl_decode_der_length() 187 int ossl_decode_der_integer(PACKET *pkt, BIGNUM *n) in ossl_decode_der_integer() 237 PACKET pkt, contpkt; in ossl_decode_der_dsa_sig() local
|
/openssl/ssl/quic/ |
H A D | quic_wire.c | 50 int ossl_quic_wire_encode_frame_ping(WPACKET *pkt) in ossl_quic_wire_encode_frame_ping() 55 int ossl_quic_wire_encode_frame_ack(WPACKET *pkt, in ossl_quic_wire_encode_frame_ack() 150 void *ossl_quic_wire_encode_frame_crypto(WPACKET *pkt, in ossl_quic_wire_encode_frame_crypto() 231 void *ossl_quic_wire_encode_frame_stream(WPACKET *pkt, in ossl_quic_wire_encode_frame_stream() 459 static int expect_frame_header_mask(PACKET *pkt, in expect_frame_header_mask() 490 PACKET pkt = *orig_pkt; in ossl_quic_wire_peek_frame_ack_num_ranges() local 517 int ossl_quic_wire_decode_frame_ack(PACKET *pkt, in ossl_quic_wire_decode_frame_ack() 624 int ossl_quic_wire_decode_frame_crypto(PACKET *pkt, in ossl_quic_wire_decode_frame_crypto() 675 int ossl_quic_wire_decode_frame_stream(PACKET *pkt, in ossl_quic_wire_decode_frame_stream() 888 size_t ossl_quic_wire_decode_padding(PACKET *pkt) in ossl_quic_wire_decode_padding() [all …]
|
H A D | quic_trace.c | 76 static int frame_ack(BIO *bio, PACKET *pkt) in frame_ack() 122 static int frame_reset_stream(BIO *bio, PACKET *pkt) in frame_reset_stream() 139 static int frame_stop_sending(BIO *bio, PACKET *pkt) in frame_stop_sending() 154 static int frame_crypto(BIO *bio, PACKET *pkt) in frame_crypto() 167 static int frame_new_token(BIO *bio, PACKET *pkt) in frame_new_token() 244 static int frame_max_data(BIO *bio, PACKET *pkt) in frame_max_data() 271 static int frame_max_streams(BIO *bio, PACKET *pkt) in frame_max_streams() 322 static int frame_new_conn_id(BIO *bio, PACKET *pkt) in frame_new_conn_id() 379 static int frame_conn_closed(BIO *bio, PACKET *pkt) in frame_conn_closed() 395 static int trace_frame_data(BIO *bio, PACKET *pkt) in trace_frame_data() [all …]
|
H A D | quic_rx_depack.c | 37 static int depack_do_frame_padding(PACKET *pkt) in depack_do_frame_padding() 141 static int depack_do_frame_reset_stream(PACKET *pkt, in depack_do_frame_reset_stream() 217 static int depack_do_frame_stop_sending(PACKET *pkt, in depack_do_frame_stop_sending() 726 static int depack_do_frame_max_streams(PACKET *pkt, in depack_do_frame_max_streams() 775 static int depack_do_frame_data_blocked(PACKET *pkt, in depack_do_frame_data_blocked() 873 static int depack_do_frame_new_conn_id(PACKET *pkt, in depack_do_frame_new_conn_id() 892 static int depack_do_frame_retire_conn_id(PACKET *pkt, in depack_do_frame_retire_conn_id() 935 static int depack_do_frame_path_challenge(PACKET *pkt, in depack_do_frame_path_challenge() 990 static int depack_do_frame_path_response(PACKET *pkt, in depack_do_frame_path_response() 1026 static int depack_do_frame_handshake_done(PACKET *pkt, in depack_do_frame_handshake_done() [all …]
|
H A D | quic_fifd.c | 28 QUIC_TXPIM_PKT *pkt, in ossl_quic_fifd_init() 69 QUIC_TXPIM_PKT *pkt = arg; in on_acked() local 125 QUIC_TXPIM_PKT *pkt = arg; in on_lost() local 234 QUIC_TXPIM_PKT *pkt = arg; in on_discarded() local 252 int ossl_quic_fifd_pkt_commit(QUIC_FIFD *fifd, QUIC_TXPIM_PKT *pkt) in ossl_quic_fifd_pkt_commit()
|
H A D | quic_sf_list.c | 17 OSSL_QRX_PKT *pkt; member 30 static STREAM_FRAME *stream_frame_new(UINT_RANGE *range, OSSL_QRX_PKT *pkt, in stream_frame_new() 64 OSSL_QRX_PKT *pkt, in append_frame() 80 OSSL_QRX_PKT *pkt, in ossl_sframe_list_insert()
|
/openssl/test/ |
H A D | quic_wire_test.c | 28 static int encode_case_1_enc(WPACKET *pkt) in encode_case_1_enc() 53 static int encode_case_2_enc(WPACKET *pkt) in encode_case_2_enc() 88 static int encode_case_3_enc(WPACKET *pkt) in encode_case_3_enc() 174 static int encode_case_4_enc(WPACKET *pkt) in encode_case_4_enc() 211 static int encode_case_5_enc(WPACKET *pkt) in encode_case_5_enc() 251 static int encode_case_6_enc(WPACKET *pkt) in encode_case_6_enc() 296 static int encode_case_7_enc(WPACKET *pkt) in encode_case_7_enc() 1229 PACKET pkt; in test_wire_encode() local 1430 PACKET pkt; in test_wire_ack() local 1538 PACKET pkt = {0}; in test_wire_retry_integrity_tag() local [all …]
|
H A D | packettest.c | 19 PACKET pkt; in test_PACKET_remaining() local 34 PACKET pkt; in test_PACKET_end() local 51 PACKET pkt; in test_PACKET_get_1() local 68 PACKET pkt; in test_PACKET_get_4() local 85 PACKET pkt; in test_PACKET_get_net_2() local 102 PACKET pkt; in test_PACKET_get_net_3() local 119 PACKET pkt; in test_PACKET_get_net_4() local 157 PACKET pkt; in test_PACKET_get_bytes() local 181 PACKET pkt; in test_PACKET_copy_bytes() local 205 PACKET pkt; in test_PACKET_copy_all() local [all …]
|
H A D | wpackettest.c | 59 static int cleanup(WPACKET *pkt) in cleanup() 67 WPACKET pkt; in test_WPACKET_init() local 143 WPACKET pkt; in test_WPACKET_set_max_size() local 190 WPACKET pkt; in test_WPACKET_start_sub_packet() local 272 WPACKET pkt; in test_WPACKET_set_flags() local 332 WPACKET pkt; in test_WPACKET_allocate_bytes() local 362 WPACKET pkt; in test_WPACKET_memcpy() local 386 WPACKET pkt; in test_WPACKET_init_der() local 459 WPACKET pkt; in test_WPACKET_quic() local 586 WPACKET pkt; in test_WPACKET_quic_vlint_random() local
|
H A D | quic_fifd_test.c | 38 QUIC_TXPIM_PKT *pkt, void *arg) in regen_frame() 44 QUIC_TXPIM_PKT *pkt, void *arg) in confirm_frame() 86 QUIC_TXPIM_PKT *pkt, void *arg) in regen_expect() 110 QUIC_TXPIM_PKT *pkt = NULL, *pkt2 = NULL; in test_generic() local
|
/openssl/providers/common/der/ |
H A D | der_ecx_key.c | 14 int ossl_DER_w_algorithmIdentifier_X25519(WPACKET *pkt, int cont, ECX_KEY *ec) in ossl_DER_w_algorithmIdentifier_X25519() 23 int ossl_DER_w_algorithmIdentifier_X448(WPACKET *pkt, int cont, ECX_KEY *ec) in ossl_DER_w_algorithmIdentifier_X448() 32 int ossl_DER_w_algorithmIdentifier_ED25519(WPACKET *pkt, int cont, ECX_KEY *ec) in ossl_DER_w_algorithmIdentifier_ED25519() 41 int ossl_DER_w_algorithmIdentifier_ED448(WPACKET *pkt, int cont, ECX_KEY *ec) in ossl_DER_w_algorithmIdentifier_ED448()
|
H A D | der_ec_key.c | 14 int ossl_DER_w_algorithmIdentifier_EC(WPACKET *pkt, int cont, EC_KEY *ec) in ossl_DER_w_algorithmIdentifier_EC()
|
H A D | der_dsa_key.c | 20 int ossl_DER_w_algorithmIdentifier_DSA(WPACKET *pkt, int tag, DSA *dsa) in ossl_DER_w_algorithmIdentifier_DSA()
|
H A D | der_sm2_key.c | 15 int ossl_DER_w_algorithmIdentifier_SM2(WPACKET *pkt, int cont, EC_KEY *ec) in ossl_DER_w_algorithmIdentifier_SM2()
|
H A D | der_rsa_key.c | 247 static int DER_w_MaskGenAlgorithm(WPACKET *pkt, int tag, in DER_w_MaskGenAlgorithm() 283 int ossl_DER_w_RSASSA_PSS_params(WPACKET *pkt, int tag, in ossl_DER_w_RSASSA_PSS_params() 367 int ossl_DER_w_algorithmIdentifier_RSA_PSS(WPACKET *pkt, int tag, in ossl_DER_w_algorithmIdentifier_RSA_PSS() 393 int ossl_DER_w_algorithmIdentifier_RSA(WPACKET *pkt, int tag, RSA *rsa) in ossl_DER_w_algorithmIdentifier_RSA()
|
/openssl/ssl/statem/ |
H A D | extensions_clnt.c | 15 EXT_RETURN tls_construct_ctos_renegotiate(SSL_CONNECTION *s, WPACKET *pkt, in tls_construct_ctos_renegotiate() 113 EXT_RETURN tls_construct_ctos_srp(SSL_CONNECTION *s, WPACKET *pkt, in tls_construct_ctos_srp() 416 EXT_RETURN tls_construct_ctos_npn(SSL_CONNECTION *s, WPACKET *pkt, in tls_construct_ctos_npn() 505 EXT_RETURN tls_construct_ctos_etm(SSL_CONNECTION *s, WPACKET *pkt, in tls_construct_ctos_etm() 1258 int tls_parse_stoc_renegotiate(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_stoc_renegotiate() 1352 int tls_parse_stoc_server_name(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_stoc_server_name() 1381 int tls_parse_stoc_ec_pt_formats(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_stoc_ec_pt_formats() 1717 int tls_parse_stoc_use_srtp(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_stoc_use_srtp() 1830 int tls_parse_stoc_key_share(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_stoc_key_share() 1985 int tls_parse_stoc_early_data(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_stoc_early_data() [all …]
|
H A D | extensions_srvr.c | 41 int tls_parse_ctos_renegotiate(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_renegotiate() 104 int tls_parse_ctos_server_name(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_server_name() 176 int tls_parse_ctos_maxfragmentlen(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_maxfragmentlen() 239 int tls_parse_ctos_ec_pt_formats(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_ec_pt_formats() 263 int tls_parse_ctos_session_ticket(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_session_ticket() 278 int tls_parse_ctos_sig_algs_cert(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_sig_algs_cert() 299 int tls_parse_ctos_sig_algs(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_sig_algs() 319 int tls_parse_ctos_status_request(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_status_request() 479 int tls_parse_ctos_use_srtp(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_use_srtp() 560 int tls_parse_ctos_psk_kex_modes(SSL_CONNECTION *s, PACKET *pkt, in tls_parse_ctos_psk_kex_modes() [all …]
|
H A D | statem_clnt.c | 1080 PACKET *pkt) in ossl_statem_client_process_message() 1965 PACKET *pkt) in tls_process_server_certificate() 2561 PACKET *pkt) in tls_process_certificate_request() 2686 PACKET *pkt) in tls_process_new_session_ticket() 2867 int tls_process_cert_status_body(SSL_CONNECTION *s, PACKET *pkt) in tls_process_cert_status_body() 3063 static int tls_construct_cke_rsa(SSL_CONNECTION *s, WPACKET *pkt) in tls_construct_cke_rsa() 3148 static int tls_construct_cke_dhe(SSL_CONNECTION *s, WPACKET *pkt) in tls_construct_cke_dhe() 3500 static int tls_construct_cke_srp(SSL_CONNECTION *s, WPACKET *pkt) in tls_construct_cke_srp() 3528 WPACKET *pkt) in tls_construct_client_key_exchange() 3757 WPACKET *pkt) in tls_construct_client_certificate() [all …]
|
H A D | statem_srvr.c | 1380 WPACKET *pkt) in dtls_construct_hello_verify_request() 2517 WPACKET *pkt) in tls_construct_server_key_exchange() 2828 WPACKET *pkt) in tls_construct_certificate_request() 2959 static int tls_process_cke_rsa(SSL_CONNECTION *s, PACKET *pkt) in tls_process_cke_rsa() 3056 static int tls_process_cke_dhe(SSL_CONNECTION *s, PACKET *pkt) in tls_process_cke_dhe() 3107 static int tls_process_cke_ecdhe(SSL_CONNECTION *s, PACKET *pkt) in tls_process_cke_ecdhe() 3163 static int tls_process_cke_srp(SSL_CONNECTION *s, PACKET *pkt) in tls_process_cke_srp() 3202 static int tls_process_cke_gost(SSL_CONNECTION *s, PACKET *pkt) in tls_process_cke_gost() 3384 PACKET *pkt) in tls_process_client_key_exchange() 3602 PACKET *pkt) in tls_process_client_certificate() [all …]
|
H A D | statem_lib.c | 125 int tls_close_construct_packet(SSL_CONNECTION *s, WPACKET *pkt, int htype) in tls_close_construct_packet() 310 CON_FUNC_RETURN tls_construct_cert_verify(SSL_CONNECTION *s, WPACKET *pkt) in tls_construct_cert_verify() 609 CON_FUNC_RETURN tls_construct_finished(SSL_CONNECTION *s, WPACKET *pkt) in tls_construct_finished() 691 CON_FUNC_RETURN tls_construct_key_update(SSL_CONNECTION *s, WPACKET *pkt) in tls_construct_key_update() 778 PACKET *pkt) in tls_process_change_cipher_spec() 833 MSG_PROCESS_RETURN tls_process_finished(SSL_CONNECTION *s, PACKET *pkt) in tls_process_finished() 966 static int ssl_add_cert_to_wpacket(SSL_CONNECTION *s, WPACKET *pkt, in ssl_add_cert_to_wpacket() 1384 unsigned long ssl3_output_cert_chain(SSL_CONNECTION *s, WPACKET *pkt, in ssl3_output_cert_chain() 2661 int parse_ca_names(SSL_CONNECTION *s, PACKET *pkt) in parse_ca_names() 2733 WPACKET *pkt) in construct_ca_names() [all …]
|
/openssl/fuzz/ |
H A D | quic-rcidm.c | 62 static int get_cid(PACKET *pkt, QUIC_CONN_ID *cid) in get_cid() 79 PACKET pkt; in FuzzerTestOneInput() local
|