/openssl/ssl/record/methods/ |
H A D | tls_common.c | 113 static int tls_allow_compression(OSSL_RECORD_LAYER *rl) in tls_allow_compression() 229 int tls_setup_read_buffer(OSSL_RECORD_LAYER *rl) in tls_setup_read_buffer() 543 int tls_get_more_records(OSSL_RECORD_LAYER *rl) in tls_get_more_records() 1444 static void tls_int_free(OSSL_RECORD_LAYER *rl) in tls_int_free() 1469 int tls_free(OSSL_RECORD_LAYER *rl) in tls_free() 1503 size_t tls_app_data_pending(OSSL_RECORD_LAYER *rl) in tls_app_data_pending() 1906 int tls_retry_write_records(OSSL_RECORD_LAYER *rl) in tls_retry_write_records() 1986 int tls_get_alert_code(OSSL_RECORD_LAYER *rl) in tls_get_alert_code() 1991 int tls_set1_bio(OSSL_RECORD_LAYER *rl, BIO *bio) in tls_set1_bio() 2095 int tls_alloc_buffers(OSSL_RECORD_LAYER *rl) in tls_alloc_buffers() [all …]
|
H A D | tlsany_meth.c | 17 static int tls_any_set_crypto_state(OSSL_RECORD_LAYER *rl, int level, in tls_any_set_crypto_state() 37 static int tls_any_cipher(OSSL_RECORD_LAYER *rl, TLS_RL_RECORD *recs, in tls_any_cipher() 44 static int tls_validate_record_header(OSSL_RECORD_LAYER *rl, TLS_RL_RECORD *rec) in tls_validate_record_header() 130 static int tls_any_set_protocol_version(OSSL_RECORD_LAYER *rl, int vers) in tls_any_set_protocol_version() 139 static int tls_any_prepare_for_encryption(OSSL_RECORD_LAYER *rl, in tls_any_prepare_for_encryption() 169 static int dtls_any_set_protocol_version(OSSL_RECORD_LAYER *rl, int vers) in dtls_any_set_protocol_version()
|
H A D | dtls_meth.c | 40 static int dtls_record_replay_check(OSSL_RECORD_LAYER *rl, DTLS_BITMAP *bitmap) in dtls_record_replay_check() 61 static void dtls_record_bitmap_update(OSSL_RECORD_LAYER *rl, in dtls_record_bitmap_update() 103 static void dtls_set_in_init(OSSL_RECORD_LAYER *rl, int in_init) in dtls_set_in_init() 108 static int dtls_process_record(OSSL_RECORD_LAYER *rl, DTLS_BITMAP *bitmap) in dtls_process_record() 331 static int dtls_copy_rlayer_record(OSSL_RECORD_LAYER *rl, pitem *item) in dtls_copy_rlayer_record() 350 static int dtls_retrieve_rlayer_buffered_record(OSSL_RECORD_LAYER *rl, in dtls_retrieve_rlayer_buffered_record() 377 int dtls_get_more_records(OSSL_RECORD_LAYER *rl) in dtls_get_more_records() 578 static int dtls_free(OSSL_RECORD_LAYER *rl) in dtls_free() 692 int dtls_prepare_record_header(OSSL_RECORD_LAYER *rl, in dtls_prepare_record_header() 723 int dtls_post_encryption_processing(OSSL_RECORD_LAYER *rl, in dtls_post_encryption_processing() [all …]
|
H A D | ktls_meth.c | 29 static int ktls_int_check_supported_cipher(OSSL_RECORD_LAYER *rl, in ktls_int_check_supported_cipher() 129 static int ktls_int_check_supported_cipher(OSSL_RECORD_LAYER *rl, in ktls_int_check_supported_cipher() 289 static int ktls_set_crypto_state(OSSL_RECORD_LAYER *rl, int level, in ktls_set_crypto_state() 446 static int ktls_allocate_write_buffers(OSSL_RECORD_LAYER *rl, in ktls_allocate_write_buffers() 462 static int ktls_initialise_write_packets(OSSL_RECORD_LAYER *rl, in ktls_initialise_write_packets() 492 static int ktls_prepare_record_header(OSSL_RECORD_LAYER *rl, in ktls_prepare_record_header() 504 static int ktls_prepare_for_encryption(OSSL_RECORD_LAYER *rl, in ktls_prepare_for_encryption() 513 static int ktls_post_encryption_processing(OSSL_RECORD_LAYER *rl, in ktls_post_encryption_processing() 523 static int ktls_prepare_write_bio(OSSL_RECORD_LAYER *rl, int type) in ktls_prepare_write_bio() 545 static int ktls_alloc_buffers(OSSL_RECORD_LAYER *rl) in ktls_alloc_buffers() [all …]
|
H A D | tls_multib.c | 23 static int tls_is_multiblock_capable(OSSL_RECORD_LAYER *rl, uint8_t type, in tls_is_multiblock_capable() 41 size_t tls_get_max_records_multiblock(OSSL_RECORD_LAYER *rl, uint8_t type, in tls_get_max_records_multiblock() 65 static int tls_write_records_multiblock_int(OSSL_RECORD_LAYER *rl, in tls_write_records_multiblock_int() 167 int tls_write_records_multiblock(OSSL_RECORD_LAYER *rl, in tls_write_records_multiblock()
|
H A D | tls13_meth.c | 16 static int tls13_set_crypto_state(OSSL_RECORD_LAYER *rl, int level, in tls13_set_crypto_state() 85 static int tls13_cipher(OSSL_RECORD_LAYER *rl, TLS_RL_RECORD *recs, in tls13_cipher() 251 static int tls13_validate_record_header(OSSL_RECORD_LAYER *rl, in tls13_validate_record_header() 275 static int tls13_post_process_record(OSSL_RECORD_LAYER *rl, TLS_RL_RECORD *rec) in tls13_post_process_record() 309 static uint8_t tls13_get_record_type(OSSL_RECORD_LAYER *rl, in tls13_get_record_type() 323 static int tls13_add_record_padding(OSSL_RECORD_LAYER *rl, in tls13_add_record_padding()
|
H A D | tls1_meth.c | 19 static int tls1_set_crypto_state(OSSL_RECORD_LAYER *rl, int level, in tls1_set_crypto_state() 167 static int tls1_cipher(OSSL_RECORD_LAYER *rl, TLS_RL_RECORD *recs, in tls1_cipher() 464 static int tls1_mac(OSSL_RECORD_LAYER *rl, TLS_RL_RECORD *rec, unsigned char *md, in tls1_mac() 578 int tls1_allocate_write_buffers(OSSL_RECORD_LAYER *rl, in tls1_allocate_write_buffers() 600 int tls1_initialise_write_packets(OSSL_RECORD_LAYER *rl, in tls1_initialise_write_packets()
|
H A D | ssl3_meth.c | 17 static int ssl3_set_crypto_state(OSSL_RECORD_LAYER *rl, int level, in ssl3_set_crypto_state() 95 static int ssl3_cipher(OSSL_RECORD_LAYER *rl, TLS_RL_RECORD *inrecs, in ssl3_cipher() 218 static int ssl3_mac(OSSL_RECORD_LAYER *rl, TLS_RL_RECORD *rec, unsigned char *md, in ssl3_mac()
|
H A D | recmethod_local.h | 392 #define RLAYERfatal(rl, al, r) RLAYERfatal_data((rl), (al), (r), NULL) argument 398 #define RLAYER_USE_EXPLICIT_IV(rl) ((rl)->version == TLS1_1_VERSION \ argument
|
/openssl/ssl/quic/ |
H A D | quic_tls.c | 15 #define QUIC_TLS_FATAL(rl, ad, err) \ argument 105 OSSL_RECORD_LAYER *rl = OPENSSL_zalloc(sizeof(*rl)); in quic_new_record_layer() local 197 static int quic_free(OSSL_RECORD_LAYER *rl) in quic_free() 216 static int quic_processed_read_pending(OSSL_RECORD_LAYER *rl) in quic_processed_read_pending() 241 static int quic_write_records(OSSL_RECORD_LAYER *rl, in quic_write_records() 355 static int quic_retry_write_records(OSSL_RECORD_LAYER *rl) in quic_retry_write_records() 441 static int quic_get_alert_code(OSSL_RECORD_LAYER *rl) in quic_get_alert_code() 515 static int quic_alloc_buffers(OSSL_RECORD_LAYER *rl) in quic_alloc_buffers() 524 static int quic_free_buffers(OSSL_RECORD_LAYER *rl) in quic_free_buffers() 533 static int quic_set1_bio(OSSL_RECORD_LAYER *rl, BIO *bio) in quic_set1_bio() [all …]
|
/openssl/ssl/record/ |
H A D | rec_layer_d1.c | 19 int DTLS_RECORD_LAYER_new(RECORD_LAYER *rl) in DTLS_RECORD_LAYER_new() 39 void DTLS_RECORD_LAYER_free(RECORD_LAYER *rl) in DTLS_RECORD_LAYER_free() 50 void DTLS_RECORD_LAYER_clear(RECORD_LAYER *rl) in DTLS_RECORD_LAYER_clear()
|
H A D | rec_layer_s3.c | 26 void RECORD_LAYER_init(RECORD_LAYER *rl, SSL_CONNECTION *s) in RECORD_LAYER_init() 31 int RECORD_LAYER_clear(RECORD_LAYER *rl) in RECORD_LAYER_clear() 72 int RECORD_LAYER_reset(RECORD_LAYER *rl) in RECORD_LAYER_reset() 100 int RECORD_LAYER_read_pending(const RECORD_LAYER *rl) in RECORD_LAYER_read_pending() 106 int RECORD_LAYER_processed_read_pending(const RECORD_LAYER *rl) in RECORD_LAYER_processed_read_pending() 112 int RECORD_LAYER_write_pending(const RECORD_LAYER *rl) in RECORD_LAYER_write_pending() 1121 int RECORD_LAYER_is_sslv2_record(RECORD_LAYER *rl) in RECORD_LAYER_is_sslv2_record()
|
H A D | record.h | 134 #define RECORD_LAYER_set_read_ahead(rl, ra) ((rl)->read_ahead = (ra)) argument 135 #define RECORD_LAYER_get_read_ahead(rl) ((rl)->read_ahead) argument
|
/openssl/crypto/asn1/ |
H A D | asn1_lib.c | 116 static int asn1_get_length(const unsigned char **pp, int *inf, long *rl, in asn1_get_length()
|
/openssl/ssl/ |
H A D | ssl_lib.c | 6830 RECORD_LAYER *rl; in SSL_free_buffers() local 6844 RECORD_LAYER *rl; in SSL_alloc_buffers() local
|