mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-26 16:12:24 +01:00
1. Added some bounds checking on the ciphertext passed into the RSA decrypt function. NIST SP 800-56B specifies that the ciphertext shouldn't be a number larger than the modulus. 2. Added an API test to check that the direct RSA decrypt function returns an error with a "bad" message. 3. Added an ifndef guard to disable the bounds check. Default is to keep the bounds check. 4. RSA Decrypt bounds check only checked the first time into wc_RsaFunction().
Before creating any new configure files (.conf) read the CONF_FILES_README.md