History log of /openbsd-current/lib/libssl/ssl_transcript.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.9 26-Nov-2022 tb

Make internal header file names consistent

Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names
used for internal headers. Move all these headers we inherited from
OpenSSL to *_local.h, reserving the name *_internal.h for our own code.
Similarly, move dtls_locl.h and ssl_locl.h to dtls_local and ssl_local.h.
constant_time_locl.h is moved to constant_time.h since it's special.

Adjust all .c files in libcrypto, libssl and regress.

The diff is mechanical with the exception of tls13_quic.c, where
#include <ssl_locl.h> was fixed manually.

discussed with jsing,
no objection bcook


Revision tags: OPENBSD_7_2_BASE
# 1.8 22-Jul-2022 jsing

Convert TLS transcript from BUF_MEM to tls_buffer.

ok beck@ tb@


Revision tags: OPENBSD_7_1_BASE
# 1.7 17-Mar-2022 jsing

Remove const from tls1_transcript_hash_value()

This function populates the passed *out argument, hence it should not be
marked const.

ok tb@


# 1.6 05-Feb-2022 jsing

Bye bye S3I.

S3I has served us well, however now that libssl is fully opaque it is time
to say goodbye. Aside from removing the calloc/free/memset, the rest is
mechanical sed.

ok inoguchi@ tb@


Revision tags: OPENBSD_7_0_BASE
# 1.5 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.


# 1.4 02-May-2021 jsing

Ensure that handshake hash is non-NULL in tls1_transcript_hash_value().

There are several paths where a subtle bug could result in
tls1_transcript_hash_value() being called with a NULL handshake hash - add
an explicit check for this case. As noted by tb@, due to the wonders of
the libcrypto EVP APIs, combined with integer promotion, we already have
a NULL check - this one is just more obvious.

ok tb@


# 1.3 23-Apr-2021 tb

whitespace


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.2 05-Feb-2020 jsing

Provide tls1_transcript_unfreeze() to avoid the need for manual flags
mangling.

ok tb@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.1 09-Feb-2019 jsing

Rename the file that contains the transcript handling code.

ok inoguchi@ tb@


# 1.8 22-Jul-2022 jsing

Convert TLS transcript from BUF_MEM to tls_buffer.

ok beck@ tb@


Revision tags: OPENBSD_7_1_BASE
# 1.7 17-Mar-2022 jsing

Remove const from tls1_transcript_hash_value()

This function populates the passed *out argument, hence it should not be
marked const.

ok tb@


# 1.6 05-Feb-2022 jsing

Bye bye S3I.

S3I has served us well, however now that libssl is fully opaque it is time
to say goodbye. Aside from removing the calloc/free/memset, the rest is
mechanical sed.

ok inoguchi@ tb@


Revision tags: OPENBSD_7_0_BASE
# 1.5 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.


# 1.4 02-May-2021 jsing

Ensure that handshake hash is non-NULL in tls1_transcript_hash_value().

There are several paths where a subtle bug could result in
tls1_transcript_hash_value() being called with a NULL handshake hash - add
an explicit check for this case. As noted by tb@, due to the wonders of
the libcrypto EVP APIs, combined with integer promotion, we already have
a NULL check - this one is just more obvious.

ok tb@


# 1.3 23-Apr-2021 tb

whitespace


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.2 05-Feb-2020 jsing

Provide tls1_transcript_unfreeze() to avoid the need for manual flags
mangling.

ok tb@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.1 09-Feb-2019 jsing

Rename the file that contains the transcript handling code.

ok inoguchi@ tb@


# 1.7 17-Mar-2022 jsing

Remove const from tls1_transcript_hash_value()

This function populates the passed *out argument, hence it should not be
marked const.

ok tb@


# 1.6 05-Feb-2022 jsing

Bye bye S3I.

S3I has served us well, however now that libssl is fully opaque it is time
to say goodbye. Aside from removing the calloc/free/memset, the rest is
mechanical sed.

ok inoguchi@ tb@


Revision tags: OPENBSD_7_0_BASE
# 1.5 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.


# 1.4 02-May-2021 jsing

Ensure that handshake hash is non-NULL in tls1_transcript_hash_value().

There are several paths where a subtle bug could result in
tls1_transcript_hash_value() being called with a NULL handshake hash - add
an explicit check for this case. As noted by tb@, due to the wonders of
the libcrypto EVP APIs, combined with integer promotion, we already have
a NULL check - this one is just more obvious.

ok tb@


# 1.3 23-Apr-2021 tb

whitespace


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.2 05-Feb-2020 jsing

Provide tls1_transcript_unfreeze() to avoid the need for manual flags
mangling.

ok tb@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.1 09-Feb-2019 jsing

Rename the file that contains the transcript handling code.

ok inoguchi@ tb@


# 1.6 05-Feb-2022 jsing

Bye bye S3I.

S3I has served us well, however now that libssl is fully opaque it is time
to say goodbye. Aside from removing the calloc/free/memset, the rest is
mechanical sed.

ok inoguchi@ tb@


Revision tags: OPENBSD_7_0_BASE
# 1.5 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.


# 1.4 02-May-2021 jsing

Ensure that handshake hash is non-NULL in tls1_transcript_hash_value().

There are several paths where a subtle bug could result in
tls1_transcript_hash_value() being called with a NULL handshake hash - add
an explicit check for this case. As noted by tb@, due to the wonders of
the libcrypto EVP APIs, combined with integer promotion, we already have
a NULL check - this one is just more obvious.

ok tb@


# 1.3 23-Apr-2021 tb

whitespace


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.2 05-Feb-2020 jsing

Provide tls1_transcript_unfreeze() to avoid the need for manual flags
mangling.

ok tb@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.1 09-Feb-2019 jsing

Rename the file that contains the transcript handling code.

ok inoguchi@ tb@


# 1.5 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.


# 1.4 02-May-2021 jsing

Ensure that handshake hash is non-NULL in tls1_transcript_hash_value().

There are several paths where a subtle bug could result in
tls1_transcript_hash_value() being called with a NULL handshake hash - add
an explicit check for this case. As noted by tb@, due to the wonders of
the libcrypto EVP APIs, combined with integer promotion, we already have
a NULL check - this one is just more obvious.

ok tb@


# 1.3 23-Apr-2021 tb

whitespace


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.2 05-Feb-2020 jsing

Provide tls1_transcript_unfreeze() to avoid the need for manual flags
mangling.

ok tb@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.1 09-Feb-2019 jsing

Rename the file that contains the transcript handling code.

ok inoguchi@ tb@


# 1.4 02-May-2021 jsing

Ensure that handshake hash is non-NULL in tls1_transcript_hash_value().

There are several paths where a subtle bug could result in
tls1_transcript_hash_value() being called with a NULL handshake hash - add
an explicit check for this case. As noted by tb@, due to the wonders of
the libcrypto EVP APIs, combined with integer promotion, we already have
a NULL check - this one is just more obvious.

ok tb@


# 1.3 23-Apr-2021 tb

whitespace


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.2 05-Feb-2020 jsing

Provide tls1_transcript_unfreeze() to avoid the need for manual flags
mangling.

ok tb@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.1 09-Feb-2019 jsing

Rename the file that contains the transcript handling code.

ok inoguchi@ tb@


# 1.3 23-Apr-2021 tb

whitespace


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.2 05-Feb-2020 jsing

Provide tls1_transcript_unfreeze() to avoid the need for manual flags
mangling.

ok tb@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.1 09-Feb-2019 jsing

Rename the file that contains the transcript handling code.

ok inoguchi@ tb@


# 1.2 05-Feb-2020 jsing

Provide tls1_transcript_unfreeze() to avoid the need for manual flags
mangling.

ok tb@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.1 09-Feb-2019 jsing

Rename the file that contains the transcript handling code.

ok inoguchi@ tb@