A key schedule is an algorithm that , given the key , calculates the subkeys for these rounds .
A key schedule is an algorithm that , given the key , calculates the subkeys for these `` rounds '' .