#
1.10 |
|
22-Jul-2022 |
jsing |
Add read and write support to tls_buffer.
tls_buffer was original created for a specific use case, namely reading in length prefixed messages. This adds read and write support, along with a capacity limit, allowing it to be used in additional use cases.
ok beck@ tb@
|
Revision tags: OPENBSD_7_1_BASE
|
#
1.9 |
|
23-Oct-2021 |
jsing |
Rename tls13_buffer to tls_buffer.
This code will soon be used in the DTLSv1.2 and TLSv1.2 stack. Also introduce tls_internal.h and move/rename the read/write/flush callbacks.
ok beck@ tb@
|
Revision tags: OPENBSD_7_0_BASE
|
#
1.8 |
|
16-May-2021 |
jsing |
Avoid pulling ssl_locl.h into self-contained code.
|
#
1.7 |
|
16-May-2021 |
jsing |
Make local header inclusion consistent.
Consistently include local headers in the same location, using the same grouping/sorting across all files.
|
Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE
|
#
1.6 |
|
11-May-2020 |
jsing |
Propagate record overflows to the record layer and alert.
ok beck@ tb@
|
#
1.5 |
|
11-May-2020 |
jsing |
Add record version checks.
When legacy version is below TLSv1.2 ensure that the record version is SSL3/TLS, however when the legacy version is set to TLSv1.2 require this specifically.
ok beck@ tb@
|
Revision tags: OPENBSD_6_7_BASE
|
#
1.4 |
|
15-Feb-2020 |
jsing |
Remove #include that is not needed.
|
Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.3 |
|
21-Jan-2019 |
jsing |
Store the record version and make it available for use.
While here correct an int vs size_t mismatch.
ok tb@
|
#
1.2 |
|
20-Jan-2019 |
jsing |
Provide a way to get just the record header.
Also check record size limits when reading records and setting data.
ok tb@
|
#
1.1 |
|
19-Jan-2019 |
jsing |
Provide a TLS record handling implementation.
This is a self-contained struct and set of functions that knows how to decode and read a TLS record from data supplied via a read callback, and send itself via a write callback.
This will soon be used to build the TLSv1.3 record layer handling code.
ok beck@ tb@
|
#
1.9 |
|
23-Oct-2021 |
jsing |
Rename tls13_buffer to tls_buffer.
This code will soon be used in the DTLSv1.2 and TLSv1.2 stack. Also introduce tls_internal.h and move/rename the read/write/flush callbacks.
ok beck@ tb@
|
Revision tags: OPENBSD_7_0_BASE
|
#
1.8 |
|
16-May-2021 |
jsing |
Avoid pulling ssl_locl.h into self-contained code.
|
#
1.7 |
|
16-May-2021 |
jsing |
Make local header inclusion consistent.
Consistently include local headers in the same location, using the same grouping/sorting across all files.
|
Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE
|
#
1.6 |
|
11-May-2020 |
jsing |
Propagate record overflows to the record layer and alert.
ok beck@ tb@
|
#
1.5 |
|
11-May-2020 |
jsing |
Add record version checks.
When legacy version is below TLSv1.2 ensure that the record version is SSL3/TLS, however when the legacy version is set to TLSv1.2 require this specifically.
ok beck@ tb@
|
Revision tags: OPENBSD_6_7_BASE
|
#
1.4 |
|
15-Feb-2020 |
jsing |
Remove #include that is not needed.
|
Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.3 |
|
21-Jan-2019 |
jsing |
Store the record version and make it available for use.
While here correct an int vs size_t mismatch.
ok tb@
|
#
1.2 |
|
20-Jan-2019 |
jsing |
Provide a way to get just the record header.
Also check record size limits when reading records and setting data.
ok tb@
|
#
1.1 |
|
19-Jan-2019 |
jsing |
Provide a TLS record handling implementation.
This is a self-contained struct and set of functions that knows how to decode and read a TLS record from data supplied via a read callback, and send itself via a write callback.
This will soon be used to build the TLSv1.3 record layer handling code.
ok beck@ tb@
|
#
1.8 |
|
16-May-2021 |
jsing |
Avoid pulling ssl_locl.h into self-contained code.
|
#
1.7 |
|
16-May-2021 |
jsing |
Make local header inclusion consistent.
Consistently include local headers in the same location, using the same grouping/sorting across all files.
|
Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE
|
#
1.6 |
|
11-May-2020 |
jsing |
Propagate record overflows to the record layer and alert.
ok beck@ tb@
|
#
1.5 |
|
11-May-2020 |
jsing |
Add record version checks.
When legacy version is below TLSv1.2 ensure that the record version is SSL3/TLS, however when the legacy version is set to TLSv1.2 require this specifically.
ok beck@ tb@
|
Revision tags: OPENBSD_6_7_BASE
|
#
1.4 |
|
15-Feb-2020 |
jsing |
Remove #include that is not needed.
|
Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.3 |
|
21-Jan-2019 |
jsing |
Store the record version and make it available for use.
While here correct an int vs size_t mismatch.
ok tb@
|
#
1.2 |
|
20-Jan-2019 |
jsing |
Provide a way to get just the record header.
Also check record size limits when reading records and setting data.
ok tb@
|
#
1.1 |
|
19-Jan-2019 |
jsing |
Provide a TLS record handling implementation.
This is a self-contained struct and set of functions that knows how to decode and read a TLS record from data supplied via a read callback, and send itself via a write callback.
This will soon be used to build the TLSv1.3 record layer handling code.
ok beck@ tb@
|
#
1.6 |
|
11-May-2020 |
jsing |
Propagate record overflows to the record layer and alert.
ok beck@ tb@
|
#
1.5 |
|
11-May-2020 |
jsing |
Add record version checks.
When legacy version is below TLSv1.2 ensure that the record version is SSL3/TLS, however when the legacy version is set to TLSv1.2 require this specifically.
ok beck@ tb@
|
Revision tags: OPENBSD_6_7_BASE
|
#
1.4 |
|
15-Feb-2020 |
jsing |
Remove #include that is not needed.
|
Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.3 |
|
21-Jan-2019 |
jsing |
Store the record version and make it available for use.
While here correct an int vs size_t mismatch.
ok tb@
|
#
1.2 |
|
20-Jan-2019 |
jsing |
Provide a way to get just the record header.
Also check record size limits when reading records and setting data.
ok tb@
|
#
1.1 |
|
19-Jan-2019 |
jsing |
Provide a TLS record handling implementation.
This is a self-contained struct and set of functions that knows how to decode and read a TLS record from data supplied via a read callback, and send itself via a write callback.
This will soon be used to build the TLSv1.3 record layer handling code.
ok beck@ tb@
|
#
1.4 |
|
15-Feb-2020 |
jsing |
Remove #include that is not needed.
|
Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.3 |
|
21-Jan-2019 |
jsing |
Store the record version and make it available for use.
While here correct an int vs size_t mismatch.
ok tb@
|
#
1.2 |
|
20-Jan-2019 |
jsing |
Provide a way to get just the record header.
Also check record size limits when reading records and setting data.
ok tb@
|
#
1.1 |
|
19-Jan-2019 |
jsing |
Provide a TLS record handling implementation.
This is a self-contained struct and set of functions that knows how to decode and read a TLS record from data supplied via a read callback, and send itself via a write callback.
This will soon be used to build the TLSv1.3 record layer handling code.
ok beck@ tb@
|
#
1.3 |
|
21-Jan-2019 |
jsing |
Store the record version and make it available for use.
While here correct an int vs size_t mismatch.
ok tb@
|
#
1.2 |
|
20-Jan-2019 |
jsing |
Provide a way to get just the record header.
Also check record size limits when reading records and setting data.
ok tb@
|
#
1.1 |
|
19-Jan-2019 |
jsing |
Provide a TLS record handling implementation.
This is a self-contained struct and set of functions that knows how to decode and read a TLS record from data supplied via a read callback, and send itself via a write callback.
This will soon be used to build the TLSv1.3 record layer handling code.
ok beck@ tb@
|