Set flags in ECDH and ECDSA methods for FIPS.