The key space is the set of all possible keys for a given encryption scheme.