-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Crypto: Adjust CRYPTO_ENGINE_BUF_SIZE in profiles with RSA encryption
If a profile supports RSA encryption/decryption, increase the default size of the CRYPTO_ENGINE_BUF_SIZE to 0x3000 to avoid PSA_ERROR_INSUFFICIENT_MEMORY when calling into Mbed TLS using RSA-2048 keys. Existing value is calibrated for RSA-1024 which is less relevant nowadays from security perspective. Signed-off-by: Antonio de Angelis <[email protected]> Change-Id: I3dc3e1fd26da9d9e69bce5b0b480228e896aa025 (cherry picked from commit c271e4a)
- Loading branch information
Showing
5 changed files
with
19 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters