Consolidated testing variables for has_rsa and has_ecdsa into has_crypto.