mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-28 16:02:23 +01:00
fasthugemath means turn on fastmath Use sp_int_digit and not sp_digit in sp_int.c. test.c needs to use large static buffer when SP Math used like fastmath. When building static memroy, SP math all without WOLFSSL_SP_NO_MALLOC is a valid configuration. Fix freeing of bigint in sp_int.c. Cast x to a signed value to negate and then back to unsigned. (For Windows builds.) Remove warning about empty file on Windows about integer.obj. Allow RSA verify only and RSA public only to be used with other public key algorithms. If building for FIPS, then older versions of RSA and ECC require SP Math to support negative numbers. Get old FIPS files building with SP int. Disallow --enable-sp-math and --enable-sp-math-all. When just --enable-sp-math on configuration line then disable SP Math all.