forked from wolfSSL/wolfssl
SP int: ensure declaration of sp_ints are with valid values
Move declaration of sp_ints until after checks of valid parameters. In particular, whether used field of input/s are valid. Pull implementations of algorithms out into separate functions as a pattern to fix.
This commit is contained in: