Lines Matching refs:OSSL_RECORD_LAYER

155 An `OSSL_RECORD_LAYER` object represents a specific instantiation of a
158 object will have at least 2 `OSSL_RECORD_LAYER` objects associated with it - one
161 There will be different `OSSL_RECORD_LAYER` objects for different protection
167 A new `OSSL_RECORD_LAYER` is created by calling the `new` function of the
171 the record layer. The internal structure details of an `OSSL_RECORD_LAYER` are
174 `OSSL_RECORD_METHOD`s all use a common `OSSL_RECORD_LAYER` structure. However
201 `OSSL_RECORD_LAYER` object will have to buffer any untransmitted data until it
210 `OSSL_RECORD_LAYER` may read multiple records in one go and buffer them, but the
212 `OSSL_RECORD_LAYER` object owns the buffers for the record that has been read
216 The record data must remain buffered by the `OSSL_RECORD_LAYER` until it has
312 * An OSSL_RECORD_LAYER is just an externally defined opaque pointer created by
315 typedef struct ossl_record_layer_st OSSL_RECORD_LAYER;
368 * Create a new OSSL_RECORD_LAYER object for handling the protocol version
382 * An SSL object will always have at least 2 OSSL_RECORD_LAYER objects in
387 * The created OSSL_RECORD_LAYER object is stored in *ret on success (or
425 OSSL_RECORD_LAYER **ret);
426 int (*free)(OSSL_RECORD_LAYER *rl);
428 int (*reset)(OSSL_RECORD_LAYER *rl); /* Is this needed? */
431 int (*unprocessed_read_pending)(OSSL_RECORD_LAYER *rl);
437 int (*processed_read_pending)(OSSL_RECORD_LAYER *rl);
443 size_t (*app_data_pending)(OSSL_RECORD_LAYER *rl);
458 size_t (*get_max_records)(OSSL_RECORD_LAYER *rl, uint8_t type, size_t len,
481 int (*write_records)(OSSL_RECORD_LAYER *rl, OSSL_RECORD_TEMPLATE *templates,
493 int (*retry_write_records)(OSSL_RECORD_LAYER *rl);
509 int (*read_record)(OSSL_RECORD_LAYER *rl, void **rechandle, int *rversion,
517 int (*release_record)(OSSL_RECORD_LAYER *rl, void *rechandle);
524 int (*get_alert_code)(OSSL_RECORD_LAYER *rl);
530 int (*set1_bio)(OSSL_RECORD_LAYER *rl, BIO *bio);
533 int (*set_protocol_version)(OSSL_RECORD_LAYER *rl, int version);
540 void (*set_plain_alerts)(OSSL_RECORD_LAYER *rl, int allow);
546 void (*set_first_handshake)(OSSL_RECORD_LAYER *rl, int first);
552 void (*set_max_pipelines)(OSSL_RECORD_LAYER *rl, size_t max_pipelines);
558 void (*set_in_init)(OSSL_RECORD_LAYER *rl, int in_init);
563 void (*get_state)(OSSL_RECORD_LAYER *rl, const char **shortstr,
570 int (*set_options)(OSSL_RECORD_LAYER *rl, const OSSL_PARAM *options);
572 const COMP_METHOD *(*get_compression)(OSSL_RECORD_LAYER *rl);
579 void (*set_max_frag_len)(OSSL_RECORD_LAYER *rl, size_t max_frag_len);
585 size_t (*get_max_record_overhead)(OSSL_RECORD_LAYER *rl);
590 int (*increment_sequence_ctr)(OSSL_RECORD_LAYER *rl);
596 int (*alloc_buffers)(OSSL_RECORD_LAYER *rl);
602 int (*free_buffers)(OSSL_RECORD_LAYER *rl);