Adding early exit if the key is not 128, 192 or 256 bit keys.