mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-29 08:24:11 -04:00
Merge pull request #8917 from gilles-peskine-arm/mbedtls_pk_decrypt-USE_PSA_CRYPTO-changelog-correction
mbedtls_pk_decrypt/encrypt actually check the padding mode
This commit is contained in:
commit
1c191c1317
@ -1,7 +1,8 @@
|
|||||||
Bugfix
|
Bugfix
|
||||||
* Fix mbedtls_pk_sign(), mbedtls_pk_verify(), mbedtls_pk_decrypt() and
|
* 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
|
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
|
the RSA context. Before, if MBEDTLS_USE_PSA_CRYPTO was enabled and the
|
||||||
used PKCS#1 v1.5 even when the RSA context was configured for PKCS#1 v2.1
|
RSA context was configured for PKCS#1 v2.1 (PSS/OAEP), the sign/verify
|
||||||
(PSS/OAEP). Fixes #8824.
|
functions performed a PKCS#1 v1.5 signature instead and the
|
||||||
|
encrypt/decrypt functions returned an error. Fixes #8824.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user