fips: Run digest&sign self tests for RSA and ECC in FIPS mode.
* cipher/ecc.c (selftest_hash_sign): Implement digest & sign KAT (selftests_ecdsa): Run the original basic test only with extended tests (run_selftests): Pass-through the extended argument * cipher/rsa.c (selftest_hash_sign_2048): Implement digest & sign KAT (selftests_rsa): Run the original basic test only with extended tests (run_selftests): Pass-through the extended argument
Cherry-picked from master commit:
1fc7bfc351ba1d7fa31c0c62a24ad78e9e1cfd5b
- Signed-off-by: Jakub Jelen <jjelen@redhat.com>