[openssl/openssl] f35fc4: Fix kbkdf bug if MAC is set to KMAC and then somet...
Pauli
noreply at github.com
Wed Jul 17 04:17:00 UTC 2024
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: f35fc4f184fa8a2088cd16648c4017fa321d6712
https://github.com/openssl/openssl/commit/f35fc4f184fa8a2088cd16648c4017fa321d6712
Author: Pauli <ppzgs1 at gmail.com>
Date: 2024-07-17 (Wed, 17 Jul 2024)
Changed paths:
M providers/implementations/kdfs/kbkdf.c
Log Message:
-----------
Fix kbkdf bug if MAC is set to KMAC and then something else
A context that is set to KMAC sets the is_kmac flag and this cannot be reset.
So a user that does kbkdf using KMAC and then wants to use HMAC or CMAC will
experience a failure.
Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24883)
Commit: 90c3db9e6a2bfbc1086d6d4b90d4fc7c7e565b93
https://github.com/openssl/openssl/commit/90c3db9e6a2bfbc1086d6d4b90d4fc7c7e565b93
Author: Pauli <ppzgs1 at gmail.com>
Date: 2024-07-17 (Wed, 17 Jul 2024)
Changed paths:
M test/evp_kdf_test.c
Log Message:
-----------
Unit test for switching from KMAC to other MAC in kbkdf.
Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24883)
Compare: https://github.com/openssl/openssl/compare/4ac531ddcb78...90c3db9e6a2b
To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications
More information about the openssl-commits
mailing list