Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't truncate the input when decrypting in pkeyutl
The pkeyutl app was truncating the input file for decryption leading to incorrect results. This was probably ok historically when RSA was being used for decryption which has short maximum sizes. This is not ok with SM2. Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from #21272) (cherry picked from commit 8494507)
- Loading branch information