mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-08 17:42:09 +03:00
Merge pull request #8826 from valeriosetti/issue8824
RSA keys set to PSS/OAEP padding perform PKCS1v1.5 when MBEDTLS_USE_PSA_CRYPTO is enabled
This commit is contained in:
7
ChangeLog.d/8824.txt
Normal file
7
ChangeLog.d/8824.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
Bugfix
|
||||
* Fix mbedtls_pk_sign(), mbedtls_pk_verify(), mbedtls_pk_decrypt() and
|
||||
mbedtls_pk_encrypt() on non-opaque RSA keys to honor the padding mode in
|
||||
the RSA context. Before, if MBEDTLS_USE_PSA_CRYPTO was enabled, they always
|
||||
used PKCS#1 v1.5 even when the RSA context was configured for PKCS#1 v2.1
|
||||
(PSS/OAEP). Fixes #8824.
|
||||
|
Reference in New Issue
Block a user