[openssl/openssl] 68055d: When changing IV length invalidate previously set IV
Tomáš Mráz
noreply at github.com
Thu Nov 23 16:11:20 UTC 2023
Branch: refs/heads/openssl-3.0
Home: https://github.com/openssl/openssl
Commit: 68055d010738e8a34d9eead71ef08eb1e8875ce4
https://github.com/openssl/openssl/commit/68055d010738e8a34d9eead71ef08eb1e8875ce4
Author: Tomas Mraz <tomas at openssl.org>
Date: 2023-11-23 (Thu, 23 Nov 2023)
Changed paths:
M providers/implementations/ciphers/cipher_aes_ocb.c
M providers/implementations/ciphers/ciphercommon_ccm.c
M providers/implementations/ciphers/ciphercommon_gcm.c
Log Message:
-----------
When changing IV length invalidate previously set IV
Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(cherry picked from commit eddbb78f4e5196eee33b2fd3d6adeabb69d52eb7)
Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
(Merged from https://github.com/openssl/openssl/pull/22613)
(cherry picked from commit 38595b9a6ad5a752214322ecb8a17be38b4e4b0b)
Commit: 9cda00baa322b84de3261b610033c4c0e0cb0808
https://github.com/openssl/openssl/commit/9cda00baa322b84de3261b610033c4c0e0cb0808
Author: Tomas Mraz <tomas at openssl.org>
Date: 2023-11-23 (Thu, 23 Nov 2023)
Changed paths:
M providers/implementations/ciphers/cipher_des.c
M providers/implementations/ciphers/cipher_tdes_common.c
M providers/implementations/ciphers/ciphercommon.c
M providers/implementations/include/prov/ciphercommon.h
Log Message:
-----------
update/final: Return error if key is not set
Also make sure the key is not set if the key
length is changed on the context after the key was
set previously.
Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(cherry picked from commit 3a95d1e41abf2e8eb0f6f07003bac844950bfaae)
Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
(Merged from https://github.com/openssl/openssl/pull/22613)
(cherry picked from commit 29f7a75ce39b4061bd0398f571aa45b883ef5f07)
Commit: 179643863595a5cb608759cdc8d47d702e5b31c7
https://github.com/openssl/openssl/commit/179643863595a5cb608759cdc8d47d702e5b31c7
Author: Tomas Mraz <tomas at openssl.org>
Date: 2023-11-23 (Thu, 23 Nov 2023)
Changed paths:
M test/evp_extra_test.c
Log Message:
-----------
Add negative test for iv length change
Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(cherry picked from commit 82750a0826cd4728f40df9ef31b3294d83aaafe0)
Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
(Merged from https://github.com/openssl/openssl/pull/22613)
(cherry picked from commit 21c20bceb5af3cd1152e6b93595d928b1a16f649)
Commit: 48fe8d4e53d5572ff77215e3336a1c71b0b4517b
https://github.com/openssl/openssl/commit/48fe8d4e53d5572ff77215e3336a1c71b0b4517b
Author: Tomas Mraz <tomas at openssl.org>
Date: 2023-11-23 (Thu, 23 Nov 2023)
Changed paths:
M test/evp_extra_test.c
Log Message:
-----------
Add negative test for key length change
Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(cherry picked from commit 1aa08644ecd4005c0f55276b2e8dabd8a2a758f0)
Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
(Merged from https://github.com/openssl/openssl/pull/22613)
(cherry picked from commit 4b5215998142c70a0e8f1a72d6fc06b6e3d69a5c)
Compare: https://github.com/openssl/openssl/compare/199bc0b1334f...48fe8d4e53d5
More information about the openssl-commits
mailing list