Skip to content

Comments

Check the encryption growth in tls1_enc#19710

Closed
bernd-edlinger wants to merge 4 commits intoopenssl:OpenSSL_1_1_1-stablefrom
bernd-edlinger:check_the_encryption_growth_in_tls1_enc
Closed

Check the encryption growth in tls1_enc#19710
bernd-edlinger wants to merge 4 commits intoopenssl:OpenSSL_1_1_1-stablefrom
bernd-edlinger:check_the_encryption_growth_in_tls1_enc

Conversation

@bernd-edlinger
Copy link
Member

This adds a new parameter to the enc functions,
that is optional, and if given can be used to prevent buffer overflows due to excessive padding before they happen. A minimum space reservation of 16 bytes is assumed to be available without checking.
Additionally this fixes a bug, that prevented DTLS to use aes_cbc_hmac_sha1 and aes_cbc_hmac_sha256.

@bernd-edlinger bernd-edlinger added the branch: 1.1.1 Applies to OpenSSL_1_1_1-stable branch (EOL) label Nov 18, 2022
@t8m
Copy link
Member

t8m commented Nov 18, 2022

This is IMO outside of scope for 1.1.1.

@t8m t8m added the triaged: refactor The issue/pr requests/implements refactoring label Nov 18, 2022
bernd-edlinger and others added 3 commits January 19, 2023 18:57
This adds a new parameter to the enc functions,
that is optional, and if given can be used to prevent
buffer overflows due to excessive padding before they happen.
A minimum space reservation of 16 bytes is assumed to
be available without checking.
Additionally this fixes a bug, that prevented DTLS
to use aes_cbc_hmac_sha1 and aes_cbc_hmac_sha256.
Test that sending large app data records works correctly.
@bernd-edlinger bernd-edlinger force-pushed the check_the_encryption_growth_in_tls1_enc branch from 83d2651 to d90a225 Compare January 19, 2023 18:17
@t8m t8m closed this Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

branch: 1.1.1 Applies to OpenSSL_1_1_1-stable branch (EOL) triaged: refactor The issue/pr requests/implements refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants