/openssl/ssl/record/methods/ |
H A D | recmethod_local.h | 130 int (*get_more_records)(OSSL_RECORD_LAYER *rl); 178 int (*add_record_padding)(OSSL_RECORD_LAYER *rl, 413 int tls_alloc_buffers(OSSL_RECORD_LAYER *rl); 414 int tls_free_buffers(OSSL_RECORD_LAYER *rl); 418 int tls_get_more_records(OSSL_RECORD_LAYER *rl); 419 int dtls_get_more_records(OSSL_RECORD_LAYER *rl); 448 int tls_free(OSSL_RECORD_LAYER *rl); 451 size_t tls_app_data_pending(OSSL_RECORD_LAYER *rl); 457 int tls_get_alert_code(OSSL_RECORD_LAYER *rl); 458 int tls_set1_bio(OSSL_RECORD_LAYER *rl, BIO *bio); [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() 415 OSSL_RECORD_LAYER **retrl) in ktls_new_record_layer() 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() 545 static int ktls_alloc_buffers(OSSL_RECORD_LAYER *rl) in ktls_alloc_buffers() [all …]
|
H A D | tls_common.c | 24 static void tls_int_free(OSSL_RECORD_LAYER *rl); 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() 1398 OSSL_RECORD_LAYER **retrl) in tls_new_record_layer() 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() 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 | 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() 637 OSSL_RECORD_LAYER **retrl) in dtls_new_record_layer() 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 | 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 | 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 | 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()
|
/openssl/include/internal/ |
H A D | recordmethod.h | 37 typedef struct ossl_record_layer_st OSSL_RECORD_LAYER; typedef 151 OSSL_RECORD_LAYER **ret); 152 int (*free)(OSSL_RECORD_LAYER *rl); 161 int (*processed_read_pending)(OSSL_RECORD_LAYER *rl); 167 size_t (*app_data_pending)(OSSL_RECORD_LAYER *rl); 217 int (*retry_write_records)(OSSL_RECORD_LAYER *rl); 250 int (*get_alert_code)(OSSL_RECORD_LAYER *rl); 256 int (*set1_bio)(OSSL_RECORD_LAYER *rl, BIO *bio); 316 int (*increment_sequence_ctr)(OSSL_RECORD_LAYER *rl); 322 int (*alloc_buffers)(OSSL_RECORD_LAYER *rl); [all …]
|
/openssl/ssl/quic/ |
H A D | quic_tls.c | 87 static int quic_set1_bio(OSSL_RECORD_LAYER *rl, BIO *bio); 88 static int quic_free(OSSL_RECORD_LAYER *r); 103 OSSL_RECORD_LAYER **retrl) in quic_new_record_layer() 105 OSSL_RECORD_LAYER *rl = OPENSSL_zalloc(sizeof(*rl)); in quic_new_record_layer() 197 static int quic_free(OSSL_RECORD_LAYER *rl) in quic_free() 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() [all …]
|
/openssl/doc/designs/quic-design/ |
H A D | record-layer.md | 315 typedef struct ossl_record_layer_st OSSL_RECORD_LAYER; 425 OSSL_RECORD_LAYER **ret); 426 int (*free)(OSSL_RECORD_LAYER *rl); 437 int (*processed_read_pending)(OSSL_RECORD_LAYER *rl); 443 size_t (*app_data_pending)(OSSL_RECORD_LAYER *rl); 493 int (*retry_write_records)(OSSL_RECORD_LAYER *rl); 524 int (*get_alert_code)(OSSL_RECORD_LAYER *rl); 530 int (*set1_bio)(OSSL_RECORD_LAYER *rl, BIO *bio); 590 int (*increment_sequence_ctr)(OSSL_RECORD_LAYER *rl); 596 int (*alloc_buffers)(OSSL_RECORD_LAYER *rl); [all …]
|
/openssl/ssl/record/ |
H A D | record.h | 84 OSSL_RECORD_LAYER *rrl; 86 OSSL_RECORD_LAYER *wrl;
|
H A D | rec_layer_s3.c | 1206 OSSL_RECORD_LAYER *thisrl; in ssl_post_record_layer_select() 1248 OSSL_RECORD_LAYER **thisrl, *newrl = NULL; in ssl_set_new_record_layer()
|
/openssl/test/ |
H A D | sslbuffertest.c | 49 OSSL_RECORD_LAYER *rrl = sc->rlayer.rrl; in checkbuffers() 50 OSSL_RECORD_LAYER *wrl = sc->rlayer.wrl; in checkbuffers()
|
H A D | tls13encryptiontest.c | 316 OSSL_RECORD_LAYER *rrl = NULL, *wrl = NULL; in test_tls13_encryption()
|
/openssl/ssl/ |
H A D | ssl_local.h | 1872 OSSL_RECORD_LAYER *wrl;
|