tls_unprocessed_read_pending,
tls_processed_read_pending,
tls_app_data_pending,
- tls_write_pending,
- tls_get_max_record_len,
tls_get_max_records,
tls_write_records,
tls_retry_write_records,
tls_unprocessed_read_pending,
tls_processed_read_pending,
tls_app_data_pending,
- tls_write_pending,
- tls_get_max_record_len,
tls_get_max_records,
tls_write_records,
tls_retry_write_records,
int tls_unprocessed_read_pending(OSSL_RECORD_LAYER *rl);
int tls_processed_read_pending(OSSL_RECORD_LAYER *rl);
size_t tls_app_data_pending(OSSL_RECORD_LAYER *rl);
-int tls_write_pending(OSSL_RECORD_LAYER *rl);
-size_t tls_get_max_record_len(OSSL_RECORD_LAYER *rl);
size_t tls_get_max_records(OSSL_RECORD_LAYER *rl, int type, size_t len,
size_t maxfrag, size_t *preffrag);
int tls_write_records(OSSL_RECORD_LAYER *rl, OSSL_RECORD_TEMPLATE *templates,
return num;
}
-int tls_write_pending(OSSL_RECORD_LAYER *rl)
-{
- return 0;
-}
-
-size_t tls_get_max_record_len(OSSL_RECORD_LAYER *rl)
-{
- return 0;
-}
-
size_t tls_get_max_records_default(OSSL_RECORD_LAYER *rl, int type, size_t len,
size_t maxfrag, size_t *preffrag)
{
tls_unprocessed_read_pending,
tls_processed_read_pending,
tls_app_data_pending,
- tls_write_pending,
- tls_get_max_record_len,
tls_get_max_records,
tls_write_records,
tls_retry_write_records,
*/
size_t (*app_data_pending)(OSSL_RECORD_LAYER *rl);
- int (*write_pending)(OSSL_RECORD_LAYER *rl);
-
- /*
- * Find out the maximum amount of plaintext data that the record layer is
- * prepared to write in a single record. When calling write_records it is
- * the caller's responsibility to ensure that no record template exceeds
- * this maximum when calling write_records.
- */
- size_t (*get_max_record_len)(OSSL_RECORD_LAYER *rl);
-
/*
* Find out the maximum number of records that the record layer is prepared
* to process in a single call to write_records. It is the caller's