Make Registry tests compatible with FIPS.

A large number of the registry tests currently fail when run in FIPS mode, as they rely e.g. on non-FIPS key types, registering custom key managers. The tests have been updated, so they can run in FIPS mode now. This includes the following changes:
* Mark the TestKeyManagers as FIPS compatible and create a non-FIPS compatible version for tests which tests for key managers which are not FIPS compatible.
* Skip tests which rely on registering custom key managers directly with the Registry as this API is not available in FIPS mode.
* Skip tests which rely on EAX key managers.
* Skip tests if run in FIPS mode and the FIPS module is not available.

PiperOrigin-RevId: 456276696
Change-Id: I9d1cf4d036fe8dbe6ec196248e01c7d3fc15f4b0
2 files changed